Commit bed93511 authored by Hans-Christian Ebke's avatar Hans-Christian Ebke

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 eb04a412
......@@ -83,7 +83,11 @@ const PropertyNameListModel::TypeInfoWrapper PropertyNameListModel::prop_types[]
#endif
};
#ifdef ENABLE_SKELETON_SUPPORT
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) {
switch (entity) {
......
Markdown is supported
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