Change rendering system to use function pointers, see Issue 31 c38 : preliminary work to make the same executable handle Layers or Anims. Fixed an old issue where Lasso-ing a brush with right mouse button wouldn't erase cleanly (visual). Fixed an old issue where picking colors in layer 5 would not 'see' through layers.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1906 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -189,7 +189,7 @@ void Set_pixel(T_IO_Context *context, short x_pos, short y_pos, byte color)
|
||||
{
|
||||
// Chargement des pixels dans l'écran principal
|
||||
case CONTEXT_MAIN_IMAGE:
|
||||
Pixel_in_current_screen(x_pos,y_pos,color,0);
|
||||
Pixel_in_current_screen(x_pos,y_pos,color);
|
||||
break;
|
||||
|
||||
// Chargement des pixels dans la brosse
|
||||
@@ -1335,6 +1335,8 @@ void Set_loading_layer(T_IO_Context *context, int layer)
|
||||
}
|
||||
Main_current_layer = layer;
|
||||
context->Target_address=Main_backups->Pages->Image[layer].Pixels;
|
||||
|
||||
Update_pixel_renderer();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user