Cleanup: pep8
This commit is contained in:
@@ -31,6 +31,7 @@ __all__ = (
|
||||
"SpaceAssetInfo",
|
||||
)
|
||||
|
||||
|
||||
class SpaceAssetInfo:
|
||||
@classmethod
|
||||
def is_asset_browser(cls, space_data: bpy.types.Space):
|
||||
@@ -46,6 +47,7 @@ class SpaceAssetInfo:
|
||||
active_file = context.active_file
|
||||
return active_file.asset_data if active_file else None
|
||||
|
||||
|
||||
class AssetBrowserPanel:
|
||||
bl_space_type = 'FILE_BROWSER'
|
||||
|
||||
@@ -53,6 +55,7 @@ class AssetBrowserPanel:
|
||||
def poll(cls, context):
|
||||
return SpaceAssetInfo.is_asset_browser_poll(context)
|
||||
|
||||
|
||||
class AssetMetaDataPanel:
|
||||
bl_space_type = 'FILE_BROWSER'
|
||||
bl_region_type = 'TOOL_PROPS'
|
||||
|
||||
Reference in New Issue
Block a user