On 2010.11.17 18:04, Christian Akesson wrote:
Viktoras:
I want to remove the intermediate shape nodes, but only if the mesh is
not being deformed by any deformer in which case those are needed
(meshNameShapeOrig, sometimes meshNameShapeDeformed when referenced).
These intermediate shapes are sometimes retained on the mesh when
duplicating or delete history to get rid of deformers. They cause some
issues in our pipeline....
that's exactly what i said. if you list outgoing connections from a
shape, which is marked as intermediate, and it does not connect anywhere
(usually garbage shapes won't at all) - you can delete it.
--
http://groups.google.com/group/python_inside_maya