Message 1 of 1
How to make plug-in support bakePartialHistory -prepostDeformers?

Not applicable
04-19-2012
08:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Does anyone happen to know how to make a custom plugin properly support the "bakePartialHistory -prePostDeformers" / "Delete non-deformer History" command ?
Whenever a skinned mesh is changed with the custom plugin, and one tries to delete non-deformer history, this error appears : "// Error: The -prePostDeformers flag is not supported with the following node(s) in the history: nodeName".
This seems to happen with plugins derived from Autodesk's own polyModifier code, even with their own examples like the meshOp node, yet nothing in the devkit gives any hint as to how to properly set up a plugin to support this.
From searches i've found that some built-in nodes cause this error as well like polyUnite or polySeparate, yet others seem to be handled just fine.
Is there any special arcane ritual that one must invoke in the code to make it support this properly ?
Thank you.
Whenever a skinned mesh is changed with the custom plugin, and one tries to delete non-deformer history, this error appears : "// Error: The -prePostDeformers flag is not supported with the following node(s) in the history: nodeName".
This seems to happen with plugins derived from Autodesk's own polyModifier code, even with their own examples like the meshOp node, yet nothing in the devkit gives any hint as to how to properly set up a plugin to support this.
From searches i've found that some built-in nodes cause this error as well like polyUnite or polySeparate, yet others seem to be handled just fine.
Is there any special arcane ritual that one must invoke in the code to make it support this properly ?
Thank you.