Skip to content
Snippets Groups Projects
Commit a18e02b4 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

Don't show the Triangulate plugin if Triangle is not available
parent d788fc63
No related branches found
No related tags found
No related merge requests found
// $Id: Plugin.cpp,v 1.37 2003-03-01 22:36:44 geuzaine Exp $ // $Id: Plugin.cpp,v 1.38 2003-03-02 01:18:33 geuzaine Exp $
// //
// Copyright (C) 1997 - 2003 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997 - 2003 C. Geuzaine, J.-F. Remacle
// //
...@@ -145,9 +145,11 @@ void GMSH_PluginManager::RegisterDefaultPlugins() ...@@ -145,9 +145,11 @@ void GMSH_PluginManager::RegisterDefaultPlugins()
allPlugins.insert(std::pair < char *, allPlugins.insert(std::pair < char *,
GMSH_Plugin * >("Transform", GMSH_Plugin * >("Transform",
GMSH_RegisterTransformPlugin())); GMSH_RegisterTransformPlugin()));
#if defined(HAVE_TRIANGLE)
allPlugins.insert(std::pair < char *, allPlugins.insert(std::pair < char *,
GMSH_Plugin * >("Triangulate", GMSH_Plugin * >("Triangulate",
GMSH_RegisterTriangulatePlugin())); GMSH_RegisterTriangulatePlugin()));
#endif
allPlugins.insert(std::pair < char *, allPlugins.insert(std::pair < char *,
GMSH_Plugin * >("SphericalRaise", GMSH_Plugin * >("SphericalRaise",
GMSH_RegisterSphericalRaisePlugin())); GMSH_RegisterSphericalRaisePlugin()));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment