ECToo / pymel

Automatically exported from code.google.com/p/pymel
0 stars 0 forks source link

select([], add=True) in pymel v1.0.0 #240

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Describe the problem.
    as title, select([], add=True), even when flag "add" is set, giving a empty list to select command will clear the active selection list

What Version of Maya are you using?
    2011

On what operating system? (be as specific as possible and include service
packs, 64bit vs 32bit, etc)
    Linux - Ubuntu Ltd 10.04 64bit

What Version of PyMEL are you using?
    1.0.0

What is the expected output? What do you see instead?
    It should do nothing, I guess

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.
    import pymel.core as pm
    pm.select('persp')
    pm.select([], add=True)

Does maya.cmds exhibit the same problem?
    maya.cmds does not accept empty list as argument

Please provide any additional information below.

Original issue reported on code.google.com by yglin.ml...@gmail.com on 29 Mar 2011 at 7:33

GoogleCodeExporter commented 9 years ago
fixed in latest on github

Original comment by elron...@gmail.com on 29 Mar 2011 at 4:15

GoogleCodeExporter commented 9 years ago

Original comment by elron...@gmail.com on 29 Mar 2011 at 4:16