C++ Scene Explorer disable updates

C++ Scene Explorer disable updates

istan
Advisor Advisor
857 Views
2 Replies
Message 1 of 3

C++ Scene Explorer disable updates

istan
Advisor
Advisor

Is there an interface to supress any updates/refreshes for the scene-explorer or layer-explorer? I am not talking about the viewports but about these extra non-modal windows the user could open with "Toggle Scene/Layer Explorer".

I know, there exists a SuspendAll class, but  setting sceneExplorerUpdates to TRUE is still updating/refreshing those windows.

Alternatively, is there a way to close all these non-modal windows from C++/MXS?

0 Likes
858 Views
2 Replies
Replies (2)
Message 2 of 3

denisT.MaxDoctor
Advisor
Advisor

@istan wrote:

C++ Scene Explorer disable updates


isn't it enough to just disable the window?

 

edited...

Hmm ... that's not enough. We can try to temporarily set our own window procedure and filter or override (or modify) the input messages.

0 Likes
Message 3 of 3

istan
Advisor
Advisor

Hi Denis,

I think, I will simply close all these windows temporarily.  I was not able to find a C++ interface, but I'm going to use MXS instead. If the result is more or less acceptable, users have to live with it 😉

0 Likes