Fix Fill, Polyform/Polyline, and Contour fill when using effects (Transparency) with layers: it was reading from all visible layers instead of only current, so the result kind of 'fused' the pixels. Related to issue 245.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1286 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2010-01-28 02:48:56 +00:00
parent 259a3d3338
commit 62cc506737
6 changed files with 32 additions and 33 deletions

View File

@@ -4289,12 +4289,8 @@ void Button_Effects(void)
Display_cursor();
break;
case 13 : // Feedback (pour Colorize et Shade)
if ((Config.FX_Feedback=!Config.FX_Feedback)) //!!!
FX_feedback_screen=Main_backups->Pages->Image[Main_current_layer];
// Main_screen
else
FX_feedback_screen=Main_backups->Pages->Next->Image[Main_current_layer];
// Screen_backup
Config.FX_Feedback = !Config.FX_Feedback;
Update_FX_feedback(Config.FX_Feedback);
Hide_cursor();
Display_feedback_state();
Display_cursor();