From: emv Date: Fri, 1 Apr 2016 07:01:15 +0000 (+0300) Subject: 0027332: Duplicate output from Draw Interpreter in cout in the debug function Draw_Eval X-Git-Tag: V7_0_winwerth~113 X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff_plain;h=476d6b14a6c6eb0f6606f1f3c684a96f1e348325 0027332: Duplicate output from Draw Interpreter in cout in the debug function Draw_Eval --- diff --git a/src/Draw/Draw_Debug.cxx b/src/Draw/Draw_Debug.cxx index 01ffb2e97f..87407e7144 100644 --- a/src/Draw/Draw_Debug.cxx +++ b/src/Draw/Draw_Debug.cxx @@ -33,6 +33,7 @@ Standard_EXPORT const char* Draw_Eval (const char *theCommandStr) try { OCC_CATCH_SIGNALS theCommands.Eval (theCommandStr); + cout << theCommands.Result() << endl; return theCommands.Result(); } catch (Standard_Failure)