Blender Git Loki
Git Commits -> Revision 70de169
Revision 70de169 by Sergey Sharybin (master) July 15, 2013, 18:46 (GMT) |
Make lattice deform safe for threading Lattice deformation used to store some runtime data inside of lattice datablock itself. It's something which is REALLY bad. Ideally DNA shouldn't contain and runtime data. For now solved it in a way that initialization of lattice deform will create a structure which contains lattice object for which deformation is calculating and that runtime data which used to be stored in lattice datablock itself. It works really fine for mesh deform modifier, but there's still runtime data stored in particle system DNA, It didn't look something easy to be solved, so leaving this as-is for now. |
Commit Details:
Full Hash: 70de1690b867b292193c7d123410fea960f9205a
SVN Revision: 58278
Parent Commit: 3ede748
Lines Changed: +109, -90
13 Modified Paths:
/source/blender/blenkernel/BKE_lattice.h (+8, -3) (Diff)
/source/blender/blenkernel/BKE_particle.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/anim.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/lattice.c (+37, -22) (Diff)
/source/blender/blenkernel/intern/particle.c (+24, -24) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+11, -11) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+4, -4) (Diff)
/source/blender/makesdna/DNA_lattice_types.h (+0, -4) (Diff)
/source/blender/makesdna/DNA_particle_types.h (+3, -1) (Diff)
/source/blender/modifiers/intern/MOD_explode.c (+4, -4) (Diff)
/source/blender/modifiers/intern/MOD_particleinstance.c (+4, -4) (Diff)
/source/blender/render/intern/source/convertblender.c (+4, -4) (Diff)
/source/blender/render/intern/source/pointdensity.c (+4, -4) (Diff)
/source/blender/blenkernel/BKE_particle.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/anim.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/lattice.c (+37, -22) (Diff)
/source/blender/blenkernel/intern/particle.c (+24, -24) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+11, -11) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+4, -4) (Diff)
/source/blender/makesdna/DNA_lattice_types.h (+0, -4) (Diff)
/source/blender/makesdna/DNA_particle_types.h (+3, -1) (Diff)
/source/blender/modifiers/intern/MOD_explode.c (+4, -4) (Diff)
/source/blender/modifiers/intern/MOD_particleinstance.c (+4, -4) (Diff)
/source/blender/render/intern/source/convertblender.c (+4, -4) (Diff)
/source/blender/render/intern/source/pointdensity.c (+4, -4) (Diff)