netrender
- Temporary fix for linked libs repathing (didn't work correctly when using relative links). - autorefresh only for main page (on job page, it's really annoying because it keeps reseting results preview, so until that's fixed, off it is).
This commit is contained in:
@@ -171,7 +171,7 @@ def prefixPath(prefix_directory, file_path, prefix_path, force = False):
|
||||
# if an absolute path, make sure path exists, if it doesn't, use relative local path
|
||||
full_path = file_path
|
||||
if force or not os.path.exists(full_path):
|
||||
p, n = os.path.split(full_path)
|
||||
p, n = os.path.split(os.path.normpath(full_path))
|
||||
|
||||
if prefix_path and p.startswith(prefix_path):
|
||||
if len(prefix_path) < len(p):
|
||||
|
Reference in New Issue
Block a user