Jump to content

Menu script refreshes per frame


jonas.borgman

Recommended Posts

I have a subnet with a ordered menu that is populated by a python script and in the subnet i have references to this parameter.

The menu script refers to a file path parameter.

However, it seems as though this menu script gets updated every frame, and slows down my playback considerably.

Can i somehow limit the refresh of the menus?, and optimally to only when the text field gets updated?

 

Thanks

/Jonas

Link to comment
Share on other sites

so i figured that it isn't the menu itself that updates, but rather calculates anew every time my parm in the subnet references it.

Can i tell the parms in my subnet to get cached values or something, so the menu doesn't have to recook multiple times (each time for every parameter referencing it)?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...