[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [39513] branches/soc-2011-onion/source/ blender/editors/sculpt_paint/paint_image.c: uv paint brushes
Antony Riakiotakis
kalast at gmail.com
Thu Aug 18 00:44:03 CEST 2011
Revision: 39513
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=39513
Author: psy-fi
Date: 2011-08-17 22:44:03 +0000 (Wed, 17 Aug 2011)
Log Message:
-----------
uv paint brushes
=================
-crash fix: entering edit mode without UV brush.
Modified Paths:
--------------
branches/soc-2011-onion/source/blender/editors/sculpt_paint/paint_image.c
Modified: branches/soc-2011-onion/source/blender/editors/sculpt_paint/paint_image.c
===================================================================
--- branches/soc-2011-onion/source/blender/editors/sculpt_paint/paint_image.c 2011-08-17 22:37:35 UTC (rev 39512)
+++ branches/soc-2011-onion/source/blender/editors/sculpt_paint/paint_image.c 2011-08-17 22:44:03 UTC (rev 39513)
@@ -5121,7 +5121,9 @@
settings->uvpaint->paint.flags |= PAINT_SHOW_BRUSH;
}
else {
- settings->uvpaint->paint.flags &= ~PAINT_SHOW_BRUSH;
+ if(settings->uvpaint){
+ settings->uvpaint->paint.flags &= ~PAINT_SHOW_BRUSH;
+ }
}
}
/************************ grab clone operator ************************/
More information about the Bf-blender-cvs
mailing list