Skip to content

[BUG] Plebes Constrain to Rig not working #502

@sonix1522

Description

@sonix1522

🐞 Bug Report

Description

Plebes function Constrain to Rig not working on any template ( but mostly tested on custom .json that was made to work with our skeleton hierarchy ).

Steps to Reproduce

  1. Use Rig Plebe to Import FBX, Import Guides, Align Guides and Build Rig.
  2. Use Constrain to Rig function
  3. observe

Expected Behavior

Would expect the rig to be constrain to our custom skeleton.

Actual Behavior

Error in Maya script editor ->

Error: TypeError: file ...\Documents\maya\modules\scripts\mgear\shifter\plebes.py line 111: Plebes.constrain_to_rig() missing 1 required positional argument: ‘nothing’

Maya Version

  • Maya Version: _2024
  • OS: Windows 11

mGear Version

  • mGear Version: 5.0.4

Additional Context

I had a quick look at the plebes.py file and simply changed this

def constrain_to_rig(self, nothing):

to this

def constrain_to_rig(self):

after that, the rig was constrain correctly without any error.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

5.0.7

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions