LumaPictures / pymel

Python in Maya Done Right
Other
479 stars 130 forks source link

AnimLayer.getAddSelectedObjects() should be AnimLayer.addSelectedObjects() #341

Open pmolodo opened 8 years ago

pmolodo commented 8 years ago

From Count....@gmail.com on October 22, 2013 14:20:08

the maya.cmds.animLayer(addSelectedObjects=True) should be wrapped to work like this: AnimLayer.addSelectedObjects()

instead it has a "get" in front of it which does not make sense and returns a: RuntimeError: No valid query flags were specified.

when factories are trying to wrap What Version of Maya are you using? 2014SP2 On what operating system? (be as specific as possible and include service packs, 64bit vs 32bit, etc) Win7 64-bit What Version of PyMEL are you using? 1.0.5 What is the expected output? What do you see instead? If possible, provide a few lines of code to reproduce the problem. It helps us if your code will reproduce the problem from a new scene. Does maya.cmds exhibit the same problem? Please provide any additional information below.

Original issue: http://code.google.com/p/pymel/issues/detail?id=308