mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-04 00:50:38 +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_Tool.hxx>
|
||||||
#include <SALOMEDS_wrap.hxx>
|
#include <SALOMEDS_wrap.hxx>
|
||||||
#include <Basics_DirUtils.hxx>
|
#include <Basics_DirUtils.hxx>
|
||||||
|
#include <Basics_Utils.hxx>
|
||||||
|
|
||||||
#include <set>
|
#include <set>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
@ -599,7 +600,7 @@ SALOMEDS::TMPFile* GEOM_Gen_i::Save(SALOMEDS::SComponent_ptr theComponent,
|
|||||||
TCollection_AsciiString aNameWithExt("");
|
TCollection_AsciiString aNameWithExt("");
|
||||||
if (isMultiFile)
|
if (isMultiFile)
|
||||||
aNameWithExt = TCollection_AsciiString((char*)(SALOMEDS_Tool::GetNameFromPath
|
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
|
#if OCC_VERSION_MAJOR > 6
|
||||||
aNameWithExt += TCollection_AsciiString("_GEOM.cbf");
|
aNameWithExt += TCollection_AsciiString("_GEOM.cbf");
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user