[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30478] branches/soc-2010-jwilkins/source/ blender/blenloader/intern/readfile.c: * was converting the space factor for files subversion 5 from pixels to radius but some version 5 files are pixels and some are percentage so I 'm gonna only touch even older files to be sure I do not convert any body' s percentage setting that was already a percentage.

Jason Wilkins Jason.A.Wilkins at gmail.com
Mon Jul 19 03:47:49 CEST 2010


Revision: 30478
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30478
Author:   jwilkins
Date:     2010-07-19 03:47:47 +0200 (Mon, 19 Jul 2010)

Log Message:
-----------
* was converting the space factor for files subversion 5 from pixels to radius but some version 5 files are pixels and some are percentage so I'm gonna only touch even older files to be sure I do not convert any body's percentage setting that was already a percentage.  This means that some settings as pixels won't get converted by I think thats ok.

Modified Paths:
--------------
    branches/soc-2010-jwilkins/source/blender/blenloader/intern/readfile.c

Modified: branches/soc-2010-jwilkins/source/blender/blenloader/intern/readfile.c
===================================================================
--- branches/soc-2010-jwilkins/source/blender/blenloader/intern/readfile.c	2010-07-18 21:11:43 UTC (rev 30477)
+++ branches/soc-2010-jwilkins/source/blender/blenloader/intern/readfile.c	2010-07-19 01:47:47 UTC (rev 30478)
@@ -11023,7 +11023,7 @@
 				brush->rate = 0.1f;
 
 			/* New Settings */
-			if (main->versionfile < 252 || (main->versionfile == 252 && main->subversionfile < 6)) {
+			if (main->versionfile < 252 || (main->versionfile == 252 && main->subversionfile < 5)) {
 				brush->flag |= BRUSH_SPACE_ATTEN; // explicitly enable adaptive space
 
 				// spacing was originally in pixels, convert it to percentage for new version





More information about the Bf-blender-cvs mailing list