On 28/11/11 14:24, Jeff Clifford wrote:
Hi,

I have a class that derives from both Iop & Executable

In my execute() method I am calling progressFraction

e.g.

progressFraction( 50, 100 );

However, I am finding that the Nuke GUI is just showing the "Rendering"
progress bar and not my one for my node.

What makes this strange is that if I have a modal message box then it
does work!

e.g. before the progressFraction() if the following message displays:

message_f( '?', "My question?" );

Somehow message_f is causing my progressBar to appear so I'm wondering
what I am missing in my code to force it to display?

Any help much appreciated.

You shouldn't have to, but try putting:

progressMessage("doing stuff...");

before the loop starts - see if that makes any difference...

Also, are you calling aborted() or cancelled() in the loop?

Peter
--
Peter Pearson, Software Engineer
The Foundry, 6th Floor, The Communications Building,
48 Leicester Square, London, UK, WC2H 7LT
Tel: +44 (0)20 7434 0449   Web: www.thefoundry.co.uk

The Foundry Visionmongers Ltd.
Registered in England and Wales No: 4642027
_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to