[GRASS-SVN] r47380 - grass/trunk/lib/ogsf

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 3 12:16:39 EDT 2011


Author: annakrat
Date: 2011-08-03 09:16:39 -0700 (Wed, 03 Aug 2011)
New Revision: 47380

Modified:
   grass/trunk/lib/ogsf/GS2.c
Log:
wxNviz: don't reset light when switching back to 3D view

Modified: grass/trunk/lib/ogsf/GS2.c
===================================================================
--- grass/trunk/lib/ogsf/GS2.c	2011-08-03 16:05:27 UTC (rev 47379)
+++ grass/trunk/lib/ogsf/GS2.c	2011-08-03 16:16:39 UTC (rev 47380)
@@ -120,8 +120,6 @@
     Cxl_func = void_func;
     Swap_func = void_func;
 
-    /* reset lights */
-    Numlights = 0;
     
     if (first) {
 	gs_init();



More information about the grass-commit mailing list