[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [39220] branches/soc-2011-onion/source/ blender/editors/sculpt_paint/paint_image.c: little test tweak to enable for partial update for image painting in uv editor
Antony Riakiotakis
kalast at gmail.com
Tue Aug 9 18:40:21 CEST 2011
Revision: 39220
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=39220
Author: psy-fi
Date: 2011-08-09 16:40:20 +0000 (Tue, 09 Aug 2011)
Log Message:
-----------
little test tweak to enable for partial update for image painting in uv editor
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-09 16:32:15 UTC (rev 39219)
+++ branches/soc-2011-onion/source/blender/editors/sculpt_paint/paint_image.c 2011-08-09 16:40:20 UTC (rev 39220)
@@ -4068,7 +4068,8 @@
if(texpaint || (sima && sima->lock)) {
int w = imapaintpartial.x2 - imapaintpartial.x1;
int h = imapaintpartial.y2 - imapaintpartial.y1;
- GPU_paint_update_image(image, imapaintpartial.x1, imapaintpartial.y1, w, h, !texpaint);
+ /* Testing with partial update in uv editor too */
+ GPU_paint_update_image(image, imapaintpartial.x1, imapaintpartial.y1, w, h, 0);//!texpaint);
}
}
More information about the Bf-blender-cvs
mailing list