Skip to content
Discussion options

You must be logged in to vote

Ok, I found the culprit(s).

The result of the compilation:
auto result = _app->_viewer->compileManager->compile(_app->_loaded_scene);
must be passed to a call to
vsg::updateViewer(*(_app->_viewer), result);
before attaching the new subgraph in an update operation executed the main thread.

As I said, I'm fairly new to VSG. Sorry for the noise.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@FrancoisBerard
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by FrancoisBerard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants