From f568a9d831ce8d92e6b74481b0b2c5c373df634e Mon Sep 17 00:00:00 2001 From: tarman3 Date: Sun, 20 Apr 2025 14:53:14 +0300 Subject: [PATCH] CAM: Increased moveEye in New Simulator --- src/Mod/CAM/PathSimulator/AppGL/SimDisplay.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Mod/CAM/PathSimulator/AppGL/SimDisplay.cpp b/src/Mod/CAM/PathSimulator/AppGL/SimDisplay.cpp index e68dd14c1a..0ee439c3ad 100644 --- a/src/Mod/CAM/PathSimulator/AppGL/SimDisplay.cpp +++ b/src/Mod/CAM/PathSimulator/AppGL/SimDisplay.cpp @@ -507,18 +507,18 @@ void SimDisplay::RotateEye(float rotStep) void SimDisplay::MoveEye(float x, float z) { mEyeX += x; - if (mEyeX > 100) { - mEyeX = 100; + if (mEyeX > 300) { + mEyeX = 300; } - else if (mEyeX < -100) { - mEyeX = -100; + else if (mEyeX < -300) { + mEyeX = -300; } mEyeZ += z; - if (mEyeZ > 100) { - mEyeZ = 100; + if (mEyeZ > 300) { + mEyeZ = 300; } - else if (mEyeZ < -100) { - mEyeZ = -100; + else if (mEyeZ < -300) { + mEyeZ = -300; } updateDisplay = true; }