forked from bartvdbraak/blender
Correct default enum values
Had assert creating cheat sheet
This commit is contained in:
parent
3dc86f586c
commit
30b7aafe33
@ -910,7 +910,7 @@ void ARMATURE_OT_select_similar(wmOperatorType *ot)
|
|||||||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
|
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
|
||||||
|
|
||||||
/* properties */
|
/* properties */
|
||||||
ot->prop = RNA_def_enum(ot->srna, "type", prop_similar_types, 0, "Type", "");
|
ot->prop = RNA_def_enum(ot->srna, "type", prop_similar_types, SIMEDBONE_LENGTH, "Type", "");
|
||||||
RNA_def_float(ot->srna, "threshold", 0.1f, 0.0f, 1.0f, "Threshold", "", 0.0f, 1.0f);
|
RNA_def_float(ot->srna, "threshold", 0.1f, 0.0f, 1.0f, "Threshold", "", 0.0f, 1.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1173,7 +1173,7 @@ static EnumPropertyItem *select_similar_type_itemf(bContext *C, PointerRNA *UNUS
|
|||||||
return item;
|
return item;
|
||||||
}
|
}
|
||||||
|
|
||||||
return NULL;
|
return prop_similar_types;
|
||||||
}
|
}
|
||||||
|
|
||||||
void MESH_OT_select_similar(wmOperatorType *ot)
|
void MESH_OT_select_similar(wmOperatorType *ot)
|
||||||
|
Loading…
Reference in New Issue
Block a user