asset_library/adapters/adapter.py
2026-01-07 16:05:47 +01:00

16 lines
307 B
Python

from bpy.types import PropertyGroup
class Adapter(PropertyGroup):
# def __init__(self):
name = "Base Adapter"
# library = None
def to_dict(self):
return {
p: getattr(self, p)
for p in self.bl_rna.properties.keys()
if p != "rna_type"
}