]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GPortController.cxx
Implemented deleting of boxes from the scene....
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsVtkGUIEditorGraphic / GPortController.cxx
index e7d1ce7c1c218db4d8dcc18d8e7d3cae969d18d1..c15a276efc67696d6fc55d0fed343ae5f1a939a9 100644 (file)
@@ -77,11 +77,11 @@ namespace bbtk
                                //Evaluate new state
                                if(portType==GOUTPUTPORT)
                                {
-                                       _model->notifyObservers(_id,INIT_CREATION_CONTOUR);
+                                       _model->notifyObservers(getId(),INIT_CREATION_CONTOUR);
                                }
                                else if (portType==GINPUTPORT)
                                {
-                                       _model->notifyObservers(_id,FIN_CREATION_CONTOUR);
+                                       _model->notifyObservers(getId(),FIN_CREATION_CONTOUR);
                                }
                        }
                        else