feat: ignore useless attributes

This commit is contained in:
Swann 2020-12-02 16:25:40 +01:00
parent 4e7ade8f38
commit ac9a0f3733
No known key found for this signature in database
GPG Key ID: E1D3641A7C43AACB

View File

@ -44,7 +44,15 @@ class BlTexture(BlDatablock):
dumper = Dumper()
dumper.depth = 1
dumper.exclude_filter = []
dumper.exclude_filter = [
'tag',
'original',
'user',
'uuid',
'is_embedded_data',
'is_evaluated',
'name_full'
]
data = dumper.dump(instance)
color_ramp = getattr(instance, 'color_ramp', None)