Fix T49130: "Inner Edge" / "Buffer Edge" options in the Double Edge Mask are wired to the wrong settings
Patch by Ted Schundler (tschundler), thanks! Differential Revision: https://developer.blender.org/D2141
This commit is contained in:
parent
22b913a278
commit
262adf7d91
Notes:
blender-bot
2023-02-14 09:29:42 +01:00
Referenced by issue #49130, "Inner Edge" / "Buffer Edge" options in the Double Edge Mask are wired to the wrong settings
|
@ -5391,13 +5391,13 @@ static void def_cmp_double_edge_mask(StructRNA *srna)
|
|||
};
|
||||
|
||||
prop = RNA_def_property(srna, "inner_mode", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "custom2");
|
||||
RNA_def_property_enum_sdna(prop, NULL, "custom1");
|
||||
RNA_def_property_enum_items(prop, InnerEdgeMode_items);
|
||||
RNA_def_property_ui_text(prop, "Inner Edge Mode", "");
|
||||
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update");
|
||||
|
||||
prop = RNA_def_property(srna, "edge_mode", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "custom1");
|
||||
RNA_def_property_enum_sdna(prop, NULL, "custom2");
|
||||
RNA_def_property_enum_items(prop, BufEdgeMode_items);
|
||||
RNA_def_property_ui_text(prop, "Buffer Edge Mode", "");
|
||||
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update");
|
||||
|
|
Loading…
Reference in New Issue