Clearing LocalModData when using SetModifier?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is there a way to delete/clear the LocalModData when I use SetModifier to replace one modifier with another (one that has a different LocalModData structure)
Specifically I am dealing with some files from an old version of Max that use a custom-made skinning modifier to handle skinning (which I didn't write) and am converting it to the vanilla Max skinning on load. What I am doing is to grab the data out of the old modifier then I create a max skinning modifier, then I want to replace the old modifier with the new one (via SetModifier) then use ISkinImportData to load the (suitably converted) data into the max skinning modifier but because the LocalModData from the old skinning modifier is still there things go wrong (I need to make the old LocalModData to go away so the skin modifier will create the new BoneModData properly)
I am using Max 2017.