diff --git a/release/scripts/mgear/core/skin.py b/release/scripts/mgear/core/skin.py index 534b6c8e..802b24a3 100644 --- a/release/scripts/mgear/core/skin.py +++ b/release/scripts/mgear/core/skin.py @@ -89,7 +89,7 @@ def get_mesh_components_from_tag_expression(skinCls, tag="*"): for t in geo_types: obj = skinCls.listConnections(et=True, t=t) if obj: - geo = obj[0].getShape().name() + geo = pm.listRelatives(obj[0], s=True, ni=True)[0].name() # Get the geo out attribute for the shape out_attr = cmds.deformableShape(geo, localShapeOutAttr=True)[0]