mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0029868: Draw Harness - help message for readstl command is unclear
readstl syntax has been modified, so that it creates a single-face triangulation by default. The argument "trinagulation" is no more supported. The new argument "-brep" has been introduced to generate a compound of per-triangle faces instead (old default behavior of the command).
This commit is contained in:
@@ -416,7 +416,7 @@ Standard_Boolean RWStl_Reader::ReadBinary (Standard_IStream& theStream,
|
||||
const std::streamsize aDataToRead = aNbFacesInBuffer * aFaceDataLen;
|
||||
if (theStream.read (aBuffer, aDataToRead).gcount() != aDataToRead)
|
||||
{
|
||||
Message::DefaultMessenger()->Send ("Error: read filed", Message_Fail);
|
||||
Message::DefaultMessenger()->Send ("Error: binary STL read failed", Message_Fail);
|
||||
return false;
|
||||
}
|
||||
aBufferPtr = aBuffer;
|
||||
|
Reference in New Issue
Block a user