From 51cbfdef818e338a5f314292f4c21d7c37ea53ca Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 14 Oct 2014 18:18:24 +0200 Subject: [PATCH] remove utility path function --- blendfile.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/blendfile.py b/blendfile.py index f5cd7ae..efb43a7 100644 --- a/blendfile.py +++ b/blendfile.py @@ -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