Fix "Select Similar" faces when building without freestyle
Most options for select similar faces weren't displayed.
This commit is contained in:
@@ -1316,7 +1316,7 @@ static const EnumPropertyItem *select_similar_type_itemf(bContext *C,
|
||||
#ifdef WITH_FREESTYLE
|
||||
const int a_end = SIMFACE_FREESTYLE;
|
||||
#else
|
||||
const int a_end = SIMFACE_MATERIAL;
|
||||
const int a_end = SIMFACE_SMOOTH;
|
||||
#endif
|
||||
for (a = SIMFACE_MATERIAL; a <= a_end; a++) {
|
||||
RNA_enum_items_add_value(&item, &totitem, prop_similar_types, a);
|
||||
|
||||
Reference in New Issue
Block a user