Skip to content
Snippets Groups Projects
Commit 022c9550 authored by Jean-François Remacle's avatar Jean-François Remacle
Browse files

Adding a line for plugins

parent 633b7b74
No related branches found
No related tags found
No related merge requests found
// $Id: Main.cpp,v 1.18 2001-02-20 18:32:58 geuzaine Exp $
// $Id: Main.cpp,v 1.19 2001-03-04 22:58:01 remacle Exp $
#include <signal.h>
......@@ -18,6 +18,7 @@
#include "GUI.h"
#include "OpenFile.h"
#include "GetOptions.h"
#include "Plugin.h"
GUI *WID = NULL;
......@@ -45,6 +46,7 @@ int main(int argc, char *argv[]){
if(CTX.verbosity && CTX.terminal)
fprintf(stderr, "%s, Version %.2f\n", gmsh_progname, GMSH_VERSION);
// Initialize the static Mesh
M.Vertices = NULL ;
......@@ -123,6 +125,9 @@ int main(int argc, char *argv[]){
WID->check();
// Register Default Plugins (in test ...)
GMSH_PluginManager::Instance()->RegisterDefaultPlugins();
// Open project file
OpenProblem(CTX.filename);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment