Fix #31825: 3D View Editor Header > Object > Game > Copy Properties affecting other commands.
Mark property to be copied/moved as SKIP_SAVE. That was giving the issues.
This commit is contained in:
@@ -1752,6 +1752,7 @@ void OBJECT_OT_game_property_copy(wmOperatorType *ot)
|
||||
|
||||
RNA_def_enum(ot->srna, "operation", game_properties_copy_operations, 3, "Operation", "");
|
||||
prop = RNA_def_enum(ot->srna, "property", gameprops_items, 0, "Property", "Properties to copy");
|
||||
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
|
||||
RNA_def_enum_funcs(prop, gameprops_itemf);
|
||||
ot->prop = prop;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user