1
0
Fork 0
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:
Marc Zinnschlag 2016-03-04 15:31:50 +01:00
parent 25effc4222
commit 1726393963

View file

@ -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);