refactor: cleanup

This commit is contained in:
Swann Martinez 2020-03-11 15:17:13 +01:00
parent cd10dbb04d
commit 75839e60f0
No known key found for this signature in database
GPG Key ID: 414CCAFD8DA720E1
13 changed files with 12 additions and 24 deletions

View File

@ -127,7 +127,6 @@ class BlAction(BlDatablock):
return data
def resolve_deps_implementation(self):
return []

View File

@ -127,5 +127,4 @@ class BlArmature(BlDatablock):
item.name for item in container_users if isinstance(item, bpy.types.Scene)]
return data
def resolve_deps_implementation(self):
return []

View File

@ -52,5 +52,4 @@ class BlCamera(BlDatablock):
]
return dumper.dump(pointer)
def resolve_deps_implementation(self):
return []

View File

@ -69,5 +69,3 @@ class BlCurve(BlDatablock):
data['type'] = 'CURVE'
return data
def resolve_deps_implementation(self):
return []

View File

@ -170,7 +170,7 @@ class BlDatablock(ReplicatedDatablock):
return dependencies
def resolve_deps_implementation(self):
raise NotImplementedError
return []
def is_valid(self):
return getattr(bpy.data, self.bl_id).get(self.data['name'])

View File

@ -81,5 +81,4 @@ class BlImage(BlDatablock):
def diff(self):
return False
def resolve_deps_implementation(self):
return []

View File

@ -45,8 +45,7 @@ class BlLattice(BlDatablock):
return data
def resolve_deps_implementation(self):
return []

View File

@ -24,5 +24,4 @@ class BlLibrary(BlDatablock):
assert(pointer)
return dump_anything.dump(pointer, 1)
def resolve_deps_implementation(self):
return []

View File

@ -46,7 +46,6 @@ class BlLight(BlDatablock):
data = dumper.dump(pointer)
return data
def resolve_deps_implementation(self):
return []

View File

@ -56,6 +56,5 @@ class BlLightprobe(BlDatablock):
return dumper.dump(pointer)
def resolve_deps_implementation(self):
return []

View File

@ -33,6 +33,5 @@ class BlMetaball(BlDatablock):
data = dumper.dump(pointer)
return data
def resolve_deps_implementation(self):
return []

View File

@ -41,7 +41,6 @@ class BlSpeaker(BlDatablock):
return dumper.dump(pointer)
def resolve_deps_implementation(self):
return []

@ -1 +1 @@
Subproject commit fee39e6ed68eba910438e0ae7b067de02d3e9035
Subproject commit 99bf94874a07890dc747ec53519aa34443a95146