[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11798] branches/soc-2007-maike/source/ blender/src/header_view3d.c: Draw mode menu restriction
Miguel Torres Lima
torreslima at gmail.com
Thu Aug 23 20:20:13 CEST 2007
Revision: 11798
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11798
Author: maike
Date: 2007-08-23 20:20:13 +0200 (Thu, 23 Aug 2007)
Log Message:
-----------
Draw mode menu restriction
Modified Paths:
--------------
branches/soc-2007-maike/source/blender/src/header_view3d.c
Modified: branches/soc-2007-maike/source/blender/src/header_view3d.c
===================================================================
--- branches/soc-2007-maike/source/blender/src/header_view3d.c 2007-08-23 16:34:15 UTC (rev 11797)
+++ branches/soc-2007-maike/source/blender/src/header_view3d.c 2007-08-23 18:20:13 UTC (rev 11798)
@@ -4667,7 +4667,8 @@
str += sprintf(str, "%s", "|Solid %x3");
str += sprintf(str, "%s", "|Shaded %x4");
str += sprintf(str, "%s", "|Textured %x5");
-
+
+ if(glsl_supported())
str += sprintf(str, "%s", "|Realtime Shading %x6");
return string;
}
More information about the Bf-blender-cvs
mailing list