[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [37426] branches/soc-2011-onion/source/ blender/editors/interface/resources.c: hi-res texture setting wasn' t being saved

Jason Wilkins Jason.A.Wilkins at gmail.com
Sun Jun 12 06:47:07 CEST 2011


Revision: 37426
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37426
Author:   jwilkins
Date:     2011-06-12 04:47:06 +0000 (Sun, 12 Jun 2011)
Log Message:
-----------
hi-res texture setting wasn't being saved

Modified Paths:
--------------
    branches/soc-2011-onion/source/blender/editors/interface/resources.c

Modified: branches/soc-2011-onion/source/blender/editors/interface/resources.c
===================================================================
--- branches/soc-2011-onion/source/blender/editors/interface/resources.c	2011-06-12 04:41:40 UTC (rev 37425)
+++ branches/soc-2011-onion/source/blender/editors/interface/resources.c	2011-06-12 04:47:06 UTC (rev 37426)
@@ -1552,9 +1552,11 @@
 		U.autokey_flag &= ~AUTOKEY_FLAG_ONLYKEYINGSET;
 	}
 	
-	if (bmain->versionfile < 258)
+	/* GSoC 2011 Onion */
+	if (bmain->versionfile < 257 || (bmain->versionfile == 257 && bmain->subversionfile < 3))
 		U.hirestex = 0;
 
+	/* GSoC 2011 Onion */
 	if (bmain->versionfile < 257 || (bmain->versionfile == 257 && bmain->subversionfile < 3)) {
 		U.sculpt_paint_mask_col[0]= 1.00f;
 		U.sculpt_paint_mask_col[1]= 0.39f;




More information about the Bf-blender-cvs mailing list