Particle edit: Simplify code by benefiting from single edit context
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 6 Jun 2018 13:48:30 +0000 (15:48 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 7 Jun 2018 09:31:56 +0000 (11:31 +0200)
commit1aa89d9a1c49f553d322ae66c73354a5a08dca66
treeec0dd3fc0dec01a35eea3d4533a0f5300a0e24d8
parentdf0253be330178a360af99f758fc250397d07a5b
Particle edit: Simplify code by benefiting from single edit context

Makes ADD brush to work.

At some point children particles draw got broken, children are not
visible for until first stroke is done. Still looking into it.
source/blender/blenkernel/BKE_particle.h
source/blender/blenkernel/intern/particle.c
source/blender/editors/physics/particle_edit.c