Hi All,
I have a very simple test case that exhibits some odd behaviour in 6.2v1
set cut_paste_input [stack 0]
version 6.1 v5
ColorWheel {
inputs 0
gamma 0.45
name ColorWheel1
selected true
xpos -181
ypos -203
}
AdjBBox {
numpixels -280
name AdjBBox1
selected true
xpos -181
ypos -92
}
set N38e2690 [stack 0]
Reformat {
type "to box"
box_width {{"\[python dynCrop()\\\[0\\]]"}}
box_height {{"\[python dynCrop()\\\[1\\]]" x1 10 x20 1168}}
box_fixed true
resize none
center false
name Reformat1
selected true
xpos 100
ypos -92
disable {{parent.disableReformat}}
}
push $N38e2690
push $N38e2690
Viewer {
inputs 3
frame 1
input_number 2
viewerProcess None
input_process false
name Viewer1
selected true
xpos 100
}
with dynCrop defined in the init.py file as
def dynCrop0():
'dummy crop function'
return nuke.root().width(),nuke.root().height(), 0 , 0
The odd thing is what happens when the viewer switches between buffers 1 and 3:
Going from 1 to 3 initially shows me an odd image with an odd image bbox.
However, upon hitting '3' again I recover the expected result. (you need to do
the 1-3 cycle a couple of times for this to kick in)
I get the same results on Nuke 6.1v5.
Anyone have any thoughts what is going on here?
(this is a distilled case of an test that uses a Geo node that makes things go
very wrong ... )
Cheers
Piotr
_______________________________________________
Nuke-dev mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev