Salome HOME
projects
/
plugins
/
blsurfplugin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated copyright comment
[plugins/blsurfplugin.git]
/
src
/
BLSURFPlugin
/
BLSURFPlugin_Hypothesis.cxx
diff --git
a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx
b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx
index 3ff30d9f0a1a77a86eef67be04a6b5008423a7e9..773db4dd20249b1b921abee1cbeec2b95228edb8 100644
(file)
--- a/
src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx
+++ b/
src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-202
1 CEA/DEN, EDF R&D
+// Copyright (C) 2007-202
4 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-1001,6
+1001,8
@@
BLSURFPlugin_Hypothesis::GetEnforcedSegments( const EnforcedMesh& enfMesh,
if (( mesh = SMESH_Hypothesis::GetMeshByPersistentID( enfMesh._meshID )))
{
mesh->Load();
if (( mesh = SMESH_Hypothesis::GetMeshByPersistentID( enfMesh._meshID )))
{
mesh->Load();
+ if ( mesh->NbEdges() == 0 )
+ GetGen()->Compute( *mesh, mesh->GetShapeToMesh(), /*flags=*/0 );
switch( enfMesh._type )
{
switch( enfMesh._type )
{