mirror of
https://github.com/leozide/leocad
synced 2025-01-15 15:40:48 +01:00
Fixed new move tool.
This commit is contained in:
parent
2e6fbd0679
commit
846a2ac610
1 changed files with 1 additions and 1 deletions
|
@ -1848,6 +1848,7 @@ void View::UpdateTrackTool()
|
||||||
const float OverlayScaleRadius = 0.125f;
|
const float OverlayScaleRadius = 0.125f;
|
||||||
|
|
||||||
NewTrackTool = (CurrentTool == LC_TOOL_MOVE) ? LC_TRACKTOOL_MOVE_XYZ : LC_TRACKTOOL_SELECT;
|
NewTrackTool = (CurrentTool == LC_TOOL_MOVE) ? LC_TRACKTOOL_MOVE_XYZ : LC_TRACKTOOL_SELECT;
|
||||||
|
mMouseDownPiece = nullptr;
|
||||||
|
|
||||||
lcVector3 OverlayCenter;
|
lcVector3 OverlayCenter;
|
||||||
lcMatrix33 RelativeRotation;
|
lcMatrix33 RelativeRotation;
|
||||||
|
@ -2315,7 +2316,6 @@ void View::StartTracking(lcTrackButton TrackButton)
|
||||||
mTrackUpdated = false;
|
mTrackUpdated = false;
|
||||||
mMouseDownX = mInputState.x;
|
mMouseDownX = mInputState.x;
|
||||||
mMouseDownY = mInputState.y;
|
mMouseDownY = mInputState.y;
|
||||||
mMouseDownPiece = nullptr;
|
|
||||||
lcTool Tool = GetCurrentTool();
|
lcTool Tool = GetCurrentTool();
|
||||||
|
|
||||||
switch (Tool)
|
switch (Tool)
|
||||||
|
|
Loading…
Reference in a new issue