ECToo / pymel

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

getAllParents in nodetypes.py using missing parameters #262

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Describe the problem.

The code for getAllParents in 1.03rc2 is bad:

    def getAllParents(self):
        """
        Return a list of all parents above this.

        Starts from the parent immediately above, going up.

        :rtype: `DagNode` list
        """
        return self.getParent(generations=None, arrays=arrays)

old 1.03 branch is correct, someone added --> , arrays=arrays  and arrays is 
obviously undefined.

What Version of PyMEL are you using?

1.03r2

Original issue reported on code.google.com by amor...@gmail.com on 11 Oct 2011 at 8:29

GoogleCodeExporter commented 9 years ago
the 1.0.3rc2 commit is older than 1.0.3 tag (rc stands for release candidate) - 
so since this was fixed in 1.0.3 (and afterwards), closing this ticket

sorry for the confusion - the 1.0.3rc2 tag was actually added after 1.0.3 tag, 
even though it points to an older commit... and this was likely what tripped 
you up

Original comment by elron...@gmail.com on 12 Oct 2011 at 6:34

GoogleCodeExporter commented 9 years ago
Danke Shoen.  I pulled the latest and sure enough. I will make sure to yank the 
latest next time if I find anything out of the norm.

Cheers!

Original comment by amor...@gmail.com on 12 Oct 2011 at 2:52