Fix T62756, T62131: moving stencil texture fails after moving stencil mask
This commit is contained in:
@@ -815,8 +815,11 @@ static void BRUSH_OT_stencil_control(wmOperatorType *ot)
|
||||
/* flags */
|
||||
ot->flag = 0;
|
||||
|
||||
RNA_def_enum(ot->srna, "mode", stencil_control_items, STENCIL_TRANSLATE, "Tool", "");
|
||||
RNA_def_enum(ot->srna, "texmode", stencil_texture_items, STENCIL_PRIMARY, "Tool", "");
|
||||
PropertyRNA *prop;
|
||||
prop = RNA_def_enum(ot->srna, "mode", stencil_control_items, STENCIL_TRANSLATE, "Tool", "");
|
||||
RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE);
|
||||
prop = RNA_def_enum(ot->srna, "texmode", stencil_texture_items, STENCIL_PRIMARY, "Tool", "");
|
||||
RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user