]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour/manualContourBaseControler.cpp
The method SetShowText was not working because in this methos uses the textActor...
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / manualContour / manualContourBaseControler.cpp
index 17747734ade15cbf25e11b7dffd259d882f59c66..0711912763befc8956c37cb445377bdbf87e8bea 100644 (file)
@@ -262,7 +262,6 @@ void manualContourBaseControler::MouseClickLeft(int x, int y) // virtual
 // ----------------------------------------------------------------------------
 void manualContourBaseControler::MouseClickRight(int x, int y)
 {
-
        SetCompleteCreation( true );
        SetKeyBoardMoving( false );
        this->GetManualContourModel()->SetCloseContour(true);
@@ -298,7 +297,7 @@ void manualContourBaseControler::MouseDLeft(int x, int y )
        {
                
                int z=GetZ();
-               bool temp = _manViewBaseCont->SelectPosibleContour(x,y,z);
+               /*bool temp = */ _manViewBaseCont->SelectPosibleContour(x,y,z);
 
                _manViewBaseCont->SelectPosiblePoint(x,y,z);
 
@@ -466,7 +465,8 @@ void manualContourBaseControler::AddPoint(int x, int y, int z) // virtual
                
 
                GetManualViewBaseContour()->TransfromCoordViewWorld(xx,yy,zz);
-               /*int   id              =*/  GetManualContourModel()->AddPoint(xx,yy,zz);  // JPRx
+printf("EED %p manualContourBaseControler::AddPoint \n", this);
+               GetManualContourModel()->AddPoint(xx,yy,zz);
                GetManualViewBaseContour()->AddPoint();
 //             GetManualViewBaseContour()->UpdateViewPoint(id);
        }