1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0033474: Data Exchange - Implement stream reading into RWMesh interface

Stream usage as parameter
This commit is contained in:
ichesnok
2023-09-12 11:58:55 +01:00
committed by dpasukhi
parent bd651bbbd9
commit 0435edfe54
11 changed files with 149 additions and 88 deletions

View File

@@ -170,6 +170,10 @@ Standard_OStream& operator << (Standard_OStream& theOutput,
void VrmlData_Scene::SetVrmlDir (const TCollection_ExtendedString& theDir)
{
TCollection_ExtendedString& aDir = myVrmlDir.Append (theDir);
if (aDir.IsEmpty())
{
return;
}
const Standard_ExtCharacter aTerminator = aDir.Value(aDir.Length());
if (aTerminator != Standard_ExtCharacter('\\') &&
aTerminator != Standard_ExtCharacter('/'))