Skip to content

Commit

Permalink
print canceller
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhaddon committed Dec 7, 2023
1 parent b799a03 commit 44ff710
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Gaffer/Switch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,12 @@ size_t Switch::inputIndex( const Context *context ) const
globalScope.emplace( context, globalScopePlug );
}

std::cerr << "inputIndex canceller " << Context::current()->canceller() << std::endl;
if( Context::current()->canceller() && Context::current()->canceller()->cancelled() )
{
std::cerr << " CANCELLED!!!" << std::endl;
}

std::cerr << "inputIndex 1 " << fullName() << std::endl;

if( !enabledPlug->getValue() )
Expand Down

0 comments on commit 44ff710

Please sign in to comment.