mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 07:23:54 +00:00
cancel instance move on edit mode change
This commit is contained in:
parent
25effc4222
commit
1726393963
1 changed files with 2 additions and 0 deletions
|
@ -71,6 +71,8 @@ void CSVRender::InstanceMode::activate (CSVWidget::SceneToolbar *toolbar)
|
|||
|
||||
void CSVRender::InstanceMode::deactivate (CSVWidget::SceneToolbar *toolbar)
|
||||
{
|
||||
getWorldspaceWidget().reset (Mask_Reference);
|
||||
|
||||
if (mSelectionMode)
|
||||
{
|
||||
toolbar->removeTool (mSelectionMode);
|
||||
|
|
Loading…
Reference in a new issue