Blender Git Loki
Git Commits -> Revision 7afa353
Revision 7afa353 by Antonio Vazquez (greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) June 8, 2018, 07:44 (GMT) |
Redo stats calculation Now the stat info is saved in the datablock to avoid recalculations and the stats are calculated in one function. Still pending move the update of the stats to a better place to calculate only when the object change, maybe in depsgraph evaluation. |
Commit Details:
Full Hash: 7afa353d5e24d186799d1a011479859abda637a0
Parent Commit: 7b4fc58
Lines Changed: +27, -42
5 Modified Paths:
/source/blender/blenkernel/BKE_gpencil.h (+1, -4) (Diff)
/source/blender/blenkernel/intern/gpencil.c (+9, -30) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+1, -3) (Diff)
/source/blender/editors/space_info/info_stats.c (+10, -5) (Diff)
/source/blender/makesdna/DNA_gpencil_types.h (+6, -0) (Diff)
/source/blender/blenkernel/intern/gpencil.c (+9, -30) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+1, -3) (Diff)
/source/blender/editors/space_info/info_stats.c (+10, -5) (Diff)
/source/blender/makesdna/DNA_gpencil_types.h (+6, -0) (Diff)