fix: None material error

This commit is contained in:
Swann Martinez 2019-10-02 17:10:56 +02:00
parent 3d69e96c9f
commit 2fb0069214
No known key found for this signature in database
GPG Key ID: 414CCAFD8DA720E1

View File

@ -165,7 +165,8 @@ class BlMesh(BlDatablock):
deps = []
for material in self.pointer.materials:
deps.append(material)
if material:
deps.append(material)
return deps