Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#18861 [CEA] Unstable Netgen 1D-2D-3D algorithm: Fix crash caused by improper usage...
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_PreVisualObj.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_PreVisualObj.cxx
b/src/SMESHGUI/SMESHGUI_PreVisualObj.cxx
index f1aebce8df8c178ed6819c36cab3be7d763cdb90..a01e907db7016461c563eb317e0f8a6322e3903a 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_PreVisualObj.cxx
+++ b/
src/SMESHGUI/SMESHGUI_PreVisualObj.cxx
@@
-22,12
+22,17
@@
#include "SMESHGUI_PreVisualObj.h"
#include "SMESHGUI_PreVisualObj.h"
-#include <SMDS_Mesh.hxx>
+#include <SM
ESH
DS_Mesh.hxx>
#include <SMESH_Actor.h>
SMESHGUI_PreVisualObj::SMESHGUI_PreVisualObj()
{
#include <SMESH_Actor.h>
SMESHGUI_PreVisualObj::SMESHGUI_PreVisualObj()
{
- myMesh = new SMDS_Mesh();
+ myMesh = new SMESHDS_Mesh(0,true);
+}
+
+SMDS_Mesh* SMESHGUI_PreVisualObj::GetMesh() const
+{
+ return myMesh;
}
bool SMESHGUI_PreVisualObj::Update( int theIsClear = true )
}
bool SMESHGUI_PreVisualObj::Update( int theIsClear = true )