diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-01-18 17:52:56 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-01-18 17:52:56 +0100 |
commit | c5d8be097554e5735748577e7967fae11b32d388 (patch) | |
tree | dbaefc8e5abca575a2b2d46857f3c77ffd67d935 /drumgizmo | |
parent | b4c5914c7a4fc04051dca9e745dcaeee83a62475 (diff) |
Fix debug output filters (take 2).
Diffstat (limited to 'drumgizmo')
-rw-r--r-- | drumgizmo/drumgizmoc.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drumgizmo/drumgizmoc.cc b/drumgizmo/drumgizmoc.cc index a0cbe4d..1ccc151 100644 --- a/drumgizmo/drumgizmoc.cc +++ b/drumgizmo/drumgizmoc.cc @@ -34,10 +34,6 @@ #include <hugin.hpp> -#ifndef HUG_FLAG_DEFAULT -#define HUG_FLAG_DEFAULT 0 -#endif - #include "drumgizmo.h" #include "drumgizmoc.h" @@ -123,7 +119,10 @@ int CliMain::run(int argc, char *argv[]) int c; std::string hugin_filter; - unsigned int hugin_flags = HUG_FLAG_DEFAULT; + unsigned int hugin_flags = 0; +#ifndef DISABLE_HUGIN + hugin_flags = HUG_FLAG_DEFAULT; +#endif/*DISABLE_HUGIN*/ std::string outputengine; std::string inputengine; |