mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0031501: Foundation Classes, Message_Printer - remove theToPutEndl argument -- use shortcuts
Message::DefaultMessenger()->Send() have been replaced by shortcuts Message::Send().
This commit is contained in:
@@ -127,22 +127,19 @@ Handle(Image_PixMap) Graphic3d_CubeMapSeparate::Value()
|
||||
}
|
||||
else
|
||||
{
|
||||
Message::DefaultMessenger()->Send(TCollection_AsciiString() +
|
||||
"'" + aFilePath + "' inconsistent image format or dimension in Graphic3d_CubeMapSeparate");
|
||||
Message::SendWarning (TCollection_AsciiString() + "'" + aFilePath + "' inconsistent image format or dimension in Graphic3d_CubeMapSeparate");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Message::DefaultMessenger()->Send(TCollection_AsciiString() +
|
||||
"Unable to load '" + aFilePath + "' image of Graphic3d_CubeMapSeparate");
|
||||
Message::SendWarning (TCollection_AsciiString() + "Unable to load '" + aFilePath + "' image of Graphic3d_CubeMapSeparate");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Message::DefaultMessenger()->Send(TCollection_AsciiString() +
|
||||
"[" + myCurrentSide + "] path of Graphic3d_CubeMapSeparate is invalid");
|
||||
Message::SendWarning (TCollection_AsciiString() + "[" + myCurrentSide + "] path of Graphic3d_CubeMapSeparate is invalid");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user