Post #5118: Hi @pluglug, thanks for your reply. I changed the 3 lines in ove

📋 Metadata

🏷️ Tags

intermediate unsolved python-scripting

  • Popup Dialog Editor
  • Python Scripting

💬 Content

Hi @pluglug, thanks for your reply. I changed the 3 lines in overlay.py regarding blf.size, but get a few more errors when running the modal.

Errors

Python: Traceback (most recent call last):
operators.py”, line 988, in modal
self.update_overlay()
operators.py”, line 1214, in update_overlay
self.table = TablePainter(3, self.cells, self.pm.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
overlay.py”, line 214, in init
self.header = Text(header) if header else None
^^^^^^^^^^^^
overlay.py”, line 163, in init
self.update(text)
overlay.py”, line 177, in update
blf.size(0, *size)
^^^^
NameError: name ‘size’ is not defined. Did you mean: ‘slice’?


🔗 View on Blender Artists