mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Hound fixes
This commit is contained in:
parent
af3c8d01fd
commit
523a52c92f
3 changed files with 6 additions and 4 deletions
|
|
@ -53,7 +53,7 @@ def start_rendering():
|
|||
project = os.environ.get("AVALON_PROJECT")
|
||||
anatomy = Anatomy(project)
|
||||
root = anatomy.roots['renders']
|
||||
except:
|
||||
except Exception:
|
||||
raise Exception("Could not find render root in anatomy settings.")
|
||||
|
||||
render_dir = f"{root}/{project}"
|
||||
|
|
|
|||
|
|
@ -853,7 +853,8 @@ class LayoutLoader(plugin.Loader):
|
|||
if visibility_track:
|
||||
sections = visibility_track.get_sections()
|
||||
for ss in sections:
|
||||
if unreal.Name(f"{container.get('asset')}_map") in ss.get_level_names():
|
||||
if (unreal.Name(f"{container.get('asset')}_map")
|
||||
in ss.get_level_names()):
|
||||
visibility_track.remove_section(ss)
|
||||
# Update visibility sections indexes.
|
||||
i = -1
|
||||
|
|
|
|||
|
|
@ -84,8 +84,9 @@ class CollectRenderInstances(pyblish.api.InstancePlugin):
|
|||
project = os.environ.get("AVALON_PROJECT")
|
||||
anatomy = Anatomy(project)
|
||||
root = anatomy.roots['renders']
|
||||
except:
|
||||
raise Exception("Could not find render root in anatomy settings.")
|
||||
except Exception:
|
||||
raise Exception(
|
||||
"Could not find render root in anatomy settings.")
|
||||
|
||||
render_dir = f"{root}/{project}/{s.get('output')}"
|
||||
render_path = Path(render_dir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue