Fixed new move tool.

This commit is contained in:
leozide 2017-11-13 12:47:35 -08:00
parent 2e6fbd0679
commit 846a2ac610

View file

@ -1848,6 +1848,7 @@ void View::UpdateTrackTool()
const float OverlayScaleRadius = 0.125f;
NewTrackTool = (CurrentTool == LC_TOOL_MOVE) ? LC_TRACKTOOL_MOVE_XYZ : LC_TRACKTOOL_SELECT;
mMouseDownPiece = nullptr;
lcVector3 OverlayCenter;
lcMatrix33 RelativeRotation;
@ -2315,7 +2316,6 @@ void View::StartTracking(lcTrackButton TrackButton)
mTrackUpdated = false;
mMouseDownX = mInputState.x;
mMouseDownY = mInputState.y;
mMouseDownPiece = nullptr;
lcTool Tool = GetCurrentTool();
switch (Tool)