Changeset 7676 in josm for trunk/src/com/kitfox/svg/Group.java
- Timestamp:
- 2014-10-30T11:39:47+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/com/kitfox/svg/Group.java
r6002 r7676 160 160 //Do not process offscreen groups 161 161 boolean ignoreClip = diagram.ignoringClipHeuristic(); 162 if (!ignoreClip && outsideClip(g))163 {164 return;165 }162 // if (!ignoreClip && outsideClip(g)) 163 // { 164 // return; 165 // } 166 166 167 167 beginLayer(g); … … 271 271 RenderableElement rendEle = (RenderableElement) ele; 272 272 Rectangle2D bounds = rendEle.getBoundingBox(); 273 if (bounds != null )273 if (bounds != null && (bounds.getWidth() != 0 || bounds.getHeight() != 0)) 274 274 { 275 275 if (retRect == null) 276 276 { 277 277 retRect = bounds; 278 } else 278 } 279 else 279 280 { 280 retRect = retRect.createUnion(bounds); 281 if (retRect.getWidth() != 0 || retRect.getHeight() != 0) 282 { 283 retRect = retRect.createUnion(bounds); 284 } 281 285 } 282 286 }
Note:
See TracChangeset
for help on using the changeset viewer.