Skip to content
Snippets Groups Projects
Commit e6982e47 authored by Francois Henrotte's avatar Francois Henrotte
Browse files

mergeFile + .py + launchAtStartup

parent 57364e2f
Branches
Tags
No related merge requests found
...@@ -428,14 +428,14 @@ int MergeFile(const std::string &fileName, bool warnIfMissing) ...@@ -428,14 +428,14 @@ int MergeFile(const std::string &fileName, bool warnIfMissing)
} }
else if(ext == ".py"){ else if(ext == ".py"){
FlGui::instance()->onelab->addSolver("python", fileName, "", 1); FlGui::instance()->onelab->addSolver("python", fileName, "", 1);
onelab_cb(0, (void*)"check"); //onelab_cb(0, (void*)"check");
status = 1; status = 1;
/* tester ceci: /* tester ceci:*/
int num = defineSolver("python"); int num = defineSolver("python");
opt_solver_executable(num, GMSH_SET, fileName); opt_solver_executable(num, GMSH_SET, fileName);
CTX::instance()->launchSolverAtStartup = num; CTX::instance()->launchSolverAtStartup = num;
return 1; return 1;
*/ /**/
} }
#endif #endif
else { else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment