Skip to content

Commit

Permalink
Path: Fix reference to cutting edge angle in OCL_Tool() class
Browse files Browse the repository at this point in the history
The class variable name was not corrected with previously committed changes.
The correct cutting edge variable name is located in the __init__() constructor method.
  • Loading branch information
Russ4262 committed Dec 18, 2020
1 parent 8e911b3 commit bdf4d39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Path/PathScripts/PathSurfaceSupport.py
Expand Up @@ -2578,11 +2578,11 @@ def _oclConeCutter(self):
# Engraver or V-bit cutter
# OCL -> ConeCutter::ConeCutter(diameter, angle, length)
if (self.diameter == -1.0 or
self.cuttingEdgeAngle == -1.0 or self.cutEdgeHeight == -1.0):
self.cutEdgeAngle == -1.0 or self.cutEdgeHeight == -1.0):
return
self.oclTool = self.ocl.ConeCutter(
self.diameter,
self.cuttingEdgeAngle,
self.cutEdgeAngle,
self.cutEdgeHeight + self.lengthOffset
)

Expand Down

0 comments on commit bdf4d39

Please sign in to comment.