Exocortex / ExocortexCrate

http://exocortex.com/products/crate
BSD 3-Clause "New" or "Revised" License
134 stars 68 forks source link

Force maya to stick the deformer node at the head of the chain #42

Closed mjmvisser closed 8 years ago

mjmvisser commented 8 years ago

to prevent a new "...ShapeDeformed" shape from being created.

Example use case: reference a shaded asset containing sphereShape (with various renderer-specific attributes tweaked) and attach an alembic. Bad behaviour: before this patch, a new shape named sphereShapeDeformed was created. This shape does not have any of the renderer-specific attributes we painstakingly added to the shaded asset shape. New behaviour: with before=True, a new shape named sphereShapeOrig is created. The referenced shape is deformed and maintains all of its attributes.