AddPoint(x,y,z);
AddPoint(x,y,z);
bakIdPoint = GetManualViewBaseContour()->GetIdPoint(x,y,z);
- SetState(5);
+ SetState(1);
}
}
GetManualViewBaseContour()->SelectPosibleContour(x,y,z);
GetManualViewBaseContour()->SelectPosiblePoint(x,y,z);
- if (GetState()==5){
+
+ if ( (GetState()==5) || (GetState()==1) ){
SetPoint( bakIdPoint , x , y ,z);
if (bakIdPoint==0)
{
AddPoint(x,y,z);
AddPoint(x,y,z);
bakIdPoint = GetManualViewBaseContour()->GetIdPoint(x,y,z);
- SetState(5);
+ SetState(1);
}
}
GetManualViewBaseContour()->SelectPosibleContour(x,y,z);
GetManualViewBaseContour()->SelectPosiblePoint(x,y,z);
- if (GetState()==5){
- SetPoint( bakIdPoint , x , y ,z);
- }
+ if (GetState()==1){ SetPoint( bakIdPoint , x , y ,z); }
+ if (GetState()==5){ SetPoint( bakIdPoint , x , y ,z); }
+
if (GetState()==6){
GetManualViewBaseContour()->MoveContour(x,y,z);
}
AddPoint(x,y,z);
AddPoint(x,y,z);
bakIdPoint = GetManualViewBaseContour()->GetIdPoint(x,y,z);
- SetState(5);
+ SetState(1);
}
}
GetManualViewBaseContour()->SelectPosibleContour(x,y,z);
GetManualViewBaseContour()->SelectPosiblePoint(x,y,z);
- if (GetState()==5)
- {
- SetPoint( bakIdPoint , x , y ,z);
- }
+ if (GetState()==1) { SetPoint( bakIdPoint , x , y ,z); }
+ if (GetState()==5) { SetPoint( bakIdPoint , x , y ,z); }
+
if (GetState()==6)
{
GetManualViewBaseContour()->MoveContour(x,y,z);
if (_state==7){ _state = 0; }
SetMoving( false );
GetManualViewBaseContour()->SelectPosibleContour(x,y,GetZ());
+printf("EED %p manualContourBaseControler::MouseReleaseLeft 01 \n",this);
if( GetIfCompleteCreation() && IsEditable() && !GetManualViewBaseContour()->GetPosibleSelected() && (GetManualViewBaseContour()->GetIdPoint(x,y,GetZ())==-1) )
{
+printf("EED %p manualContourBaseControler::MouseReleaseLeft 02 \n",this);
SetEditable( false );
SetPosibleToMove( false );
}