Page MenuHome

Replace MFace Usage by MLoopTri in dynamic_paint

Authored by Campbell Barton (campbellbarton) on Jul 21 2015, 6:03 PM.



This patch replaces MFaces by MLoopTris in dynamic_paint
Subtask of T45474: Deprecate legacy MFace data storage

Diff Detail

Event Timeline

Philipp Oeser (lichtwerk) retitled this revision from to Replace MFace Usage by MLoopTri in dynamic_paint.
Philipp Oeser (lichtwerk) updated this object.

I still havent touched the 2 occasions where MFace is in concert with BVHTree here (see comments in code).
I am not tooo familiar with dynamic paint but from my (limited) tests [tried to use most available options once], everything seems to be working as before [master]

Philipp Oeser (lichtwerk) planned changes to this revision.Jul 25 2015, 4:33 PM

now that we have "bvhtree_from_mesh_looptri" --> will replace the last occurences of MFace as well...

  • replaced the last occurences of MFace here (thanks to the new looptri funcs for the BVHTree)
  • had to replace "RE_sample_material_color" as well (and made a looptri version "RE_sample_material_color_looptri")
This revision is now accepted and ready to land.Jul 27 2015, 8:07 AM
This revision now requires review to proceed.Jul 27 2015, 8:08 AM