diff --git a/core/video_display.cpp b/core/video_display.cpp index 6c4a03d63..750584781 100644 --- a/core/video_display.cpp +++ b/core/video_display.cpp @@ -285,6 +285,22 @@ void VideoDisplay::OnMouseEvent(wxMouseEvent& event) { curline->Movement->Frames[localframe].Pos.x += float(x-MouseDownX); curline->Movement->Frames[localframe].Pos.y += float(y-MouseDownY); } + else if( MovementEdit==3 ) + { + for( int i=0;i<=localframe;i++ ) + { + curline->Movement->Frames[i].Pos.x += float(x-MouseDownX); + curline->Movement->Frames[i].Pos.y += float(y-MouseDownY); + } + } + else if( MovementEdit==4 ) + { + for( int i=localframe;iMovement->Frames.size();i++ ) + { + curline->Movement->Frames[i].Pos.x += float(x-MouseDownX); + curline->Movement->Frames[i].Pos.y += float(y-MouseDownY); + } + } } MouseDownX = x; MouseDownY = y;