Fix T94308: Window Manager console error

This commit is contained in:
Julian Eisel 2022-01-04 16:59:02 +01:00
parent bbd0c4118b
commit ad8e2d6661
Notes: blender-bot 2023-02-14 06:19:41 +01:00
Referenced by issue #94308, Window Manager console error.
1 changed files with 1 additions and 1 deletions

View File

@ -850,7 +850,7 @@ classes = (
def asset_path_str_get(self):
asset_file_handle = bpy.context.asset_file_handle
if asset_file_handle is None:
return None
return ""
if asset_file_handle.local_id:
return "Current File"