Skip to content

Commit

Permalink
Crank: Adding support for nurbs curves shot sculpt
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelcampos committed May 17, 2024
1 parent 8e713f5 commit 7647b28
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion release/scripts/mgear/crank/crank_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ def create_layer(oSel):
dagNode: cranklayer node with all the layer data
"""
oSel = [
x for x in oSel if x.getShapes() and x.getShapes()[0].type() == "mesh"
x
for x in oSel
if x.getShapes() and x.getShapes()[0].type() in ["mesh", "nurbsCurve"]
]

if oSel:
Expand Down

0 comments on commit 7647b28

Please sign in to comment.