CS0469 - Field 'ToolsRoundIn.objectPointSav' is never assigned to, and will always have its default value
The code needs to fixed.
- Remove dependency on objectPointSave
- Assign value to objectPointSave
- Choose a different relevant point
|
if (roundRad == 0.0) |
|
{ |
|
|
|
if (iCurve1.PositionOf(objectPointSav) > 0.5) |
|
iCurve1.Trim(0.0, iCurve1.PositionOf(objectPointSav)); |
|
else |
|
{ |
|
iCurve1.Trim(iCurve1.PositionOf(objectPointSav), 1.0); |
|
if (Frame.GetBooleanSetting("Construct.MakePath", true)) iCurve1.Reverse(); |
|
} |
|
if (iCurve2.PositionOf(objectPointSav) > 0.5) |
|
{ |
|
iCurve2.Trim(0.0, iCurve2.PositionOf(objectPointSav)); |
|
if (Frame.GetBooleanSetting("Construct.MakePath", true)) iCurve2.Reverse(); |
|
} |
|
else iCurve2.Trim(iCurve2.PositionOf(objectPointSav), 1.0); |
|
} |
CS0469 - Field 'ToolsRoundIn.objectPointSav' is never assigned to, and will always have its default value
The code needs to fixed.
CADability/CADability/ToolsRoundIn.cs
Lines 478 to 494 in d8b0205