Latest builds of Blender require WindowManager.invoke_props_dialog() to use int explicitly in width= argument. Otherwise a TypeError will be thrown.
This patch casts width argument to int before passing it to window_manager.invoke_props_dialog.
Details
Details
- Reviewers
Campbell Barton (campbellbarton) - Maniphest Tasks
- T95323: Python Traceback on calling Icon Viewer
Diff Detail
Diff Detail
- Repository
- rBA Blender Add-ons
Event Timeline
| development_icon_get.py | ||
|---|---|---|
| 477 | We could also do the cast here, might be more future bullet proof but is nicer to do it, where it is actually calculated. | |
Comment Actions
Hey @Campbell Barton (campbellbarton), if you have time to have a quick look at this :)