opengl renderer fix error when trying to render empty borders
This commit is contained in:
parent
5976a18946
commit
4dcaefebbe
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ class OpenGLEngine(Base3DEngine):
|
||||||
)))
|
)))
|
||||||
|
|
||||||
if not lines:
|
if not lines:
|
||||||
return np.empty((0, ))
|
return np.empty((0, 3, 3+len(append)))
|
||||||
|
|
||||||
lines = unary_union(lines).buffer(width, cap_style=CAP_STYLE.flat, join_style=JOIN_STYLE.mitre)
|
lines = unary_union(lines).buffer(width, cap_style=CAP_STYLE.flat, join_style=JOIN_STYLE.mitre)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue