Viewport: use the smooth-view preference when refreshing

Replace hard coded value with a preference to match other smooth-view
operations, making it possible to disable smooth-view.
This commit is contained in:
Campbell Barton
2024-09-10 17:31:08 +10:00
parent 2593fffa4d
commit 3ad14a6fc0

View File

@@ -2014,7 +2014,7 @@ static void space_view3d_refresh(const bContext *C, ScrArea *area)
v3d,
CTX_wm_area(C),
true,
300);
U.smooth_viewtx);
}
}