State:New|TargetRelease:No Target|icon_bug|icon_nuke|database:public|Resolution:Fixed|BugID:235588|
Problem summary
ShapeControlPoint.center and ShapeControlPoint.leftTangent properties are incorrectly mixed, so center actually affects leftTangent and leftTangent affects center.
Steps to reproduce
1) Open Nuke
2)Create a Roto node
3)Create a Bezier shape with 3+ points
4) Select the Roto node and run the below code:
r = nuke.selectedNode()
c = r['curves']
rootLayer = c.rootLayer
spline = rootLayer[0]
point = nuke.rotopaint.ShapeControlPoint()
point.center = (200,200)
spline.insert(1, point)
Nuke will now insert a point, with only the leftTangent defined. If you change the point.center code to point.leftTangent then it creates a point with just the center point defined.We're sorry to hear that
Please tell us why