Skip to content

Commit

Permalink
PartDesign: [skip ci] Coverity: Structurally dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Sep 22, 2020
1 parent 46ab178 commit 37c4d51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Mod/PartDesign/WizardShaft/Shaft.py
Expand Up @@ -162,6 +162,7 @@ def getConstraint(self, index):
def updateEdge(self, column, start):
App.Console.PrintMessage("Not implemented yet - waiting for robust references...")
return
"""
if self.sketchClosed is not True:
return
# Create a chamfer or fillet at the start or end edge of the segment
Expand All @@ -186,6 +187,7 @@ def updateEdge(self, column, start):
edgeName = "Edge%u" % self.getEdgeIndex(column, idx, edgeType)
self.doc.getObject(objName).Base = (self.doc.getObject("RevolutionShaft"),"[%s]" % edgeName)
# etc. etc.
"""

def getEdgeIndex(self, column, startIdx):
# FIXME: This is impossible without robust references anchored in the sketch!!!
Expand Down

0 comments on commit 37c4d51

Please sign in to comment.