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:
authorCampbell Barton <ideasman42@gmail.com>2015-05-24 16:49:54 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-05-24 17:08:43 +0300
commit0305e9604bcbf30e48f4a7f707c65459dbea6d67 (patch)
treecf85779af3b974b84b52837d8a95bcd9229590a1 /source/blender/editors/object
parent7456f060979be49937fa2cfc0b939d796cddc536 (diff)
Fix RNA type access
Diffstat (limited to 'source/blender/editors/object')
-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 5e2bd438031..2681a1f8de0 100644
--- a/source/blender/editors/object/object_edit.c
+++ b/source/blender/editors/object/object_edit.c
@@ -1785,7 +1785,7 @@ static int game_property_move(bContext *C, wmOperator *op)
bProperty *prop;
bProperty *otherprop = NULL;
const int index = RNA_int_get(op->ptr, "index");
- const int dir = RNA_int_get(op->ptr, "direction");
+ const int dir = RNA_enum_get(op->ptr, "direction");
if (ob == NULL)
return OPERATOR_CANCELLED;