diff options
Diffstat (limited to 'src/object/robotmain.cpp')
-rw-r--r-- | src/object/robotmain.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/object/robotmain.cpp b/src/object/robotmain.cpp index 8dedb8c..f27438f 100644 --- a/src/object/robotmain.cpp +++ b/src/object/robotmain.cpp @@ -4398,6 +4398,10 @@ void CRobotMain::CreateScene(bool soluce, bool fixScene, bool resetObject) obj->SetCheckToken(OpInt(line, "checkToken", 1)); obj->SetManual(OpInt(line, "manual", 0)); + Math::Vector zoom = OpDir(line, "zoom"); + if (zoom.x != 0.0f || zoom.y != 0.0f || zoom.z != 0.0f) + obj->SetZoom(0, zoom); + CMotion* motion = obj->GetMotion(); if (motion != nullptr) { |