remove utility path function
This commit is contained in:
10
blendfile.py
10
blendfile.py
@@ -696,13 +696,3 @@ class DNAField:
|
|||||||
else:
|
else:
|
||||||
return self.dna_type.size * self.name.array_size
|
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
|
|
||||||
|
Reference in New Issue
Block a user