Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2f918a
)
PAL13460 (PAL EDF 301 force the mesh to go through a point)
author
eap
<eap@opencascade.com>
Thu, 1 Mar 2007 07:32:41 +0000
(07:32 +0000)
committer
eap
<eap@opencascade.com>
Thu, 1 Mar 2007 07:32:41 +0000
(07:32 +0000)
fix Transform()
src/SMESH/SMESH_MeshEditor.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH/SMESH_MeshEditor.cxx
b/src/SMESH/SMESH_MeshEditor.cxx
index eccd73600dc0c08d225fe911eef8f81f7e14aa26..c311cf675405280458e1239b71532c99832059ff 100644
(file)
--- a/
src/SMESH/SMESH_MeshEditor.cxx
+++ b/
src/SMESH/SMESH_MeshEditor.cxx
@@
-4295,8
+4295,8
@@
void SMESH_MeshEditor::Transform (TIDSortedElemSet & theElems,
continue; // not all nodes transformed
if ( theCopy ) {
- if ( SMDS_MeshElement*
elem
= AddElement( nodes, elem->GetType(), elem->IsPoly() ))
- myLastCreatedElems.Append(
elem
);
+ if ( SMDS_MeshElement*
copy
= AddElement( nodes, elem->GetType(), elem->IsPoly() ))
+ myLastCreatedElems.Append(
copy
);
}
else
{