Salome HOME
projects
/
modules
/
superv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d3931c
)
A bug is fixed: CORBA::Object was compared to NULL instead of CORBA::is_nil().
author
asv
<asv@opencascade.com>
Fri, 21 Jan 2005 06:08:46 +0000
(06:08 +0000)
committer
asv
<asv@opencascade.com>
Fri, 21 Jan 2005 06:08:46 +0000
(06:08 +0000)
src/SUPERVGUI/SUPERVGUI_CanvasNode.cxx
patch
|
blob
|
history
diff --git
a/src/SUPERVGUI/SUPERVGUI_CanvasNode.cxx
b/src/SUPERVGUI/SUPERVGUI_CanvasNode.cxx
index bd8602ae2a86de7478326e827b94277c233534a2..daf2074875978e9d080d9c78a09459a992f81b82 100644
(file)
--- a/
src/SUPERVGUI/SUPERVGUI_CanvasNode.cxx
+++ b/
src/SUPERVGUI/SUPERVGUI_CanvasNode.cxx
@@
-590,7
+590,7
@@
void SUPERVGUI_CanvasNode::addInputPort() {
myMain->Editing(); // PAL6170: GUI->Engine: setting "Editing" flag
SUPERV_Port aPort = createInPort();
- if (aPort == NULL) return;
+ if (aPort == NULL
|| CORBA::is_nil( aPort )
) return;
createPort(aPort.in());
}
@@
-600,7
+600,7
@@
void SUPERVGUI_CanvasNode::addOutputPort() {
myMain->Editing(); // PAL6170: GUI->Engine: setting "Editing" flag
SUPERV_Port aPort = createOutPort();
- if (aPort == NULL) return;
+ if (aPort == NULL
|| CORBA::is_nil( aPort )
) return;
createPort(aPort.in());
}