Skip to content

Commit

Permalink
bug: fixed updateDb topFace not being nativeObject
Browse files Browse the repository at this point in the history
  • Loading branch information
pludikar committed Nov 6, 2023
1 parent 47bcbf8 commit 1e9a463
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions createDogbone.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ def updateDogBones():
selectedFace: DbFace = DbFace(face=faceAtt.parent,
restoreState=True)
topFace, _ = dbUtils.getTopFace(selectedFace=selectedFace.face)
topFace = topFace.nativeObject if topFace.nativeObject else topFace
for edge in selectedFace.selectedEdges:
if not toolBodies:
toolBodies = edge.getToolBody(
Expand Down

0 comments on commit 1e9a463

Please sign in to comment.