Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-06-18 18:44:16 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-06-18 18:44:16 +0400
commitbdfcc5c619e2bc30d477c5bdfdf3d7bc54d6c947 (patch)
tree797d6877234d32b47302b3fe73e2efce4469266d /source/blender/editors/object/object_edit.c
parenta42a5c90d5f6ae30289b6550b75b0ca746a25419 (diff)
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.
Diffstat (limited to 'source/blender/editors/object/object_edit.c')
-rw-r--r--source/blender/editors/object/object_edit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_edit.c b/source/blender/editors/object/object_edit.c
index 5ad663b92d3..908c0a6f4f2 100644
--- a/source/blender/editors/object/object_edit.c
+++ b/source/blender/editors/object/object_edit.c
@@ -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;
}