Fix second part of issue 459 : In anim mode, polybrush-grab with the right mouse button didn't clear the cut area.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1944 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2012-04-09 14:55:44 +00:00
parent 064bbebc5b
commit 6316fc2add
2 changed files with 6 additions and 3 deletions

View File

@@ -491,7 +491,6 @@ void Brush_0_5(void)
Brush_offset_Y=(Brush_offset_Y/Snap_height)*Snap_height;
}
End_of_modification();
End_of_modification();
Return_to_draw_mode();
}
@@ -605,6 +604,9 @@ void Polybrush_12_8(void)
free(Polyfill_table_of_points);
Polyfill_table_of_points = NULL;
if (click==RIGHT_SIDE)
End_of_modification();
// On raffiche l'écran pour effacer les traits en xor et pour raffraichir
// l'écran si on a découpé une partie de l'image en prenant la brosse.
Display_all_screen();
@@ -617,8 +619,6 @@ void Polybrush_12_8(void)
Brush_offset_Y=(Brush_offset_Y/Snap_height)*Snap_height;
}
if (click==RIGHT_SIDE)
End_of_modification();
Return_to_draw_mode();
Display_cursor();
}