Fix T60625: freestyle colletion include / exclude not working.

This commit is contained in:
Brecht Van Lommel 2019-01-24 16:08:03 +01:00
parent 391e35d5a0
commit 28b1bbeb92

@ -927,7 +927,7 @@ class ObjectNamesUP1D(UnaryPredicate1D):
self.negative = negative
def getViewShapeName(self, vs):
if vs.library_path is not None:
if vs.library_path is not None and len(vs.library_path):
return vs.library_path + '/' + vs.name
return vs.name