forked from mirror/openmw-tes3mp
Redo slight change to pathgrid editing controls, lost in revert
This commit is contained in:
parent
bb81e89c08
commit
ec90da731c
1 changed files with 4 additions and 2 deletions
|
@ -131,9 +131,10 @@ namespace CSVRender
|
||||||
if (!selection.empty())
|
if (!selection.empty())
|
||||||
{
|
{
|
||||||
mDragMode = DragMode_Move;
|
mDragMode = DragMode_Move;
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool PathgridMode::secondaryEditStartDrag(const QPoint& pos)
|
bool PathgridMode::secondaryEditStartDrag(const QPoint& pos)
|
||||||
|
@ -148,10 +149,11 @@ namespace CSVRender
|
||||||
mFromNode = SceneUtil::getPathgridNode(static_cast<unsigned short>(hit.index0));
|
mFromNode = SceneUtil::getPathgridNode(static_cast<unsigned short>(hit.index0));
|
||||||
|
|
||||||
tag->getPathgrid()->setupConnectionIndicator(mFromNode);
|
tag->getPathgrid()->setupConnectionIndicator(mFromNode);
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void PathgridMode::drag(const QPoint& pos, int diffX, int diffY, double speedFactor)
|
void PathgridMode::drag(const QPoint& pos, int diffX, int diffY, double speedFactor)
|
||||||
|
|
Loading…
Reference in a new issue