drop suppoprt for svg output

This commit is contained in:
Laura Klünder 2017-11-09 17:42:19 +01:00
parent 4a0de2a13d
commit 37e9dcc1f6
5 changed files with 10 additions and 19 deletions

View file

@ -173,7 +173,7 @@ class OpenGLEngine(Base3DEngine):
worker = OpenGLWorker()
def get_png(self) -> bytes:
def render(self) -> bytes:
return self.worker.render(self.width, self.height, self.background_rgb,
np.hstack(self.vertices).astype(np.float32).tobytes() if self.vertices else b'')