Blender Git Loki

Git Commits -> Revision 7afa353

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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021