0031743: Draw Harness - fix misprint in Draw_Interpretor::SetToColorize()
authorkgv <kgv@opencascade.com>
Mon, 31 Aug 2020 08:03:01 +0000 (11:03 +0300)
committerbugmaster <bugmaster@opencascade.com>
Wed, 2 Sep 2020 15:54:31 +0000 (18:54 +0300)
src/Draw/Draw_Interpretor.cxx

index 53f42be..b6655f5 100644 (file)
@@ -299,7 +299,7 @@ void Draw_Interpretor::SetToColorize (Standard_Boolean theToColorize)
   {
     if (Handle(Message_PrinterOStream) aPrinter = Handle(Message_PrinterOStream)::DownCast (aPrinterIter.Value()))
     {
-      aPrinter->SetToColorize (Standard_False);
+      aPrinter->SetToColorize (theToColorize);
     }
   }
 }