Open pmolodo opened 8 years ago
From skalman...@gmail.com on March 11, 2013 05:39:22
Most of the time, when using getEdgeVertices(), the function returns [0, 0] for the majority of edges.
If I execute the code below five times with a simple polyPlane selected...
import pymel.core as pm selection = pm.ls(sl = True) node = selection[0]
edge_index = 2 node.getEdgeVertices(edge_index)
...the results looks like this:
I have tested it on: Windows 8 Pro x64
Using:
When I'm using Maya 2013 x86 Educational Version with PyMEL 1.0.4, the results looks like this:
Original issue: http://code.google.com/p/pymel/issues/detail?id=294
From skalman...@gmail.com on March 11, 2013 05:44:43
By getEdgeVertices() I mean pymel.core.nodetypes.Mesh.getEdgeVertices(edgeId)
From skalman...@gmail.com on March 11, 2013 05:39:22
Most of the time, when using getEdgeVertices(), the function returns [0, 0] for the majority of edges.
If I execute the code below five times with a simple polyPlane selected...
---Start----
import pymel.core as pm selection = pm.ls(sl = True) node = selection[0]
edge_index = 2 node.getEdgeVertices(edge_index)
---End------
...the results looks like this:
Result: [0, 0]
Result: [0, 0]
Result: [0, 0]
Result: [1, 3] # (correct)
Result: [0, 0]
I have tested it on: Windows 8 Pro x64
Using:
When I'm using Maya 2013 x86 Educational Version with PyMEL 1.0.4, the results looks like this:
Result: [1, 3] # (correct)
Result: [0, 0]
Result: [0, 0]
Result: [907632248, 295]
Result: [1, 3] # (correct)
Original issue: http://code.google.com/p/pymel/issues/detail?id=294