Commit 3df868fd authored by Christian Schulte zu Berge's avatar Christian Schulte zu Berge
Browse files

Fixed GenericImageReader referencing DevilImageReader even if the...

Fixed GenericImageReader referencing DevilImageReader even if the corresponding module was not present.
parent 0794b27f
......@@ -48,8 +48,10 @@ namespace campvis {
this->addReader(new MhdImageReader());
this->addReader(new RawImageReader());
this->addReader(new VtkImageReader());
this->addReader(new DevilImageReader());
#ifdef CAMPVIS_HAS_MODULE_DEVIL
this->addReader(new DevilImageReader());
#endif
this->_ext = "";
this->_currentlyVisible = nullptr;
......
......@@ -39,7 +39,9 @@
#include "modules/io/processors/rawimagereader.h"
#include "modules/io/processors/vtkimagereader.h"
#ifdef CAMPVIS_HAS_MODULE_DEVIL
#include "modules/devil/processors/devilimagereader.h"
#endif
namespace campvis {
/**
......
Markdown is supported
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