From 2a92257438b55543c3ead412c0a6d4e591a84602 Mon Sep 17 00:00:00 2001 From: Alexander Brock Date: Sun, 19 Feb 2023 23:40:58 +0100 Subject: [PATCH] Add HISTORY_MSG_PERSP_CAM_SCALE to default language file --- rtdata/languages/default | 1 + rtgui/perspective.cc | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/rtdata/languages/default b/rtdata/languages/default index 06d8e42da..9bc959407 100644 --- a/rtdata/languages/default +++ b/rtdata/languages/default @@ -1455,6 +1455,7 @@ HISTORY_MSG_PDSHARPEN_RADIUS_BOOST;CS - Corner radius boost HISTORY_MSG_PERSP_CAM_ANGLE;Perspective - Camera HISTORY_MSG_PERSP_CAM_FL;Perspective - Camera HISTORY_MSG_PERSP_CAM_DEFISH;Perspective - De-fish +HISTORY_MSG_PERSP_CAM_SCALE;Perspective - Scale HISTORY_MSG_PERSP_CAM_SHIFT;Perspective - Camera HISTORY_MSG_PERSP_CTRL_LINE;Perspective - Control lines HISTORY_MSG_PERSP_METHOD;Perspective - Method diff --git a/rtgui/perspective.cc b/rtgui/perspective.cc index c60037540..aee2af69c 100644 --- a/rtgui/perspective.cc +++ b/rtgui/perspective.cc @@ -96,7 +96,7 @@ PerspCorrection::PerspCorrection () : FoldableToolPanel(this, "perspective", M(" EvPerspMethod = mapper->newEvent(TRANSFORM, "HISTORY_MSG_PERSP_METHOD"); EvPerspProjAngle = mapper->newEvent(TRANSFORM, "HISTORY_MSG_PERSP_PROJ_ANGLE"); EvPerspProjRotate = mapper->newEvent(TRANSFORM, "HISTORY_MSG_PERSP_PROJ_ROTATE"); - EvPerspCamScale = mapper->newEvent(TRANSFORM, "HISTORY_MSG_PERSP_PROJ_SCALE"); + EvPerspCamScale = mapper->newEvent(TRANSFORM, "HISTORY_MSG_PERSP_CAM_SCALE"); EvPerspProjShift = mapper->newEvent(TRANSFORM, "HISTORY_MSG_PERSP_PROJ_SHIFT"); EvPerspRender = mapper->newEvent(TRANSFORM, "GENERAL_NA"); // Void events. @@ -106,7 +106,7 @@ PerspCorrection::PerspCorrection () : FoldableToolPanel(this, "perspective", M(" EvPerspCamShiftVoid = mapper->newEvent(M_VOID, "HISTORY_MSG_PERSP_CAM_SHIFT"); EvPerspProjAngleVoid = mapper->newEvent(M_VOID, "HISTORY_MSG_PERSP_PROJ_ANGLE"); EvPerspProjRotateVoid = mapper->newEvent(M_VOID, "HISTORY_MSG_PERSP_PROJ_ROTATE"); - EvPerspCamScaleVoid = mapper->newEvent(M_VOID, "HISTORY_MSG_PERSP_PROJ_SCALE"); + EvPerspCamScaleVoid = mapper->newEvent(M_VOID, "HISTORY_MSG_PERSP_CAM_SCALE"); EvPerspProjShiftVoid = mapper->newEvent(M_VOID, "HISTORY_MSG_PERSP_PROJ_SHIFT"); setCamBasedEventsActive(); EvPerspControlLines = mapper->newEvent(M_VOID, "HISTORY_MSG_PERSP_CTRL_LINE");