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:
authorDalai Felinto <dfelinto@gmail.com>2010-06-03 12:41:40 +0400
committerDalai Felinto <dfelinto@gmail.com>2010-06-03 12:41:40 +0400
commit4385add665643dfa8946fd8f73cd6c81db8008f3 (patch)
tree224281c9cd86f8bd400ddd164c4e1e6e1d503660 /source/blender/editors/object/object_edit.c
parent44845b89654544a492cd6c7774721554a232d719 (diff)
Copy Game Properties Operator: fix for "default enum value" out of the range. I removed one item from the Enum and forgot to change the default.
Diffstat (limited to 'source/blender/editors/object/object_edit.c')
-rw-r--r--source/blender/editors/object/object_edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_edit.c b/source/blender/editors/object/object_edit.c
index 1127d9ab444..8afed42758a 100644
--- a/source/blender/editors/object/object_edit.c
+++ b/source/blender/editors/object/object_edit.c
@@ -2298,7 +2298,7 @@ void OBJECT_OT_game_property_copy(wmOperatorType *ot)
/* flags */
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
- RNA_def_enum(ot->srna, "operation", game_properties_copy_operations, 4, "Operation", "");
+ 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_enum_funcs(prop, gameprops_itemf);
ot->prop=prop;