[mapguide-commits] r6859 - sandbox/adsk/2.3r/Server/src/Services/Mapping

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Fri Jul 6 00:07:04 PDT 2012


Author: hubu
Date: 2012-07-06 00:07:04 -0700 (Fri, 06 Jul 2012)
New Revision: 6859

Modified:
   sandbox/adsk/2.3r/Server/src/Services/Mapping/MappingUtil.cpp
Log:
Submit of behalf of Andy Zhang.
Regarding ticket #2032 http://trac.osgeo.org/mapguide/ticket/2032. Some customers depend on this behavior in their work. Some other customers don't like the behavior and want to get it fixed. Now I changed the 2.3 Reeses code to create a hot-fix for the customer. The changes will be reverted after the hot-fix is verified.
In trunk, we will add a configuration property to let user decide whether the selection is visible after the layer is turned off. But I will not work on this before end of July.

Modified: sandbox/adsk/2.3r/Server/src/Services/Mapping/MappingUtil.cpp
===================================================================
--- sandbox/adsk/2.3r/Server/src/Services/Mapping/MappingUtil.cpp	2012-07-06 06:34:22 UTC (rev 6858)
+++ sandbox/adsk/2.3r/Server/src/Services/Mapping/MappingUtil.cpp	2012-07-06 07:07:04 UTC (rev 6859)
@@ -382,7 +382,7 @@
         Ptr<MgLayerBase> mapLayer = layers->GetItem(i);
 
         //don't send data if layer is not currently visible
-        if ((!selection) && (!mapLayer->IsVisible()))
+        if (!mapLayer->IsVisible())
             continue;
 
         //don't send data if the refresh flag is not set



More information about the mapguide-commits mailing list