mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Cleanup: remove unnecessary check left in last commit
Should have been removed in 236c0f61b1.
This commit is contained in:
parent
236c0f61b1
commit
774f59dd07
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ class SpaceAssetInfo:
|
|||
@classmethod
|
||||
def get_active_asset(cls, context: Context):
|
||||
if active_file := getattr(context, "active_file", None):
|
||||
return active_file.asset_data if active_file else None
|
||||
return active_file.asset_data
|
||||
|
||||
|
||||
class AssetBrowserPanel:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue