[Bf-blender-cvs] [939ca2e] soc-2016-pbvh-painting: Removed unnecessary debug code. Forgot to remove some old code.
Nathan Vollmer
noreply at git.blender.org
Fri Aug 19 21:08:40 CEST 2016
Commit: 939ca2e474da6475abf4044bfc9b03bac48483ea
Author: Nathan Vollmer
Date: Fri Aug 19 13:08:32 2016 -0600
Branches: soc-2016-pbvh-painting
https://developer.blender.org/rB939ca2e474da6475abf4044bfc9b03bac48483ea
Removed unnecessary debug code. Forgot to remove some old code.
===================================================================
M source/blender/blenkernel/intern/paint.c
M source/blender/editors/sculpt_paint/paint_vertex.c
===================================================================
diff --git a/source/blender/blenkernel/intern/paint.c b/source/blender/blenkernel/intern/paint.c
index 736e7a2..bcb4ad9 100644
--- a/source/blender/blenkernel/intern/paint.c
+++ b/source/blender/blenkernel/intern/paint.c
@@ -772,8 +772,6 @@ void BKE_sculptsession_free(Object *ob)
MEM_freeN(ob->sculpt->totalWeight);
if (ob->sculpt->maxWeight)
MEM_freeN(ob->sculpt->maxWeight);
- if (ob->sculpt->maxColor)
- MEM_freeN(ob->sculpt->maxColor);
MEM_freeN(ss);
diff --git a/source/blender/editors/sculpt_paint/paint_vertex.c b/source/blender/editors/sculpt_paint/paint_vertex.c
index 782f1f6..ed93947 100644
--- a/source/blender/editors/sculpt_paint/paint_vertex.c
+++ b/source/blender/editors/sculpt_paint/paint_vertex.c
@@ -1726,8 +1726,6 @@ static void vertex_paint_init_session(Scene *scene, Object *ob)
}
static void vertex_paint_init_session_maps(Object *ob) {
- if (G.debug & G_DEBUG)
- printf("Allocating vert maps\n");
/* Create maps */
Mesh *me = ob->data;
ob->sculpt->map_mem = NULL;
@@ -1739,8 +1737,6 @@ static void vertex_paint_init_session_maps(Object *ob) {
}
static void vertex_paint_init_session_average_arrays(Object *ob){
- if (G.debug & G_DEBUG)
- printf("Allocating average and blur brush arrays\n");
/* Create average brush arrays */
int totNode = 0;
//I think the totNodes might include internal nodes, and we really only need the tot leaves.
@@ -3615,7 +3611,6 @@ static void vpaint_stroke_update_step(bContext *C, struct PaintStroke *stroke, P
VPaint *vp = ts->vpaint;
ViewContext *vc = &vpd->vc;
Object *ob = vc->obact;
- printf("%d\n", vp->flag);
Sculpt *sd = CTX_data_tool_settings(C)->sculpt;
vwpaint_update_cache_variants(C, vp, ob, itemptr);
More information about the Bf-blender-cvs
mailing list