Changed default Flamenco path to tempfile.gettempdir()
The previous defaults were very Blender Institute specific.
This commit is contained in:
parent
ecab0f6163
commit
0a7e7195a2
@ -23,6 +23,7 @@ Separated from __init__.py so that we can import & run from non-Blender environm
|
|||||||
import functools
|
import functools
|
||||||
import logging
|
import logging
|
||||||
import os.path
|
import os.path
|
||||||
|
import tempfile
|
||||||
|
|
||||||
import bpy
|
import bpy
|
||||||
from bpy.types import AddonPreferences, Operator, WindowManager, Scene, PropertyGroup
|
from bpy.types import AddonPreferences, Operator, WindowManager, Scene, PropertyGroup
|
||||||
@ -232,21 +233,16 @@ class BlenderCloudPreferences(AddonPreferences):
|
|||||||
description='Filter like "*.abc;*.mkv" to prevent certain files to be packed '
|
description='Filter like "*.abc;*.mkv" to prevent certain files to be packed '
|
||||||
'into the output directory',
|
'into the output directory',
|
||||||
default='')
|
default='')
|
||||||
# TODO: before making Flamenco public, change the defaults to something less Institute-specific.
|
|
||||||
# NOTE: The assumption is that the workers can also find the files in the same path.
|
|
||||||
# This assumption is true for the Blender Institute.
|
|
||||||
flamenco_job_file_path = StringProperty(
|
flamenco_job_file_path = StringProperty(
|
||||||
name='Job Storage Path',
|
name='Job Storage Path',
|
||||||
description='Path where to store job files, should be accesible for Workers too',
|
description='Path where to store job files, should be accesible for Workers too',
|
||||||
subtype='DIR_PATH',
|
subtype='DIR_PATH',
|
||||||
default='/render/_flamenco/storage')
|
default=tempfile.gettempdir())
|
||||||
|
|
||||||
# TODO: before making Flamenco public, change the defaults to something less Institute-specific.
|
|
||||||
flamenco_job_output_path = StringProperty(
|
flamenco_job_output_path = StringProperty(
|
||||||
name='Job Output Path',
|
name='Job Output Path',
|
||||||
description='Path where to store output files, should be accessible for Workers',
|
description='Path where to store output files, should be accessible for Workers',
|
||||||
subtype='DIR_PATH',
|
subtype='DIR_PATH',
|
||||||
default='/render/_flamenco/output')
|
default=tempfile.gettempdir())
|
||||||
flamenco_job_output_strip_components = IntProperty(
|
flamenco_job_output_strip_components = IntProperty(
|
||||||
name='Job Output Path Strip Components',
|
name='Job Output Path Strip Components',
|
||||||
description='The final output path comprises of the job output path, and the blend file '
|
description='The final output path comprises of the job output path, and the blend file '
|
||||||
|
Reference in New Issue
Block a user