diff --git a/apps/opencs/view/render/instancemode.cpp b/apps/opencs/view/render/instancemode.cpp index 74df6740e..0c4da4963 100644 --- a/apps/opencs/view/render/instancemode.cpp +++ b/apps/opencs/view/render/instancemode.cpp @@ -96,6 +96,11 @@ void CSVRender::InstanceMode::setEditLock (bool locked) { mLocked = locked; + if (mLocked) + { + mDragMode = DragMode_None; + getWorldspaceWidget().reset (Mask_Reference); + } } void CSVRender::InstanceMode::primaryEditPressed (osg::ref_ptr tag)