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
path: root/source
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-11-04 15:37:13 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-11-04 15:37:13 +0400
commit298790850c44ba4381191bce208650c0522efbfb (patch)
treea0f034c48f5aabbb998c11fba09342c03f5a11e3 /source
parent936178d10ff37e3dc1e0ff0ee260be8647e2970a (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')
-rw-r--r--source/blender/editors/object/object_transform.c2
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;
}