In January 2021 we will introduce a 10 GB quota for project repositories. Higher limits for individual projects will be available on request. Please see https://doku.lrz.de/display/PUBLIC/GitLab for more information.

Introducing AbstractPipeline::forceExecuteProcessor().

parent 0806d758
......@@ -276,6 +276,17 @@ namespace campvis {
return _processors[index];
}
void AbstractPipeline::forceExecuteProcessor(AbstractProcessor* processor) {
bool enabledState = processor->getEnabled();
int invalidationLevel = processor->getInvalidationLevel();
processor->setEnabled(true);
processor->invalidate(AbstractProcessor::INVALID_RESULT);
executeProcessor(processor);
processor->setEnabled(enabledState);
}
}
......@@ -206,6 +206,12 @@ namespace campvis {
*/
void setPipelineDirty();
/**
* Forces the execution of the given processor regardless of its invalidation or enabled state.
* \param processor Processor to execute.
*/
void forceExecuteProcessor(AbstractProcessor* processor);
/**
* Executes the processor \a processor on the pipeline's data and locks its properties meanwhile.
* \param processor Processor to execute.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment