[mapguide-commits] r4360 - sandbox/adsk/2.1/Common/Renderers

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Nov 30 17:24:20 EST 2009


Author: waltweltonlair
Date: 2009-11-30 17:24:19 -0500 (Mon, 30 Nov 2009)
New Revision: 4360

Modified:
   sandbox/adsk/2.1/Common/Renderers/DWFRenderer.cpp
Log:
Fix #1088: Plot to DWF (eplot) - plot incomplete / features missing 

Merge the trunk fix into the sandbox stream.


Modified: sandbox/adsk/2.1/Common/Renderers/DWFRenderer.cpp
===================================================================
--- sandbox/adsk/2.1/Common/Renderers/DWFRenderer.cpp	2009-11-26 03:30:05 UTC (rev 4359)
+++ sandbox/adsk/2.1/Common/Renderers/DWFRenderer.cpp	2009-11-30 22:24:19 UTC (rev 4360)
@@ -382,7 +382,7 @@
 //
 // Indicates beginning of a map layer. This function creates a W2D for feature
 // data and a W2D for labeling. It also sets up selection support / object
-// deifnition. Labeling W2D is not opened -- it will only be opened if there
+// definition. Labeling W2D is not opened -- it will only be opened if there
 // are labels.
 //
 //-----------------------------------------------------------------------------
@@ -479,6 +479,11 @@
 
     // initialize the pattern tracking flag
     m_linePatternActive = true;
+
+    // we must reset the cached symbol information each time we begin
+    // a layer to ensure that the necessary initial opcodes are added
+    // to the W2D for the layer
+    m_lastSymbol = RS_MarkerDef();
 }
 
 



More information about the mapguide-commits mailing list