Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Redundant pm.parent Call in createGhostCtl to Fix Error with mgear.pymaya #467

Merged
merged 1 commit into from
Mar 4, 2025

Conversation

yamahigashi
Copy link
Contributor

Description of Changes

This PR removes an unnecessary pm.parent(shape, newCtl, r=True, s=True) call in the createGhostCtl function. Previously, importing pymel.core as pm masked the issue because there was no error, but switching to import mgear.pymaya as pm causes an error on this redundant parent call. Since the second pm.parent is not needed, it has been removed for clarity and compatibility.

Testing Done

Confirmed that removing the redundant call does not affect the final hierarchy or shape assignment.

Related Issue(s)

Please link the related issues.

@miquelcampos miquelcampos self-assigned this Feb 20, 2025
@miquelcampos
Copy link
Member

@yamahigashi thanks for the PR!

@miquelcampos miquelcampos merged commit a100235 into mgear-dev:master Mar 4, 2025
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 4.2.x
Development

Successfully merging this pull request may close these issues.

2 participants