mirror of
https://github.com/leozide/leocad
synced 2025-01-29 20:34:50 +01:00
Fixed warnings.
This commit is contained in:
parent
07d29d0fc5
commit
92882ae13e
1 changed files with 2 additions and 1 deletions
|
@ -1809,7 +1809,6 @@ void View::UpdateTrackTool()
|
|||
{
|
||||
lcPiece* Piece = (lcPiece*)Focus;
|
||||
float Strength = Piece->GetControlPoints()[ControlPointIndex].Scale;
|
||||
const float ScaleMax = 200.0f;
|
||||
const float ScaleStart = (2.0f - OverlayScaleRadius) * OverlayScale + Strength;
|
||||
const float ScaleEnd = (2.0f + OverlayScaleRadius) * OverlayScale + Strength;
|
||||
|
||||
|
@ -2440,6 +2439,8 @@ void View::OnRightButtonDown()
|
|||
StartTracking(LC_TRACKBUTTON_RIGHT);
|
||||
break;
|
||||
|
||||
case LC_TRACKTOOL_SCALE_PLUS:
|
||||
case LC_TRACKTOOL_SCALE_MINUS:
|
||||
case LC_TRACKTOOL_ERASER:
|
||||
case LC_TRACKTOOL_PAINT:
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue