We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f5b900 commit 7be48a3Copy full SHA for 7be48a3
1 file changed
src/Main/Seg3DBase.cc
@@ -128,9 +128,6 @@ Seg3DBase::Seg3DBase() :
128
display_splash_screen(!Core::Application::Instance()->is_command_line_parameter( "nosplash")),
129
start_sockets(false)
130
{
131
-#if defined (_WIN32)
132
- RedirectIOToConsole();
133
-#endif
134
boost::filesystem::path path;
135
Core::Application::Instance()->get_application_filename(path);
136
this->program_name = path.string();
@@ -187,6 +184,9 @@ bool Seg3DBase::initialize()
187
184
Core::RolloverLogFile event_log( Core::LogMessageType::ALL_E );
188
185
189
186
#ifndef NDEBUG
+#if defined (_WIN32)
+ RedirectIOToConsole();
+#endif
190
// -- Stream errors to console window
191
new Core::LogStreamer( Core::LogMessageType::ALL_E, &std::cerr );
192
#endif
0 commit comments