Fix T38819: Mark Seam misbehaves when accessed through spacebar search
This commit is contained in:
parent
b6c439d0c4
commit
d47d030275
Notes:
blender-bot
2023-02-14 11:07:28 +01:00
Referenced by commit 073a1f8f7c
, Revert "Fix T38819: Mark Seam misbehaves when accessed through spacebar search"
Referenced by issue #38856, MARK Seam/Sharp (edge) command in search menu not always MARKs (sometime it CLEARs)
Referenced by issue #38844, Crash if weight track = 0
Referenced by issue #38833, Preview chunks in compositor are not shown if offset in scale node is not zero
Referenced by issue #38826, Materials has user after deleting scene
Referenced by issue #38827, Input preferences can not find Left Mouse or Left Arrow
Referenced by issue #38819, Mark/Clear seam misbehaves when executed from spacebar search menu in 3D view
|
@ -796,6 +796,8 @@ static int edbm_mark_seam_exec(bContext *C, wmOperator *op)
|
|||
|
||||
void MESH_OT_mark_seam(wmOperatorType *ot)
|
||||
{
|
||||
PropertyRNA *prop;
|
||||
|
||||
/* identifiers */
|
||||
ot->name = "Mark Seam";
|
||||
ot->idname = "MESH_OT_mark_seam";
|
||||
|
@ -808,7 +810,8 @@ void MESH_OT_mark_seam(wmOperatorType *ot)
|
|||
/* flags */
|
||||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
|
||||
|
||||
RNA_def_boolean(ot->srna, "clear", 0, "Clear", "");
|
||||
prop = RNA_def_boolean(ot->srna, "clear", 0, "Clear", "");
|
||||
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
|
||||
}
|
||||
|
||||
static int edbm_mark_sharp_exec(bContext *C, wmOperator *op)
|
||||
|
|
Loading…
Reference in New Issue