[mapguide-commits] r10078 - sandbox/adsk/trunk/Common/Stylization
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Mon Jul 1 18:55:46 PDT 2024
Author: simonliu
Date: 2024-07-01 18:55:44 -0700 (Mon, 01 Jul 2024)
New Revision: 10078
Modified:
sandbox/adsk/trunk/Common/Stylization/StylizationEngine.cpp
Log:
Stylization Engine: sometimes the Clip function returns invalid polygon which results in stylization result not correct. Update the behavior to let renderer decide whether to clip or not.
Modified: sandbox/adsk/trunk/Common/Stylization/StylizationEngine.cpp
===================================================================
--- sandbox/adsk/trunk/Common/Stylization/StylizationEngine.cpp 2024-06-18 12:59:12 UTC (rev 10077)
+++ sandbox/adsk/trunk/Common/Stylization/StylizationEngine.cpp 2024-07-02 01:55:44 UTC (rev 10078)
@@ -942,7 +942,8 @@
// clipping is too high. We also need a better approach to clipping. Instead
// of clipping the feature geometry we need to calculate where to start/stop
// drawing symbols.
- bool bClip = true; //m_serenderer->RequiresClipping();
+ // Let renderer decide whether to clip or not.
+ bool bClip = m_serenderer->RequiresClipping();
double clipOffsetSU = 0.0;
// Make a pass over all the instances. During this pass we:
More information about the mapguide-commits
mailing list