diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-11-28 04:47:33 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-11-28 04:47:33 +0400 |
commit | c5a8bd498d59abec7d3fdc4123d8b5f0d121396d (patch) | |
tree | 2e921bfc5574d98f52fc21c2b79450a863b6beb4 /source/blender/python | |
parent | 8ecce451ab928fd2ab9d2844e8f337c18c6f1269 (diff) |
use radians for 'spin' bmesh operator (since the rest of the py api uses radians). also rename BMO_OP_SLOT_SUBTYPE_MAP_FLOAT -> BMO_OP_SLOT_SUBTYPE_MAP_FLT for consistency.
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_ops_call.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_ops_call.c b/source/blender/python/bmesh/bmesh_py_ops_call.c index 13dc2eef3ce..c538daf9e51 100644 --- a/source/blender/python/bmesh/bmesh_py_ops_call.c +++ b/source/blender/python/bmesh/bmesh_py_ops_call.c @@ -387,7 +387,7 @@ static int bpy_slot_from_py(BMesh *bm, BMOperator *bmop, BMOpSlot *slot, PyObjec } break; } - case BMO_OP_SLOT_SUBTYPE_MAP_FLOAT: + case BMO_OP_SLOT_SUBTYPE_MAP_FLT: { if (PyDict_Size(value) > 0) { PyObject *arg_key, *arg_value; @@ -593,7 +593,7 @@ static PyObject* bpy_slot_to_py(BMesh *bm, BMOpSlot *slot) } break; } - case BMO_OP_SLOT_SUBTYPE_MAP_FLOAT: + case BMO_OP_SLOT_SUBTYPE_MAP_FLT: { item = PyDict_New(); if (slot_hash) { |