Commit b7b5fcfd authored by Hans-Christian Ebke's avatar Hans-Christian Ebke
Browse files

Plugin-PropertyVis: Fixed segfault when skinweights are disabled.


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16878 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 7ed3d178
...@@ -83,7 +83,11 @@ const PropertyNameListModel::TypeInfoWrapper PropertyNameListModel::prop_types[] ...@@ -83,7 +83,11 @@ const PropertyNameListModel::TypeInfoWrapper PropertyNameListModel::prop_types[]
#endif #endif
}; };
#ifdef ENABLE_SKELETON_SUPPORT
const PropertyNameListModel::TYPE_INFO_SET PropertyNameListModel::sane_prop_types(prop_types, prop_types + 7); const PropertyNameListModel::TYPE_INFO_SET PropertyNameListModel::sane_prop_types(prop_types, prop_types + 7);
#else
const PropertyNameListModel::TYPE_INFO_SET PropertyNameListModel::sane_prop_types(prop_types, prop_types + 6);
#endif
const char *PropertyNameListModel::entity2str(ENTITY_FILTER entity) { const char *PropertyNameListModel::entity2str(ENTITY_FILTER entity) {
switch (entity) { switch (entity) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment