diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-11-04 15:37:13 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-11-04 15:37:13 +0400 |
commit | 298790850c44ba4381191bce208650c0522efbfb (patch) | |
tree | a0f034c48f5aabbb998c11fba09342c03f5a11e3 /source/blender | |
parent | 936178d10ff37e3dc1e0ff0ee260be8647e2970a (diff) |
Fix #29051: Set Origin - Center: Bounds does not work
Operator sued to check incorrect property to check initialization.
Patch by Kalle-Samuli Riihikoski, thanks!
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/object/object_transform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_transform.c b/source/blender/editors/object/object_transform.c index 1efe79fff9e..a82ed95079f 100644 --- a/source/blender/editors/object/object_transform.c +++ b/source/blender/editors/object/object_transform.c @@ -645,7 +645,7 @@ static int object_origin_set_exec(bContext *C, wmOperator *op) /* get the view settings if 'around' isnt set and the view is available */ View3D *v3d= CTX_wm_view3d(C); copy_v3_v3(cursor, give_cursor(scene, v3d)); - if(v3d && !RNA_property_is_set(op->ptr, "around")) + if(v3d && !RNA_property_is_set(op->ptr, "center")) around= v3d->around; } |