Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

[QUAD] Maya Publish Collect Handles: Add new collector to fix issues with the handles for render #6297

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

BenSouchet
Copy link

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:

  1. start with this step
  2. follow this step

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']}")
Copy link

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']}")
Copy link

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"))
Copy link

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"))
Copy link

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)
Copy link

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"]
Copy link

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.
Copy link

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
Copy link

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)

@ynbot ynbot added type: enhancement Enhancements to existing functionality host: Maya size/XS Denotes a PR changes 0-99 lines, ignoring general files labels Sep 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
host: Maya size/XS Denotes a PR changes 0-99 lines, ignoring general files type: enhancement Enhancements to existing functionality
Projects
Status: Pending Review
Development

Successfully merging this pull request may close these issues.

2 participants