mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 18:19:55 +00:00
cancel instance move on editing lock becoming active
This commit is contained in:
parent
b1fb64bf68
commit
70745487f3
1 changed files with 5 additions and 0 deletions
|
@ -96,6 +96,11 @@ void CSVRender::InstanceMode::setEditLock (bool locked)
|
||||||
{
|
{
|
||||||
mLocked = locked;
|
mLocked = locked;
|
||||||
|
|
||||||
|
if (mLocked)
|
||||||
|
{
|
||||||
|
mDragMode = DragMode_None;
|
||||||
|
getWorldspaceWidget().reset (Mask_Reference);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSVRender::InstanceMode::primaryEditPressed (osg::ref_ptr<TagBase> tag)
|
void CSVRender::InstanceMode::primaryEditPressed (osg::ref_ptr<TagBase> tag)
|
||||||
|
|
Loading…
Reference in a new issue