Skip to content

Misc. type hint fixes.#586

Merged
miquelcampos merged 1 commit intomgear-dev:masterfrom
timothyliu3d:5.1.2-fix-type-hints
Dec 15, 2025
Merged

Misc. type hint fixes.#586
miquelcampos merged 1 commit intomgear-dev:masterfrom
timothyliu3d:5.1.2-fix-type-hints

Conversation

@timothyliu3d
Copy link
Copy Markdown
Contributor

@timothyliu3d timothyliu3d commented Nov 24, 2025

Description of Changes

Fix incorrect type hints resulting in false warnings when developing components.

Additional code changes:

  • Fix mutable default args in mgear.core.icon functions' color params.
  • Fix mutable default arg in mgear.shifter.Rig.findRelative() function's relatives_ma[ param.
  • Remove redundant print() in mgear.shifter.Rig.finalize().

Testing Done

Maya 2026
mGear 5.1.2

Related Issue(s)

N/A

@miquelcampos miquelcampos self-assigned this Nov 25, 2025
@miquelcampos miquelcampos added the enhancement New feature or request label Nov 25, 2025
@miquelcampos
Copy link
Copy Markdown
Member

Thanks for the PR @timothyliu3d

@github-project-automation github-project-automation bot moved this to To Do in mGear DEV Nov 25, 2025
@miquelcampos miquelcampos moved this from To Do to WIP in mGear DEV Nov 25, 2025
@miquelcampos miquelcampos merged commit affe64a into mgear-dev:master Dec 15, 2025
0 of 3 checks passed
@github-project-automation github-project-automation bot moved this from WIP to 5.2.0 in mGear DEV Dec 15, 2025
@timothyliu3d timothyliu3d deleted the 5.1.2-fix-type-hints branch January 12, 2026 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: 5.2.0

Development

Successfully merging this pull request may close these issues.

2 participants