remove utility path function

This commit is contained in:
2014-10-14 18:18:24 +02:00
parent 0aa22d054d
commit 51cbfdef81

View File

@@ -696,13 +696,3 @@ class DNAField:
else:
return self.dna_type.size * self.name.array_size
# determine the relative production location of a blender path.basename
def blendPath2AbsolutePath(productionFile, blenderPath):
productionFileDir = os.path.dirname(productionFile)
if blenderPath.startswith("//"):
relpath = blenderPath[2:]
abspath = os.path.join(productionFileDir, relpath)
return abspath
return blenderPath