Exocortex / ExocortexCrate

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

Particle export from PhoenixFD for 3ds max #57

Closed a0121536 closed 7 years ago

a0121536 commented 8 years ago

If not Thinking Particles, there is no need to check for both the ext particle interface and ipfSystem - in PhoenixFD we had to create a dummy PFSystem in order to workaround this limitation. The actual ipfSystem is checked before actually being used about 20 lines further.

Also, the built-in 3ds max Alembic export forces us to provide a dummy node as a result of GetParticleGroup() in order for the export to proceed correctly. This is why the returned node does not have to necessarily implement the IParticleGroup interface and should better be checked against NULL.

bhouston commented 7 years ago

Thank you, this is a good change!