chrisevans3d / poseWrangler

A simple visual front end to the Maya UE4 RBF plugin delivered with MetaHumans
Apache License 2.0
156 stars 43 forks source link

Maya 2020 compatability #2

Open AndyInTX opened 3 years ago

AndyInTX commented 3 years ago

Thanks for the Tool Chris! I found some issues when working with Maya 2020. I had to add a couple of lines of code to make it work. I'm not sure what "Radius" dose on the solver node, but in 2020 it was being created with a value of 0, which was breaking our RBF poses (well they just wern't being applied when no in Edit mode. (sorry if this isnt the way to go about it, I'm a git noob)

In poseWrangler.create_UE4RBFSolverNode() [line 167] cmds.setAttr((self.solver + '.automaticRadius'), 1)

and in poseWranglerUI.init() [line 52]

version = cmds.about(version=True)
if not cmds.pluginInfo(('MayaUE4RBFPlugin' + version), q=True, loaded=True):
            cmds.loadPlugin(('MayaUE4RBFPlugin' + version))

Thanks and hope it helps! Andy Seredy

AndyInTX commented 3 years ago

Oh also, Turtle was throwing this error, and I believe it may be caused by the mayaUE4RBFPlugin2020.mll registering nodes weirdly. I couldnt figure it out, so I just unloaded Turtle and the problem "went away". haha. Hope it helps.

// Error: file: C:/Program Files/Autodesk/Maya2020/scripts/turtle/ilrUserInterface.mel line 4741: No object matches name: wrist_outer_l_ue4PoseBlender_mx_decompose //