Squashed commit and merged krita-mohit-testing into master. Introduces two
new features : Dirty Presets : Keeps temporary tweaks made to the preset till the session ends Go to the Brush Editor box. Bottom left -- select "Temporarily save tweaks made to presets" Any time you make a change to any setting in the preset -- the textbox will turn pink and a "+" symbol will appear on the icon. The Reload button is used to reset the tweaks for that particular preset Locked Settings : Keeps settings constant across presets In the brush editor box, for any paint option like "Size" on the left, there will be a "link" icon. Right click on that option to Lock the option. Now that particular setting will remain constant across all presets. If you cange it in one preset - the changes will reflect across all presets. To unlock any option : right click on a locked option and click on Drop Locked Settings. You can either use these settings in the preset or load the last settings available in the preset. Cumulative Undo/Redo 1. To use this feature, you will have to first have to go to Settings->Dockers->Undo History to activate the docker. 2. Next right click on <empty> or on any stroke in the undo docker and select "Use Cumulative Undo/Redo" 3. This feature merges commands together so the the user doesn't have to undo a particular group one by one and has a much larger undo history than the initial 30 strokes. The feature works on three configurable parameters : Time before merging strokes together : While strokes are made, the code keeps checking for a particular timelapse of T seconds before it merges the groups together Time to group the strokes : According to this parameter -- groups are made. Every stroke is put into the same group till two consecutive strokes have a time gap of more than T seconds. Then a new group is started. Individual strokes to leave at the end : A user may want to keep the ability of Undoing/Redoing his last N strokes. Once N is crossed -- the earlier strokes are merged into the group's first stroke.
Showing with 2154 additions and 530 deletions