ID 140694 - Incorrect values are displayed when using xpos & ypos data values in Python.

Follow

Problem summary
Incorrect values are displayed when using xpos & ypos data values in Python.


Customer reported version
nuke.12.0v3


Customer reported platform
centos7


Steps to reproduce

1) In Nuke, open the Script Editor.

2) Create a Group node and keep it selected.

3) Run the following snippet:

node = nuke.createNode( 'NoOp' )

print node['xpos'].value()

node = nuke.createNode( 'NoOp' )

print node['xpos'].value()

3) Observe the output in Script Editor.


Expected behavior
The values should be accurately displayed for each node.


Actual behavior
An incorrect value is displayed when having a second node['xpos'] printed.


Workaround
There is no available workaround at this time.


Reproduced by Support in
Nuke 12.0v3 - Windows 10, CentOS 7, macOS 10.13

Nuke 12.0v1 - Windows 10

Nuke 11.3v5 - Windows 10

Nuke 11.3v1 - Windows 10

Nuke 11.2v1 - Windows 10

Nuke 11.1v1 - Windows 10

Nuke 11.0v1 - Windows 10

Nuke 10.5v1 - Windows 10

Nuke 10.0v1 - Windows 10

Nuke  9.0v1 - Windows 10

Nuke  8.0v1 - Windows 10, CentOS 7, macOS 10.13


Earliest version tested
Nuke 8.0v1 - This issue appears to be in all versions of the product

    We're sorry to hear that

    Please tell us why