Blender Git Loki
Git Commits -> Revision c46cbc6
Revision c46cbc6 by Sergey Sharybin (master) August 19, 2013, 10:11 (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. -- svn merge -r58277:58278 -r58795:58796 ^/branches/soc-2013-depsgraph_mt |
Commit Details:
Full Hash: c46cbc602e1007a15c6d9824ec34c41f124faeaa
SVN Revision: 59273
Parent Commit: b9ae749
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)