From 37cc311a46e7512330c9f2f3b7705e589bc363d2 Mon Sep 17 00:00:00 2001 From: abrock Date: Sat, 25 Feb 2023 21:25:17 +0100 Subject: [PATCH] Remove ipers_rotate_left/right in constructor call of adjuster for camera_scale Co-authored-by: Lawrence37 <45837045+Lawrence37@users.noreply.github.com> --- rtgui/perspective.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtgui/perspective.cc b/rtgui/perspective.cc index a778bbac9..b09437e62 100644 --- a/rtgui/perspective.cc +++ b/rtgui/perspective.cc @@ -251,7 +251,7 @@ PerspCorrection::PerspCorrection () : FoldableToolPanel(this, "perspective", M(" projection_rotate = Gtk::manage (new Adjuster (M("TP_PERSPECTIVE_PROJECTION_ROTATE"), -45, 45, 0.01, 0, ipers_rotate_left, ipers_rotate_right)); projection_rotate->setAdjusterListener (this); - camera_scale= Gtk::manage (new Adjuster (M("TP_PERSPECTIVE_CAMERA_SCALE"), 0.1, 10, 0.01, 0, ipers_rotate_left, ipers_rotate_right)); + camera_scale= Gtk::manage (new Adjuster (M("TP_PERSPECTIVE_CAMERA_SCALE"), 0.1, 10, 0.01, 0)); camera_scale->setAdjusterListener (this); camera_defish = Gtk::manage(new Gtk::CheckButton(M("TP_PERSPECTIVE_CAMERA_DEFISH")));