fix missing border in opengl renderer
This commit is contained in:
parent
4ab38758eb
commit
bee01dab6c
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ class OpenGLEngine(Base3DEngine):
|
|||
self.vertices.append(self._create_border(geometry, width, self.color_to_rgb(stroke.color, alpha=alpha)))
|
||||
|
||||
def _create_border(self, geometry: HybridGeometry, width, append=None):
|
||||
altitude = np.vstack(chain(*(mesh.tolist() for mesh in geometry.faces)))[:, :, 2].max()+0.001
|
||||
altitude = (np.vstack(chain(*(mesh.tolist() for mesh in geometry.faces)))[:, :, 2].max()+1)/1000
|
||||
geometry = self.buffered_bbox.intersection(geometry.geom)
|
||||
|
||||
lines = tuple(chain(*(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue