Post #5118: Hi @pluglug, thanks for your reply. I changed the 3 lines in ove
📋 Metadata
- Author: fjg3d
- Date: 2024-04-30 13:06:29
- Type:
bug_report - Quality Score: 7/10
- Reply to: post_05117
- Replies (1): post_05119
🏷️ Tags
intermediate unsolved python-scripting
⚙️ Related PME Features
- 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’?