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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2016-05-05 12:58:03 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-05-05 12:58:45 +0300
commitdd73d9c54e90187735997a52b728b5fd64987129 (patch)
tree396842213bb000fd5cf40df81e43b893013a1430 /source/blender/editors/space_view3d/view3d_edit.c
parent043486e2bc6f56ef21aa98a00f67e3a39629bcfa (diff)
Correct error in recent smoothview edits
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_edit.c')
-rw-r--r--source/blender/editors/space_view3d/view3d_edit.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c
index 0c05e85631f..9ee00d2413c 100644
--- a/source/blender/editors/space_view3d/view3d_edit.c
+++ b/source/blender/editors/space_view3d/view3d_edit.c
@@ -1649,10 +1649,10 @@ static int ndof_orbit_invoke(bContext *C, wmOperator *op, const wmEvent *event)
viewops_data_alloc(C, op);
viewops_data_create_ex(C, op, event,
(U.uiflag & USER_ORBIT_SELECTION) != 0, false);
+ vod = op->customdata;
ED_view3d_smooth_view_force_finish(C, vod->v3d, vod->ar);
- vod = op->customdata;
v3d = vod->v3d;
rv3d = vod->rv3d;
@@ -1718,9 +1718,10 @@ static int ndof_orbit_zoom_invoke(bContext *C, wmOperator *op, const wmEvent *ev
viewops_data_create_ex(C, op, event,
(U.uiflag & USER_ORBIT_SELECTION) != 0, false);
+ vod = op->customdata;
+
ED_view3d_smooth_view_force_finish(C, vod->v3d, vod->ar);
- vod = op->customdata;
v3d = vod->v3d;
rv3d = vod->rv3d;