Blender Git Commit Log

Git Commits -> Revision 136c8d1

February 27, 2015, 11:27 (GMT)
Add argument to DM_to_mesh() function to take ownership over the DM

The idea is pretty simple: instead of making temporary copy of all the
related custom data layers just pass the ownership from the DM to the
mesh.

This is really handy in cases when you've got DM which you need to
convert to Mesh datablock and wouldn't need that DM after conversion
anyway.

Foe example, render database conversion, exporters and even Modifier
Apply will benefit from this option.

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D1127

Commit Details:

Full Hash: 136c8d1ae0fafc90281bd778c3ce362bf7837694
Parent Commit: 6320749
Lines Changed: +62, -24

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2020