Fix lasso, broken in last commit
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1704 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
1b0141367e
commit
4d3431afd4
@ -1161,8 +1161,11 @@ void Capture_brush_with_lasso(int vertices, short * points,short clear)
|
||||
}
|
||||
// Grab palette
|
||||
memcpy(Brush_original_palette, Main_palette,sizeof(T_Palette));
|
||||
// Remap (no change)
|
||||
Remap_brush();
|
||||
// Init colormap
|
||||
for (temp=0; temp<256; temp++)
|
||||
Brush_colormap[temp]=temp;
|
||||
// Copy Brush to original
|
||||
memcpy(Brush_original_pixels, Brush, (long)Brush_width*Brush_height);
|
||||
|
||||
// On centre la prise sur la brosse
|
||||
Brush_offset_X=(Brush_width>>1);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user