[Bf-blender-cvs] [a5995d81617] greasepencil-object: Move BKE_gpencil_batch_cache_alldirty()'s debug value to 66
Joshua Leung
noreply at git.blender.org
Tue Nov 21 00:17:54 CET 2017
Commit: a5995d81617fb798fc3884d72d6c4633ab0d19f0
Author: Joshua Leung
Date: Tue Nov 21 00:40:18 2017 +1300
Branches: greasepencil-object
https://developer.blender.org/rBa5995d81617fb798fc3884d72d6c4633ab0d19f0
Move BKE_gpencil_batch_cache_alldirty()'s debug value to 66
This Makes it possible to set this without seeing all the stats in the way
===================================================================
M source/blender/blenkernel/intern/gpencil.c
===================================================================
diff --git a/source/blender/blenkernel/intern/gpencil.c b/source/blender/blenkernel/intern/gpencil.c
index 7d5933f6df6..784ec4139c2 100644
--- a/source/blender/blenkernel/intern/gpencil.c
+++ b/source/blender/blenkernel/intern/gpencil.c
@@ -88,7 +88,7 @@ void BKE_gpencil_batch_cache_free(bGPdata *gpd)
void BKE_gpencil_batch_cache_alldirty_main(Main *bmain)
{
/* XXX: disabled by default, so we can see how much is broken without this */
- if (G.debug_value == 660) {
+ if (G.debug_value == 66) {
bGPdata *gpd;
for (gpd = bmain->gpencil.first; gpd; gpd = gpd->id.next) {
More information about the Bf-blender-cvs
mailing list