Fix performance bug in previous commit (pre-scale was also performed when entering other tools than 'brush rotate')
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1790 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
2d8c061e32
commit
8cf7e1096f
@ -70,6 +70,10 @@ void Start_operation_stack(word new_operation)
|
|||||||
case OPERATION_GRAB_BRUSH:
|
case OPERATION_GRAB_BRUSH:
|
||||||
case OPERATION_POLYBRUSH:
|
case OPERATION_POLYBRUSH:
|
||||||
case OPERATION_STRETCH_BRUSH:
|
case OPERATION_STRETCH_BRUSH:
|
||||||
|
Operation_before_interrupt=Current_operation;
|
||||||
|
// On passe à l'operation demandée
|
||||||
|
Current_operation=new_operation;
|
||||||
|
break;
|
||||||
case OPERATION_ROTATE_BRUSH:
|
case OPERATION_ROTATE_BRUSH:
|
||||||
Begin_brush_rotation();
|
Begin_brush_rotation();
|
||||||
Operation_before_interrupt=Current_operation;
|
Operation_before_interrupt=Current_operation;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user