Correct select-similar end value
This commit is contained in:
parent
8cf5eaa2ba
commit
3c703df327
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue