Blender Git Commit Log
Git Commits -> Revision 15279c0
Revision 15279c0 by Bastien Montagne (soc-2017-normal-tools) June 12, 2017, 07:22 (GMT) |
Do not include BKE_mesh.h in bmesh_class.h We absolutely avoid such include unless totally mandatory, here we can simply keep lnorspaces array a pointer in BMesh struct, and allocate it on demand. Also, was breaking bmesh tests building. Note: this totally breaks undo/redo, but previous code was utterly wrong here as well (shallow copy of lnorspaces, ending up sharing whole internal memory -> crash garanteed ;) ). Think we can skip that struct for undo/redo for now at least, we can rebuild it in those cases imho... |
Commit Details:
Full Hash: 15279c04d7946946f7b56f97783338958e4f2e0a
Parent Commit: cd9939f
Lines Changed: +31, -16