Skip to content

Commit 62ea3f9

Browse files
[SofaPython3] allowing arguments (#162)
1 parent 06824e8 commit 62ea3f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plugin/src/SofaPython3/SceneLoaderPY3.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ void SceneLoaderPY3::loadSceneWithArguments(const char *filename,
8686
const std::vector<std::string>& arguments,
8787
Node::SPtr root_out)
8888
{
89-
SOFA_UNUSED(arguments);
89+
PythonEnvironment::setArguments(SetDirectory::GetFileName(filename).c_str(), arguments);
9090
PythonEnvironment::gil lock;
9191

9292
try{

0 commit comments

Comments
 (0)