svn merge ^/trunk/blender -r43294:43338
[blender.git] / source / blender / editors / object / object_transform.c
index 24061defa7cd84ef0771ab95752b0a3b9209deba..68c017adecd2f1a75794f56068df9448d3469aed 100644 (file)
@@ -646,7 +646,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, "center"))
+               if(v3d && !RNA_struct_property_is_set(op->ptr, "center"))
                        around= v3d->around;
        }