[mapserver-commits] r13195 - sandbox/tb-labels

svn at osgeo.org svn at osgeo.org
Fri Mar 2 09:14:41 EST 2012


Author: tbonfort
Date: 2012-03-02 06:14:41 -0800 (Fri, 02 Mar 2012)
New Revision: 13195

Modified:
   sandbox/tb-labels/mapdraw.c
Log:
use the normal bounds computation as cachePtr->shape can be empty here


Modified: sandbox/tb-labels/mapdraw.c
===================================================================
--- sandbox/tb-labels/mapdraw.c	2012-03-02 12:32:21 UTC (rev 13194)
+++ sandbox/tb-labels/mapdraw.c	2012-03-02 14:14:41 UTC (rev 13195)
@@ -3056,7 +3056,7 @@
             if(marker_poly.numlines) {
                msAddLine(cachePtr->poly, marker_poly.line);
             }
-            fastComputeBounds(cachePtr->poly);
+            msComputeBounds(cachePtr->poly);
             
             /*
              * cachePtr->status can be set to ON only if all it's labels didn't collide



More information about the mapserver-commits mailing list