Remove printfs
authorClément Foucault <foucault.clem@gmail.com>
Thu, 7 Jun 2018 16:44:37 +0000 (18:44 +0200)
committerClément Foucault <foucault.clem@gmail.com>
Thu, 7 Jun 2018 16:44:37 +0000 (18:44 +0200)
... it's getting late here.

source/blender/draw/intern/draw_cache_impl_particles.c

index 1eea400..380cb08 100644 (file)
@@ -182,7 +182,6 @@ static void particle_batch_cache_clear_hair(ParticleHairCache *hair_cache)
                GWN_VERTBUF_DISCARD_SAFE(hair_cache->final[i].proc_buf);
                DRW_TEXTURE_FREE_SAFE(hair_cache->final[i].proc_tex);
                for (int j = 0; j < MAX_THICKRES; ++j) {
-                       printf("Free cache->final[%d].proc_hairs[%d]\n", i, j);
                        GWN_BATCH_DISCARD_SAFE(hair_cache->final[i].proc_hairs[j]);
                }
        }
@@ -976,7 +975,6 @@ static void particle_batch_cache_ensure_procedural_indices(
                }
        }
 
-       printf("Alloc cache->final[%d].proc_hairs[%d]\n", subdiv, thickness_res - 1);
        cache->final[subdiv].proc_hairs[thickness_res - 1] = GWN_batch_create_ex(
                prim_type,
                vbo,