From 22c4ddd86ca37be8fdfa7fa1003adf8cd2b5b3c6 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Mon, 11 Jul 2005 16:22:35 +0000
Subject: [PATCH] Please don't load solver plugins by default: for the vast
 majority of users, the structural solver options don't make any sense.

Just add Solver.Plugins=1 in your option file if you need that stuff.
---
 Plugin/Plugin.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Plugin/Plugin.cpp b/Plugin/Plugin.cpp
index c5a312a00d..fe1654c078 100644
--- a/Plugin/Plugin.cpp
+++ b/Plugin/Plugin.cpp
@@ -1,4 +1,4 @@
-// $Id: Plugin.cpp,v 1.77 2005-06-27 19:34:34 geuzaine Exp $
+// $Id: Plugin.cpp,v 1.78 2005-07-11 16:22:35 geuzaine Exp $
 //
 // Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle
 //
@@ -167,7 +167,7 @@ GMSH_PluginManager *GMSH_PluginManager::instance()
 void GMSH_PluginManager::registerDefaultPlugins()
 {
   // SOLVE PLUGINS
-  if(CTX.solver.plugins || 1){
+  if(CTX.solver.plugins){
     allPlugins.insert(std::pair < char *, GMSH_Plugin * >
 		      ("StructuralSolver", GMSH_RegisterStructuralSolverPlugin()));
   }
-- 
GitLab