blender/scripts/startup
Julian Eisel e57726594d Fix missing context attribute access in asset shelf polls
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.
2023-08-25 19:38:09 +02:00
..
bl_app_templates_system License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bl_operators Cleanup: Make format 2023-08-21 15:03:43 +02:00
bl_ui Fix missing context attribute access in asset shelf polls 2023-08-25 19:38:09 +02:00
keyingsets_builtins.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
nodeitems_builtins.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00