Blender Git Loki

Git Commits -> Revision ccd1760

May 9, 2019, 11:27 (GMT)
GPencil: Move modifiers evaluation logic to Depsgraph (wip)

This commits is the first step to move all logic for evaluating modifiers to depsgraph evaluation and remove from the draw manager. This was coded in the draw manager because when new grease pencil modules were written, the depsgraph was not ready.

Move all to depsgraph reduces the complexity of draw manager, and follows the standards for evaluated data.

This allows to use the evaluated data in edition modes.

Now, it's only working in selection operators, but in the future the different tools will work with the evaluated version and not with the original version as it was before.

Commit Details:

Full Hash: ccd176046f61c8532aefd92bc2d7b131b141cd44
Parent Commit: 767f180
Lines Changed: +328, -188

12 Modified Paths:

/source/blender/blenkernel/BKE_gpencil.h (+17, -3) (Diff)
/source/blender/blenkernel/BKE_gpencil_modifier.h (+4, -0) (Diff)
/source/blender/blenkernel/intern/gpencil_modifier.c (+124, -0) (Diff)
/source/blender/blenkernel/intern/object_update.c (+4, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_cache_utils.c (+10, -14) (Diff)
/source/blender/draw/engines/gpencil/gpencil_draw_cache_impl.c (+9, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_draw_utils.c (+21, -116) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.h (+0, -17) (Diff)
/source/blender/editors/gpencil/gpencil_intern.h (+53, -0) (Diff)
/source/blender/editors/gpencil/gpencil_select.c (+65, -35) (Diff)
/source/blender/makesdna/DNA_gpencil_types.h (+17, -3) (Diff)
/source/blender/makesdna/DNA_object_types.h (+4, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021