ECToo / pymel

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

PyNode.attr() and .hasAttr() checkShape keyword doesn't work anymore #236

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
using the checkShape keyword in .attr et .hasAttr methods doesn't seem to work 
anymore

What Version of Maya are you using?
win xp, maya 2009 x86

What Version of PyMEL are you using?
latest pymel from 2011-02-10

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.

loc=spaceLocator()
loc.getShape().addAttr('myattr', k=1)
loc.hasAttr('myattr', checkShape=False)

expecting False, but returns True

'k=1' keyword doesn't change anything, it was just for the test to check the 
attribute in the channel box

Original issue reported on code.google.com by wou...@gmail.com on 7 Mar 2011 at 4:05

GoogleCodeExporter commented 9 years ago

Original comment by elron...@gmail.com on 8 Mar 2011 at 3:26

GoogleCodeExporter commented 9 years ago
fixed in latest on github

Original comment by elron...@gmail.com on 8 Mar 2011 at 4:56