Correct select-similar end value

This commit is contained in:
Campbell Barton 2017-06-01 19:41:19 +10:00
parent 8cf5eaa2ba
commit 3c703df327
1 changed files with 1 additions and 1 deletions

View File

@ -1169,7 +1169,7 @@ static EnumPropertyItem *select_similar_type_itemf(bContext *C, PointerRNA *UNUS
#ifdef WITH_FREESTYLE
const int a_end = SIMFACE_FREESTYLE;
#else
const int a_end = SIMFACE_SMOOTH;
const int a_end = SIMFACE_FACEMAP;
#endif
for (a = SIMFACE_MATERIAL; a <= a_end; a++) {
RNA_enum_items_add_value(&item, &totitem, prop_similar_types, a);