Skip to content

Commit

Permalink
register the plugin in the PluginManager
Browse files Browse the repository at this point in the history
  • Loading branch information
alxbilger committed Dec 11, 2024
1 parent 741fd98 commit 00132ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/SoftRobots/component/initSoftRobots.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ void init()
}
first = false;

// make sure that this plugin is registered into the PluginManager
sofa::helper::system::PluginManager::getInstance().registerPlugin(MODULE_NAME);

// Automatically load the STLIB plugin if available.
if( !PluginManager::getInstance().findPlugin("STLIB").empty() )
{
Expand Down

0 comments on commit 00132ac

Please sign in to comment.