mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-06 13:54:18 +05:00
0020868: EDF 1251 SMESH: Pattern 3D mapping
This commit is contained in:
parent
e2a5000a9e
commit
ed467c6060
@ -73,6 +73,7 @@
|
|||||||
#include "SMESH_MesherHelper.hxx"
|
#include "SMESH_MesherHelper.hxx"
|
||||||
#include "SMESH_subMesh.hxx"
|
#include "SMESH_subMesh.hxx"
|
||||||
|
|
||||||
|
#include <Basics_Utils.hxx>
|
||||||
#include "utilities.h"
|
#include "utilities.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
@ -210,6 +211,8 @@ bool SMESH_Pattern::Load (const char* theFileContents)
|
|||||||
{
|
{
|
||||||
MESSAGE("Load( file ) ");
|
MESSAGE("Load( file ) ");
|
||||||
|
|
||||||
|
Kernel_Utils::Localizer loc;
|
||||||
|
|
||||||
// file structure:
|
// file structure:
|
||||||
|
|
||||||
// ! This is a comment
|
// ! This is a comment
|
||||||
@ -353,6 +356,9 @@ bool SMESH_Pattern::Load (const char* theFileContents)
|
|||||||
bool SMESH_Pattern::Save (ostream& theFile)
|
bool SMESH_Pattern::Save (ostream& theFile)
|
||||||
{
|
{
|
||||||
MESSAGE(" ::Save(file) " );
|
MESSAGE(" ::Save(file) " );
|
||||||
|
|
||||||
|
Kernel_Utils::Localizer loc;
|
||||||
|
|
||||||
if ( !IsLoaded() ) {
|
if ( !IsLoaded() ) {
|
||||||
MESSAGE(" Pattern not loaded ");
|
MESSAGE(" Pattern not loaded ");
|
||||||
return setErrorCode( ERR_SAVE_NOT_LOADED );
|
return setErrorCode( ERR_SAVE_NOT_LOADED );
|
||||||
|
Loading…
Reference in New Issue
Block a user