https://bugs.kde.org/show_bug.cgi?id=376596
Dmitry Kazakov <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://commits.kde.org/kri | |ta/17a922c5576ba217bcb450e6 | |ae6c9ad04fec35b2 Resolution|--- |FIXED Status|CONFIRMED |RESOLVED --- Comment #4 from Dmitry Kazakov <[email protected]> --- Git commit 17a922c5576ba217bcb450e6ae6c9ad04fec35b2 by Dmitry Kazakov. Committed on 19/04/2017 at 16:49. Pushed by dkazakov into branch 'master'. Port animation frames commands to use strokes The system is not ideal, we have to use lambda commands coupled with SkipFirstRedoWrapper. The problem is that our animation framework returns "post-execution" commands. That is, it first modifies the object and then returns the command for undoing this. In the future we should refactor the animation system not to do this post-execution thing, but just return commands for doing the work. Then the code will be a bit simplified. M +45 -2 libs/command/kis_command_utils.cpp M +37 -1 libs/command/kis_command_utils.h M +10 -0 libs/image/kis_processing_applicator.cpp M +13 -0 libs/image/kis_processing_applicator.h M +2 -1 libs/ui/KisImageBarrierLockerWithFeedback.h M +58 -18 plugins/dockers/animation/kis_animation_curves_model.cpp M +140 -109 plugins/dockers/animation/kis_animation_utils.cpp M +12 -7 plugins/dockers/animation/kis_animation_utils.h M +36 -31 plugins/dockers/animation/kis_time_based_item_model.cpp M +3 -1 plugins/dockers/animation/kis_time_based_item_model.h M +4 -13 plugins/dockers/animation/timeline_frames_model.cpp https://commits.kde.org/krita/17a922c5576ba217bcb450e6ae6c9ad04fec35b2 -- You are receiving this mail because: You are watching all bug changes.
