e57726594d
When creating a new main window, the `context.object` attribute wouldn't exist, causing an error message to be printed. Rather than checking if the attribute extists, query the mode from context directly (this is always available), rather than querying it through the active object. |
||
---|---|---|
.. | ||
bl_app_templates_system | ||
bl_operators | ||
bl_ui | ||
keyingsets_builtins.py | ||
nodeitems_builtins.py |