[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43675] trunk/blender/source/blender/ editors/interface/resources.c: Enable 16 bit format for float textures by default after discussion with Morten and Sergey on irc .

Antony Riakiotakis kalast at gmail.com
Tue Jan 24 20:54:24 CET 2012


Revision: 43675
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43675
Author:   psy-fi
Date:     2012-01-24 19:54:18 +0000 (Tue, 24 Jan 2012)
Log Message:
-----------
Enable 16 bit format for float textures by default after discussion with Morten and Sergey on irc. Rationale is that for most cases when people create a float texture they will expect the extra precision in the 3D view.

This shouldn't be a problem on any graphics card since internally a very old texture format (GL 1.1) is used. In the case of any unlikely screams, a revert of this commit can be done.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/interface/resources.c

Modified: trunk/blender/source/blender/editors/interface/resources.c
===================================================================
--- trunk/blender/source/blender/editors/interface/resources.c	2012-01-24 19:37:18 UTC (rev 43674)
+++ trunk/blender/source/blender/editors/interface/resources.c	2012-01-24 19:54:18 UTC (rev 43675)
@@ -1731,7 +1731,7 @@
 			SETCOLF(btheme->toops.selected_highlight, 0.51, 0.53, 0.55, 0.3);
 		}
 		
-		U.use_16bit_textures = 0;
+		U.use_16bit_textures = 1;
 	}
 
 	/* GL Texture Garbage Collection (variable abused above!) */




More information about the Bf-blender-cvs mailing list