Use addon pref to store default texture dir, allowing per-scene override.

This commit is contained in:
2016-03-31 11:54:15 +02:00
parent c10107b887
commit afbc36a70a
2 changed files with 23 additions and 4 deletions

View File

@@ -600,7 +600,7 @@ class BlenderCloudBrowser(bpy.types.Operator):
node_path_components = [node['name'] for node in self.path_stack if node is not None]
local_path_components = [self.project_uuid] + node_path_components + [self.node['name']]
top_texture_directory = bpy.path.abspath(context.scene.blender_cloud_dir)
top_texture_directory = bpy.path.abspath(context.scene.local_texture_dir)
local_path = os.path.join(top_texture_directory, *local_path_components)
meta_path = os.path.join(top_texture_directory, '.blender_cloud')