opengl faces cache
This commit is contained in:
parent
3e41ac9e14
commit
ef29f48873
5 changed files with 70 additions and 36 deletions
|
@ -198,6 +198,7 @@ class SVGEngine(RenderEngine):
|
|||
|
||||
def _add_geometry(self, geometry, fill: Optional[FillAttribs] = None, stroke: Optional[StrokeAttribs] = None,
|
||||
altitude=None, height=None, shape_cache_key=None):
|
||||
geometry = self.buffered_bbox.intersection(geometry.geom)
|
||||
|
||||
if fill:
|
||||
attribs = ' fill="'+(fill.color)+'"'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue