Blender Git Loki

Git Commits -> Revision 5e47283

Revision 5e47283 by Campbell Barton (master)
September 11, 2006, 07:05 (GMT)
made getFromObject() use a dummy mesh, rather then making a copy of the mesh and then replacing its data with the displist mesh.
aside from avoiding unneeded memory alloc/dealloc and bing faster this works around a recently discovered bug with the user count of copied Mesh keys... causing getFromObejct leak memory when used with mesh keys.
It also fixes a bug where getFromObejct with fluid-sim would corrupt memory.

Commit Details:

Full Hash: 5e4728369a42f8c1d7a17e19e0672a976aadf32e
SVN Revision: 8469
Parent Commit: 0a74ce2
Lines Changed: +30, -18

1 Modified Path:

/source/blender/python/api2_2x/Mesh.c (+30, -18) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021