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:
Sergey Sharybin
2012-06-18 14:44:16 +00:00
parent a42a5c90d5
commit bdfcc5c619

View File

@@ -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;
}