Blender Git Commit Log

Git Commits -> Revision 5ce1b86

September 23, 2015, 08:16 (GMT)
Split the "uber-eval" function for object data into individual operations based on object type.

This means making a dedicated data generation function for object types that need it,
and a few utility functions for particles and extra driver evaluation (hopefully soon to be deprecated).

Remaining "uber" functions in the depsgraph should be split in a similar manner in future.

The splitting allows us to go deeper into the design of certain object types (meshes in particular)
and improve these without having to deal with all the other types.

Note on mesh vs editmesh operations:

Mesh and editmesh are calculated in separate functions. In order to get to a point
where splitting into individual modifiers makes sense, the first step is to have
two separate operations for these.

Changing edit mode does not rebuild the depsgraph, so we cannot selectively
add only one or the other at build time. Instead both operations are added, but only
one of them is actually executed. Currently this uses an internal test for the edit
mesh, but could later be controlled on the depsgraph level based on active branches.

Differential Revision: https://developer.blender.org/D1527

Commit Details:

Full Hash: 5ce1b86aaaed8ad19e2e8118e71d9a32b6c62468
Parent Commit: f21259c
Lines Changed: +107, -90

13 Modified Paths:

/source/blender/blenkernel/BKE_armature.h (+4, -0) (Diff)
/source/blender/blenkernel/BKE_curve.h (+4, -0) (Diff)
/source/blender/blenkernel/BKE_lattice.h (+4, -0) (Diff)
/source/blender/blenkernel/BKE_mball.h (+4, -0) (Diff)
/source/blender/blenkernel/BKE_object.h (+0, -5) (Diff)
/source/blender/blenkernel/BKE_particle.h (+4, -0) (Diff)
/source/blender/blenkernel/intern/armature_update.c (+15, -0) (Diff)
/source/blender/blenkernel/intern/curve.c (+7, -0) (Diff)
/source/blender/blenkernel/intern/lattice.c (+6, -0) (Diff)
/source/blender/blenkernel/intern/mball.c (+7, -0) (Diff)
/source/blender/blenkernel/intern/object_update.c (+2, -85) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+49, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_build_nodes.cc (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021