Skip to content

Commit

Permalink
Fix for loading bifrost caches
Browse files Browse the repository at this point in the history
Fixes issue Azure#25
  • Loading branch information
annatisch committed Jan 14, 2018
1 parent 270896a commit 8483ce4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions azure_batch_maya/scripts/assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,8 @@ def _get_bifrost_caches(self, assets):
cache_name = maya.get_attr(container + ".{}CacheFileName".format(cache_type.lower()))
cache_path = maya.get_attr(container + ".{}CachePath".format(cache_type.lower()))
cache_paths.append(os.path.join(cache_path, cache_name))
self.pathmaps[cache_path] = utils.get_remote_file_path(cache_path)
self.pathmaps[cache_paths[-1]] = utils.get_remote_file_path(cache_paths[-1])
cache_paths = list(set(cache_paths))
for cache_path in cache_paths:
for frame in range(start, end+step, step):
Expand Down

0 comments on commit 8483ce4

Please sign in to comment.