[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [39322] branches/soc-2011-onion/source/ blender/editors/sculpt_paint/paint_meshcache.c: Revision: 30963

Jason Wilkins Jason.A.Wilkins at gmail.com
Fri Aug 12 06:00:06 CEST 2011


Revision: 39322
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=39322
Author:   jwilkins
Date:     2011-08-12 04:00:05 +0000 (Fri, 12 Aug 2011)
Log Message:
-----------
Revision: 30963
Author: nicholasbishop
Date: 10:03:54 PM, Sunday, August 01, 2010
Message:
== VPaint ==

Bugfix: force update multires vpaint before saving the file

----
Modified : /branches/soc-2010-nicolasbishop/source/blender/editors/include/ED_sculpt.h
Modified : /branches/soc-2010-nicolasbishop/source/blender/editors/sculpt_paint/paint_utils.c
Modified : /branches/soc-2010-nicolasbishop/source/blender/windowmanager/intern/wm_files.c

jwilkins:
I had already made a similar change, just needed to force update in vertex paint mode as well as sculpt mode.

Modified Paths:
--------------
    branches/soc-2011-onion/source/blender/editors/sculpt_paint/paint_meshcache.c

Modified: branches/soc-2011-onion/source/blender/editors/sculpt_paint/paint_meshcache.c
===================================================================
--- branches/soc-2011-onion/source/blender/editors/sculpt_paint/paint_meshcache.c	2011-08-12 03:53:26 UTC (rev 39321)
+++ branches/soc-2011-onion/source/blender/editors/sculpt_paint/paint_meshcache.c	2011-08-12 04:00:05 UTC (rev 39322)
@@ -138,7 +138,7 @@
 {
 	struct Object *ob= CTX_data_active_object(C);
 
-	if(ob && (ob->mode & OB_MODE_SCULPT))
+	if(ob && (ob->mode & OB_MODE_SCULPT|OB_MODE_VERTEX_PAINT))
 		multires_force_update(ob);
 }
 




More information about the Bf-blender-cvs mailing list