mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
improve debug message & use debug instead of info for artist-facing report
This commit is contained in:
parent
69c33f9c8f
commit
b3649b5c5c
2 changed files with 8 additions and 4 deletions
|
|
@ -156,7 +156,7 @@ class FBXExtractor:
|
|||
# Parse export options
|
||||
options = self.default_options
|
||||
options = self.parse_overrides(instance, options)
|
||||
self.log.info("Export options: {0}".format(options))
|
||||
self.log.debug("Export options: {0}".format(options))
|
||||
|
||||
# Collect the start and end including handles
|
||||
start = instance.data.get("frameStartHandle") or \
|
||||
|
|
@ -186,7 +186,7 @@ class FBXExtractor:
|
|||
template = "FBXExport{0} {1}" if key == "UpAxis" else \
|
||||
"FBXExport{0} -v {1}" # noqa
|
||||
cmd = template.format(key, value)
|
||||
self.log.info(cmd)
|
||||
self.log.debug(cmd)
|
||||
mel.eval(cmd)
|
||||
|
||||
# Never show the UI or generate a log
|
||||
|
|
|
|||
|
|
@ -43,9 +43,13 @@ class ExtractFBXAnimation(publish.Extractor):
|
|||
# FBX does not include the namespace but preserves the node
|
||||
# names as existing in the rig workfile
|
||||
if not out_members:
|
||||
skeleton_set = [
|
||||
i for i in instance
|
||||
if i.endswith("skeletonAnim_SET")
|
||||
]
|
||||
self.log.debug(
|
||||
"Top group of animated skeleton not found.."
|
||||
"skipping extraction")
|
||||
"Top group of animated skeleton not found in "
|
||||
"{}.\nSkipping fbx animation extraction".format(skeleton_set))
|
||||
return
|
||||
|
||||
namespace = get_namespace(out_members[0])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue