forked from mirror/openmw-tes3mp
added missing drag mode resets
This commit is contained in:
parent
dd564daba0
commit
b1fb64bf68
1 changed files with 2 additions and 0 deletions
|
@ -72,6 +72,7 @@ void CSVRender::InstanceMode::activate (CSVWidget::SceneToolbar *toolbar)
|
|||
|
||||
void CSVRender::InstanceMode::deactivate (CSVWidget::SceneToolbar *toolbar)
|
||||
{
|
||||
mDragMode = DragMode_None;
|
||||
getWorldspaceWidget().reset (Mask_Reference);
|
||||
|
||||
if (mSelectionMode)
|
||||
|
@ -451,6 +452,7 @@ int CSVRender::InstanceMode::getSubMode() const
|
|||
|
||||
void CSVRender::InstanceMode::subModeChanged (const std::string& id)
|
||||
{
|
||||
mDragMode = DragMode_None;
|
||||
getWorldspaceWidget().reset (Mask_Reference);
|
||||
getWorldspaceWidget().setSubMode (getSubModeFromId (id), Mask_Reference);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue