[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60491] trunk/blender/source/blender/ editors/sculpt_paint/sculpt_uv.c: UV sculpting was missing curve initialization causing crashes.
Antony Riakiotakis
kalast at gmail.com
Tue Oct 1 17:04:58 CEST 2013
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);
More information about the Bf-blender-cvs
mailing list