Jump to content

PropertyBasedEffects: OnSetRenderInfo on OK


midora

Recommended Posts

Is the OnSetRenderInfo call after clicking OK intentional? There are no following OnRender calls...

It doesn't hurt but I'm curious 😉

 

midoras signature.gif

Link to comment
Share on other sites

Just to say, in the moment I'm using the above 'feature' to detect the 'DialogResult'.

I know that's a bad way to do it and I would prefer to get a clean solution for PropertyBasedEffects.

Maybe a virtual method OnConfigClosed( DialogResult result ) or OnConfigClosed( PropertyBasedEffectConfigToken finalToken, DialogResult result ).

 

BTW: For Tools Effects I would like to get EffectRenderingSchedule.DoNotRender 😉 Means there should be OnSetRenderInfo but no OnRender

midoras signature.gif

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.

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...