Skip to content

Commit

Permalink
Context UI function makes a copy of auto-pulled nodes before displayi…
Browse files Browse the repository at this point in the history
…ng properties
  • Loading branch information
richardeakin committed Oct 23, 2024
1 parent 347ceca commit 99e5ed1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/_audio/AudioTests/src/AudioTestsApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -370,11 +370,11 @@ void AudioTestsApp::updateContextUI()
audio::Node *hovered = nullptr;
printNodeFn( ctx->getOutput().get(), expand, &hovered );

size_t numAutoPulledNodes = ctx->getAutoPulledNodes().size();
if( numAutoPulledNodes ) {
const auto autoPulledNodes = ctx->getAutoPulledNodes();
if( autoPulledNodes.size() > 0 ) {
im::Separator();
im::Text( "auto pulled nodes: %d", numAutoPulledNodes );
for( const auto& node : ctx->getAutoPulledNodes() ) {
im::Text( "auto pulled nodes: %d", (int)autoPulledNodes.size() );
for( const auto& node : autoPulledNodes ) {
printNodeFn( node, expand, &hovered );
}
}
Expand Down

0 comments on commit 99e5ed1

Please sign in to comment.