projects
/
blender.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44845b8
)
Copy Game Properties Operator: fix for "default enum value" out of the range. I remov...
author
Dalai Felinto <dfelinto@gmail.com>
Thu, 3 Jun 2010 08:41:40 +0000
(08:41 +0000)
committer
Dalai Felinto <dfelinto@gmail.com>
Thu, 3 Jun 2010 08:41:40 +0000
(08:41 +0000)
source/blender/editors/object/object_edit.c
patch
|
blob
|
history
diff --git
a/source/blender/editors/object/object_edit.c
b/source/blender/editors/object/object_edit.c
index 1127d9ab44486f29c4e11188d7916094cdbd2dbc..8afed42758ac1dfb0633483a26b2a821694e08a4 100644
(file)
--- 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;