From b5354ad98603ba3d7acfdf15fe38724e322ea9c0 Mon Sep 17 00:00:00 2001 From: Joe Halliwell Date: Sun, 14 Nov 2021 09:13:10 +0000 Subject: [PATCH] Update text_2d.py Please consider removing the print() calls! --- moderngl_window/text/bitmapped/text_2d.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/moderngl_window/text/bitmapped/text_2d.py b/moderngl_window/text/bitmapped/text_2d.py index 96fa6f9..1deaaa3 100644 --- a/moderngl_window/text/bitmapped/text_2d.py +++ b/moderngl_window/text/bitmapped/text_2d.py @@ -56,7 +56,6 @@ def text(self) -> str: @text.setter def text(self, value: str): - print(len(value)) self._text = value self._string_buffer.orphan(size=len(value) * 4) self._string_buffer.clear(chunk=b'\32') @@ -65,7 +64,6 @@ def text(self, value: str): def _write(self, text: str): self._string_buffer.clear(chunk=b'\32') - print(self._string_buffer.size) self._string_buffer.write( numpy.fromiter( self._translate_string(text),