Fixed problem with relative project paths
This commit is contained in:
parent
0a7dea568a
commit
f9c2dda9fa
@ -336,9 +336,13 @@ class FLAMENCO_OT_render(async_loop.AsyncModalOperatorMixin,
|
|||||||
self.db_user['username'],
|
self.db_user['username'],
|
||||||
filepath.stem)
|
filepath.stem)
|
||||||
outdir = Path(prefs.flamenco_job_file_path) / unique_dir
|
outdir = Path(prefs.flamenco_job_file_path) / unique_dir
|
||||||
projdir = Path(prefs.cloud_project_local_path)
|
proj_abspath = bpy.path.abspath(prefs.cloud_project_local_path)
|
||||||
|
projdir = Path(proj_abspath).resolve()
|
||||||
exclusion_filter = (prefs.flamenco_exclude_filter or '').strip()
|
exclusion_filter = (prefs.flamenco_exclude_filter or '').strip()
|
||||||
|
|
||||||
|
self.log.debug('outdir : %s', outdir)
|
||||||
|
self.log.debug('projdir: %s', projdir)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
outdir.mkdir(parents=True)
|
outdir.mkdir(parents=True)
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
|
Reference in New Issue
Block a user