-
Notifications
You must be signed in to change notification settings - Fork 128
[QUAD] Maya Publish Collect Handles: Add new collector to fix issues with the handles for render #6297
base: develop
Are you sure you want to change the base?
[QUAD] Maya Publish Collect Handles: Add new collector to fix issues with the handles for render #6297
Conversation
…e handles for render
self.log.info("Handles excluded.") | ||
|
||
self.log.info(f"Frame Start Handle: {instance.context.data['frameStartHandle']}") | ||
self.log.info(f"Frame End Handle: {instance.context.data['frameEndHandle']}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line too long (85 > 79 characters)
# Log information about the handle values initialization | ||
self.log.info("Handles excluded.") | ||
|
||
self.log.info(f"Frame Start Handle: {instance.context.data['frameStartHandle']}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line too long (89 > 79 characters)
# if we exclude, initialize handles values to origin(frame start, frame end) | ||
if not include_task: | ||
instance.context.data["frameStartHandle"] = int(instance.context.data.get("frameStart")) | ||
instance.context.data["frameEndHandle"] = int(instance.context.data.get("frameEnd")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line too long (96 > 79 characters)
|
||
# if we exclude, initialize handles values to origin(frame start, frame end) | ||
if not include_task: | ||
instance.context.data["frameStartHandle"] = int(instance.context.data.get("frameStart")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line too long (100 > 79 characters)
include_task = item["include_handles"] | ||
break | ||
|
||
# if we exclude, initialize handles values to origin(frame start, frame end) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line too long (84 > 79 characters)
|
||
def process(self, instance): | ||
# Check the include handle settings of the actual project | ||
include_handles_settings = instance.context.data["project_settings"]["maya"]["include_handles"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line too long (103 > 79 characters)
Attributes: | ||
order (int): The order of execution for this extractor. | ||
label (str): The label used to identify this extractor. | ||
families (list): List of families to which this extractor is applicable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line too long (80 > 79 characters)
class CollectHandles(pyblish.api.InstancePlugin): | ||
""" | ||
OpenPype collector for handling animation-related tasks. | ||
It checks the include handle settings of the project, determines whether to include/exclude handles |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line too long (103 > 79 characters)
Changelog Description
Paragraphs contain detailed information on the changes made to the product or service, providing an in-depth description of the updates and enhancements. They can be used to explain the reasoning behind the changes, or to highlight the importance of the new features. Paragraphs can often include links to further information or support documentation.
Additional info
Paragraphs of text giving context of additional technical information or code examples.
Testing notes: