diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-15 16:08:06 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-15 16:08:06 +0400 |
commit | 428f031237b8ad10a7d85110857167c1d3f57415 (patch) | |
tree | c3ebda9dd4ab5d01fe60301efd630c613819efb2 /source/blender/editors/object/object_edit.c | |
parent | 77223492fd63f061b145b29bde5790fa1dd58c46 (diff) | |
parent | 3ac1ad5378cbf64f823e53cff393351764e042a8 (diff) |
svn merge ^/trunk/blender -r44076:44118
Diffstat (limited to 'source/blender/editors/object/object_edit.c')
-rw-r--r-- | source/blender/editors/object/object_edit.c | 2 |
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 a7ac91d13df..b8cc749888c 100644 --- a/source/blender/editors/object/object_edit.c +++ b/source/blender/editors/object/object_edit.c @@ -1517,7 +1517,7 @@ void OBJECT_OT_game_property_new(wmOperatorType *ot) /* flags */ ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; - RNA_def_enum(ot->srna, "type", gameproperty_type_items, 2, "Type", "Type of game property to add"); + RNA_def_enum(ot->srna, "type", gameproperty_type_items, GPROP_FLOAT, "Type", "Type of game property to add"); RNA_def_string(ot->srna, "name", "", MAX_NAME, "Name", "Name of the game property to add"); } |