Revision: 60491 http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60491 Author: psy-fi Date: 2013-10-01 15:04:58 +0000 (Tue, 01 Oct 2013) Log Message: ----------- UV sculpting was missing curve initialization causing crashes. Reported by Sebastian Koenig, thanks!
Modified Paths: -------------- trunk/blender/source/blender/editors/sculpt_paint/sculpt_uv.c Modified: trunk/blender/source/blender/editors/sculpt_paint/sculpt_uv.c =================================================================== --- trunk/blender/source/blender/editors/sculpt_paint/sculpt_uv.c 2013-10-01 14:55:34 UTC (rev 60490) +++ trunk/blender/source/blender/editors/sculpt_paint/sculpt_uv.c 2013-10-01 15:04:58 UTC (rev 60491) @@ -45,6 +45,7 @@ #include "BKE_brush.h" #include "BKE_paint.h" +#include "BKE_colortools.h" #include "BKE_context.h" #include "BKE_main.h" #include "BKE_depsgraph.h" @@ -538,6 +539,8 @@ op->customdata = data; + curvemapping_initialize (ts->uvsculpt->paint.brush->curve); + if (data) { int counter = 0, i; ARegion *ar = CTX_wm_region(C); _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs