cancel instance move on editing lock becoming active

move
Marc Zinnschlag 9 years ago
parent b1fb64bf68
commit 70745487f3

@ -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<TagBase> tag)

Loading…
Cancel
Save