Commit a6e02a42 authored by Matthias Möller's avatar Matthias Möller
Browse files

nogui support

closes #2384

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@20255 383ad7c9-94d9-4d36-a494-682f7c89f535
parent e9a3656a
...@@ -55,6 +55,7 @@ thread_(0) ...@@ -55,6 +55,7 @@ thread_(0)
/// init the Toolbox /// init the Toolbox
void IsotropicRemesherPlugin::initializePlugin() { void IsotropicRemesherPlugin::initializePlugin() {
if ( OpenFlipper::Options::gui() ) {
tool_ = new IsotropicRemesherToolBox(); tool_ = new IsotropicRemesherToolBox();
QSize size(300, 300); QSize size(300, 300);
...@@ -68,6 +69,7 @@ void IsotropicRemesherPlugin::initializePlugin() { ...@@ -68,6 +69,7 @@ void IsotropicRemesherPlugin::initializePlugin() {
toolIcon_ = new QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"remesher.png"); toolIcon_ = new QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"remesher.png");
emit addToolbox( tr("Isotropic Remesher") , tool_, toolIcon_ ); emit addToolbox( tr("Isotropic Remesher") , tool_, toolIcon_ );
}
} }
void IsotropicRemesherPlugin::slotRemeshButtonClicked() { void IsotropicRemesherPlugin::slotRemeshButtonClicked() {
......
...@@ -153,6 +153,7 @@ public slots: ...@@ -153,6 +153,7 @@ public slots:
public slots: public slots:
QString version() { return QString("1.0"); }; QString version() { return QString("1.0"); };
void noguiSupported( ) {} ;
}; };
#endif //ISOTROPICREMESHERPLUGIN_HH #endif //ISOTROPICREMESHERPLUGIN_HH
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment