openfx icon indicating copy to clipboard operation
openfx copied to clipboard

OFX::OverlayInteract::draw will not be called

Open ramin-raeisi opened this issue 4 years ago • 2 comments

Problem

Having an OverlayInteract instance in a plugin, overridden OFX::OverlayInteract::draw method will not be called after loading a saved project in Davinci Resolve, while it will be called in a newly created project

I had the issue with my own developed plugin, but as a reference I decided to check the provided basic sample in the C++ Support folder and it was the same behavior there.

Support/Plugins/Basic

ramin-raeisi avatar Jun 23 '21 08:06 ramin-raeisi

On lower left side of display there is a menu with option to display Overlays - this has to be turned on Resolve

revisionfx avatar Jun 25 '21 22:06 revisionfx

Thank you @revisionfx for your response, that issue got resolved and now draw method is being called but there is an access violation on a line of glTexImage2D call in loading mode(after loading a saved project and enabling the OpenFX Overlays), but it works properly without any access violation during a new project.

I debugged a lot and now I just can think of wrong OpenGL context?

I wonder if you might have any idea?

ramin-raeisi avatar Jun 28 '21 21:06 ramin-raeisi