mirror of
https://github.com/leozide/leocad
synced 2024-12-27 21:58:37 +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;
|
||||
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue