Rig Patch – Fix for mDrake Eyes

There’s a bug on mDrake’s eyes stemming from a hierarchical issue with the rig. I’ll be updating the asset soon but if you want to fix the eyes until then use this in a python tab.

d_fix = {'left':{'l': [u'|master|rig|parts|L_eye|L_eye_rigNull|uprLid_driven_crv',
                      u'|master|rig|parts|L_eye|L_eye_rigNull|LwrLid_driven_crv',
                      u'|master|rig|parts|L_eye|L_eye_rigNull|uprLid_blink_crv',
                      u'|master|rig|parts|L_eye|L_eye_rigNull|LwrLid_blink_crv',
                      u'|master|rig|parts|L_eye|L_eye_rigNull|smartBlink_driven_crvBaseWire',
                      u'|master|rig|parts|L_eye|L_eye_rigNull|smartBlink_driven_crvBaseWire1',
                      u'|master|rig|parts|L_eye|L_eye_rigNull|LwrLid_driver_crvBaseWire',
                      u'|master|rig|parts|L_eye|L_eye_rigNull|uprLid_driver_crvBaseWire'],
                 'target':'eyeRoot_anim_master_grp|eyeRoot_anim'},
         'right':{'l': [u'|master|rig|parts|R_eye|R_eye_rigNull|uprLid_driven_crv',
                       u'|master|rig|parts|R_eye|R_eye_rigNull|LwrLid_driven_crv',
                       u'|master|rig|parts|R_eye|R_eye_rigNull|uprLid_blink_crv',
                       u'|master|rig|parts|R_eye|R_eye_rigNull|LwrLid_blink_crv',
                       u'|master|rig|parts|R_eye|R_eye_rigNull|smartBlink_driven_crvBaseWire2',
                       u'|master|rig|parts|R_eye|R_eye_rigNull|smartBlink_driven_crvBaseWire3',
                       u'|master|rig|parts|R_eye|R_eye_rigNull|LwrLid_driver_crvBaseWire1',
                       u'|master|rig|parts|R_eye|R_eye_rigNull|uprLid_driver_crvBaseWire1'],
                  'target':'eyeRoot_anim_grpeyeRoot_anim_master_grp|eyeRoot_anim'}}

import cgm.core.cgm_Meta as cgmMeta
for s,d in d_fix.iteritems():
    print 'Doing ' + s
    mTar = cgmMeta.asMeta(d['target'])
    ml = cgmMeta.validateObjListArg(d['l'],noneValid=True)
    for i,mObj in enumerate(ml):
        if not mObj:
            print "failed to find: " + d['l'][i]
            continue
        mObj.p_parent = mTar

 

Josh Burton

[MRS Project Lead | CG Monks] Josh is an animator turned TD who hails from Oklahoma, pre-undergrad in the Marine Corps, animation basics at Savannah College of Art and Design, cut his teeth in gaming and commercials before co-founding CG Monks and more recently the CG Monastery. The Morpheus Rigging System is a culmination of years of R&D and he is now thrilled to see what users can create, collaborate and expand on with this open source MRS platform.