Skip to content

Commit

Permalink
Set input datasets for transformation plugin in PluginManager::reques…
Browse files Browse the repository at this point in the history
…tPlugin(...)
  • Loading branch information
ThomasKroes committed Nov 25, 2024
1 parent a4bcf9d commit 52d60a4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ManiVault/src/private/PluginManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,16 @@ plugin::Plugin* PluginManager::requestPlugin(const QString& kind, Datasets input

break;
}

case plugin::Type::TRANSFORMATION: {
auto analysisPlugin = dynamic_cast<TransformationPlugin*>(pluginInstance);

if (!inputDatasets.isEmpty())
analysisPlugin->setInputDatasets(inputDatasets);

break;
}

case plugin::Type::WRITER: {
auto writerPlugin = dynamic_cast<WriterPlugin*>(pluginInstance);

Expand Down

0 comments on commit 52d60a4

Please sign in to comment.