diff options
author | Martin Poirier <theeth@yahoo.com> | 2009-03-28 23:46:38 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2009-03-28 23:46:38 +0300 |
commit | 145a44135704fa08974cac36de0a87aeb9cc696d (patch) | |
tree | de69c72ae1d644d39a6fbb0614252a229e89a591 /source/blender/editors/transform/transform_orientations.c | |
parent | a5f32714f77ed2ba7b42163fb55a3dfed6bd29af (diff) |
Correctly cancel operator is there's no transform data.
Don't access RegionView3D if region is of the wrong type.
Correctly draw extra transform stuff (like snap and pet circles) in multiple 3d regions.
Diffstat (limited to 'source/blender/editors/transform/transform_orientations.c')
-rw-r--r-- | source/blender/editors/transform/transform_orientations.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_orientations.c b/source/blender/editors/transform/transform_orientations.c index 459d4014d6a..df785f92166 100644 --- a/source/blender/editors/transform/transform_orientations.c +++ b/source/blender/editors/transform/transform_orientations.c @@ -448,7 +448,7 @@ static int count_bone_select(bArmature *arm, ListBase *lb, int do_it) void initTransformOrientation(bContext *C, TransInfo *t) { View3D *v3d = CTX_wm_view3d(C); - RegionView3D *rv3d= CTX_wm_region_view3d(C); + RegionView3D *rv3d = CTX_wm_region_view3d(C); Object *ob = CTX_data_active_object(C); Object *obedit = CTX_data_active_object(C); float normal[3]={0.0, 0.0, 0.0}; |