Port (parameter) evaluation dirtying work items

   308   0   1
User Avatar
Member
183 posts
Joined: March 2011
Offline
Hi,

I have an hda that I'm using parameters to update some work item attributes. For that, I've duplicated the parameters from the hda to the python script node inside, and than I referenced the parameters using hscript channel references.
When I evaluate the hda, with the python script node reading the attributes using the pdg port method, It makes the work item dirty right after evaluation (in-process). Just after a second cook, It will change the WI state as cooked (bright green).
I've done the same thing, but instead reading the channels using the hou module, and the behavior changes. The work item is marked as cooked (bright green) right in the first cook.

Am I missing something here or It's a bug? Shouldn't It mark as cooked (bright green) in the first cook using both methods?

Attachments:
hou.png (376.8 KB)
pdg.png (353.0 KB)

  • Quick Links