[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29500] branches/soc-2010-jwilkins/source/ blender/editors/sculpt_paint/paint_stroke.c: Treat all textures as procedural
Jason Wilkins
Jason.A.Wilkins at gmail.com
Thu Jun 17 01:57:45 CEST 2010
Revision: 29500
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29500
Author: jwilkins
Date: 2010-06-17 01:57:44 +0200 (Thu, 17 Jun 2010)
Log Message:
-----------
Treat all textures as procedural
Modified Paths:
--------------
branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/paint_stroke.c
Modified: branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/paint_stroke.c
===================================================================
--- branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/paint_stroke.c 2010-06-16 22:56:03 UTC (rev 29499)
+++ branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/paint_stroke.c 2010-06-16 23:57:44 UTC (rev 29500)
@@ -211,7 +211,7 @@
float xlim, ylim;
// XXX there has to be a better way to guess if a texture is procedural
- int procedural = brush->mtex.tex && brush->mtex.tex->type != TEX_IMAGE;
+ int procedural = 1;//brush->mtex.tex && brush->mtex.tex->type != TEX_IMAGE;
if (brush->overlay_texture) glDeleteTextures(1, &brush->overlay_texture);
More information about the Bf-blender-cvs
mailing list