forked from bartvdbraak/blender
correct debug/test assignment being left in the UI_view2d_smooth_view() so it always recalculated.
This commit is contained in:
parent
aa49ca25d5
commit
a12f5bbc7d
@ -1273,11 +1273,10 @@ void UI_view2d_smooth_view(bContext *C, ARegion *ar,
|
||||
}
|
||||
|
||||
if (C && U.smooth_viewtx && fac > FLT_EPSILON) {
|
||||
int changed = 0; /* zero means no difference */
|
||||
int changed = FALSE;
|
||||
|
||||
if (BLI_rctf_compare(&sms.new_cur, &v2d->cur, FLT_EPSILON) == FALSE)
|
||||
changed = 1;
|
||||
changed=1;
|
||||
changed = TRUE;
|
||||
|
||||
/* The new view is different from the old one
|
||||
* so animate the view */
|
||||
|
Loading…
Reference in New Issue
Block a user