Fix warning print when running asset shelf UI template

Was printing the following warning:
  Warning: 'MyAssetShelf' does not contain '_AST_' with prefix and suffix

I followed some other template for the naming, apparently the "Ui Tool
Simple" one, but that doesn't print the warning.
This commit is contained in:
Julian Eisel
2023-08-30 16:18:53 +02:00
parent 4cf0e7acfb
commit d5bac0421f

View File

@@ -3,7 +3,7 @@ import bpy
class MyAssetShelf(bpy.types.AssetShelf):
bl_space_type = 'VIEW_3D'
bl_idname = "my_template.my_material_asset_shelf"
bl_idname = "VIEW3D_AST_my_asset_shelf"
@classmethod
def poll(cls, context):