mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-03 22:00:33 +05:00
Porting Python3: Encode URL
This commit is contained in:
parent
9ddbfddd27
commit
fcba27b37b
@ -66,6 +66,7 @@
|
||||
#include <SALOMEDS_Tool.hxx>
|
||||
#include <SALOMEDS_wrap.hxx>
|
||||
#include <Basics_DirUtils.hxx>
|
||||
#include <Basics_Utils.hxx>
|
||||
|
||||
#include <set>
|
||||
#include <sstream>
|
||||
@ -599,7 +600,7 @@ SALOMEDS::TMPFile* GEOM_Gen_i::Save(SALOMEDS::SComponent_ptr theComponent,
|
||||
TCollection_AsciiString aNameWithExt("");
|
||||
if (isMultiFile)
|
||||
aNameWithExt = TCollection_AsciiString((char*)(SALOMEDS_Tool::GetNameFromPath
|
||||
(theComponent->GetStudy()->URL())).c_str());
|
||||
(Kernel_Utils::encode(theComponent->GetStudy()->URL()))).c_str());
|
||||
#if OCC_VERSION_MAJOR > 6
|
||||
aNameWithExt += TCollection_AsciiString("_GEOM.cbf");
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user