Skip to content

Eye Rigger 2.0, Facial Rigger - no attribute ‘longName’ #506

@gyuen3d

Description

@gyuen3d

🐞 Bug Report

Description

Hi there, I was trying out the eye rigger 2.0 and all the joints and ctls seem to have generated but the tool does not skin. The same error occurs when using Facial Rigger 1.0

I get the error:
AttributeError: ‘MeshEdge’ object has no attribute ‘longName’

The object I am rigging is a mesh and has a shape node.

Thanks
Maya 2024.2, mGear 5.0.6

Steps to Reproduce

  1. Filled out the appropriate fields in the tool and built rig.

Expected Behavior

Expected the eye rig to be skinned to the mesh.

Actual Behavior

All the joints and ctls have generated but the tool does not skin to the target mesh.

Maya Version

  • Maya Version: 2024.2
  • Windows 11

mGear Version

  • mGear Version: 5.0.6

Error Log Formatting

If an error message appears, please provide the complete log:

  1. Copy & Paste the full error message between triple backticks (```) like this:
# Traceback (most recent call last):
#   File "C:\Users\gyuen\OneDrive\Documents\maya\modules\scripts\mgear\rigbits\facial_rigger\lips_rigger.py", line 1106, in build_rig
#     rig(**lib.get_settings_from_widget(self))
#   File "C:\Users\gyuen\OneDrive\Documents\maya\modules\scripts\mgear\rigbits\facial_rigger\lips_rigger.py", line 133, in rig
#     geo = pm.listRelatives(edge_loop[0], parent=True)[0]
#   File "C:\Users\gyuen\OneDrive\Documents\maya\modules\scripts\mgear\pymaya\cmd.py", line 618, in listRelatives
#     return _listRelatives(dag_path, **kwargs)
#   File "C:\Users\gyuen\OneDrive\Documents\maya\modules\scripts\mgear\pymaya\cmd.py", line 462, in _listRelatives
#     dag_path = dag_path.longName()
# AttributeError: 'MeshEdge' object has no attribute 'longName'

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