summaryrefslogtreecommitdiffstats
path: root/editor/animation_bezier_editor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix Undo/Redo not working in Bezier Animation Editor when moving keysDowsley2024-09-181-9/+5
|
* Update AnimationPlayer in real-time when bezier curve properties or bezier ↵Dowsley2024-09-121-2/+52
| | | | editor changes
* Use antialiased line drawing in animation Bezier editorHugo Locurcio2024-09-041-2/+2
| | | | | This applies both to tangents and general line drawing, making the animation Bezier editor match the Curve editor inspector.
* Merge pull request #96292 from AThousandShips/null_check_ref_fixRémi Verschelde2024-09-031-1/+1
|\ | | | | | | Cleanup of raw `nullptr` checks with `Ref`
| * Cleanup of raw `nullptr` checks with `Ref`A Thousand Ships2024-08-311-1/+1
| | | | | | | | Using `is_valid/null` over checks with `nullptr` or `ERR_FAIL_NULL` etc.
* | Add separate timeline snapping control to Animation EditorKasper Arnklit Frandsen2024-09-021-3/+3
|/
* Allow theming animation editorpassivestar2024-08-211-71/+72
|
* Fix errors about `UndoRedo` history mismatch when deleting bezier trackMikael Hermansson2024-08-191-1/+1
|
* Merge pull request #94054 from mihe/fix-bezier-focusRémi Verschelde2024-07-081-1/+1
|\ | | | | | | Fix focus shortcut when in the bezier curve editor
| * Fix focus shortcut when in the bezier curve editorMikael Hermansson2024-07-081-1/+1
| |
* | Merge pull request #93860 from ↵Rémi Verschelde2024-07-071-9/+12
|\ \ | |/ |/| | | | | | | CookieBadger/animation-bezier-undo-on-different-animation-fix Fix inconsistent behavior of Bezier editor undo operations upon selection of different animation
| * fix animation bezier editor undo operations applying to wrong animationemild2024-07-021-9/+12
| |
* | Merge pull request #93930 from Arnklit/short-animation-length-bezier-handle-fixRémi Verschelde2024-07-041-16/+3
|\ \ | |/ |/| | | Clamp bezier handle length to half the length of animation
| * Clamp bezier handle length to half the length of animationKasper Frandsen2024-07-041-16/+3
| |
* | fix animation bezier crash on undoemild2024-07-021-2/+2
|/
* Merge pull request #93408 from CookieBadger/animation-track-key-inspector-fixRémi Verschelde2024-06-281-17/+36
|\ | | | | | | Fix displaying selected Bezier animation keys in inspector
| * fix animation bezier keys not showing in inspector after selectionemild2024-06-211-17/+36
| |
* | [Scene] Add `SceneStringNames::font(_size/_color)`A Thousand Ships2024-06-181-3/+3
| |
* | [Scene] Add `SceneStringNames::id_pressed`A Thousand Ships2024-05-301-1/+1
| |
* | Use Core/Scene stringnames consistentlykobewi2024-05-131-1/+1
| |
* | Reduce and prevent unnecessary random-access to `List`A Thousand Ships2024-05-041-3/+5
|/ | | | | | | | | Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when accessing a single element) * Removed subscript operator, in favor of a more explicit `get` * Added conversion from `Iterator` to `ConstIterator` * Remade existing operations into other solutions when applicable
* Merge pull request #88498 from CookieBadger/animation-fix-snapping-multipleRémi Verschelde2024-03-241-11/+25
|\ | | | | | | Fix snapping multiple keys in Animation
| * Fix snapping multiple keys in Animationemild2024-03-181-11/+25
| |
* | Merge pull request #88445 from CookieBadger/animation-paste-snap-fixRémi Verschelde2024-03-241-12/+28
|\ \ | | | | | | | | | Fix various bugs in Animation key right click actions
| * | Fix various bugs in Animation key right click actionsemild2024-02-201-12/+28
| | |
* | | Add auto focus timeline and bezier scale on animation editorHilderin2024-03-191-35/+94
| | | | | | | | | | | | | | | | | | | | | | | | Add a button at the bottom of the animation editor that change the zoom based on the animation length and the bezier scale based on the values and handles of the displayed tracks. The icon and the tooltip of the button change depending if the bezier editor is displayed or not. Some refactor was made in animation_track_editor.cpp to remove code duplication with the visibility check of the tracks. This should help with the issue #85826
* | | Merge pull request #69032 from ↵Rémi Verschelde2024-02-201-1/+3
|\ \ \ | |_|/ |/| | | | | | | | | | | KoBeWi/check_every_changed_setting_in_every_group_everywhere() Use `check_changed_settings_in_group()` everywhere
| * | Use check_changed_settings_in_group() everywherekobewi2024-02-191-1/+3
| | |
* | | Fix Animation bezier key selection bugsemild2024-02-201-3/+14
| |/ |/|
* | use ED_IS_SHORTCUT macro instead of matches_eventCookieBadger2024-02-191-6/+6
|/
* Merge pull request #88350 from CookieBadger/animation-cut-keyframeRémi Verschelde2024-02-181-3/+26
|\ | | | | | | Implement Cut Selected Keys in AnimationPlayer
| * implemented cut selected keys in animation playeremild2024-02-151-3/+26
| |
* | Merge pull request #88360 from CookieBadger/bezier-ctrl-click-add-key-fixRémi Verschelde2024-02-151-10/+2
|\ \ | | | | | | | | | Fix Bezier Editor throwing error when adding key with CTRL+click
| * | fix bezier editor throws error on ctrl clickCookieBadger2024-02-151-10/+2
| | |
* | | Merge pull request #88352 from CookieBadger/bezier-handle-mode-undo-fixRémi Verschelde2024-02-151-1/+1
|\ \ \ | |/ / |/| | | | | Fix Bezier Editor HandleMode UndoRedo History mismatch
| * | Fix bezier editor handle mode undo history mismatchemild2024-02-151-1/+1
| |/
* | Merge pull request #88302 from CookieBadger/bezier-remove-unused-signalsRémi Verschelde2024-02-131-9/+0
|\ \ | |/ |/| | | Remove unused signals in AnimationBezierTrackEdit
| * remove unused signals in AnimationBezierTrackEditemild2024-02-131-9/+0
| |
* | Fix vertical zoom factor in Animation Bezier Editoremild2024-02-131-2/+2
| |
* | Merge pull request #87250 from CookieBadger/animation-copy-paste-keyframeRémi Verschelde2024-02-121-78/+213
|\ \ | |/ |/| | | Implement consistent functionality for select, copy, paste, and duplicate in AnimationPlayer
| * implement consistent select, copy, paste, duplicate in animation playeremild2024-02-061-78/+213
| |
* | Split theme generation logic into several subroutinesYuri Sizov2024-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change introduces a new theme configuration struct to be passed to the aforementioned routines to better control reuse of styles and definitions in the generator. Everything not passed and not explicitly shared is scoped so it is not automatically accessible throughout the routine. This should ensure that the decision to share styles is a conscious one. In the future we will try to reduce the number of unique definitions and share most of it. This PR is a stepping stone on this path. This also puts the effort into separating redefinitions of default theme items vs custom types introduced only by the editor. In a few cases where editor-specific definitions need to reference default definitions we simply fetch them from the theme. It's not ideal and hides the dependency a bit, but hopefully these cases will be abstracted properly in due time.
* | Reorganize code related to editor themingYuri Sizov2024-01-161-1/+1
|/ | | | | | | | | | | | | This change introduces a new EditorThemeManager class to abstract theme generatio and its subroutines. Logic related to EditorTheme, EditorColorMap, and editor icons has been extracted into their respective files with includes cleaned up. All related files have been moved to a separate folder to better scope them in the project. This includes relevant generated files as well.
* Update deferred calls to use Callableskobewi2024-01-091-1/+1
|
* Merge pull request #85142 from CookieBadger/animation-player-improvementsRémi Verschelde2024-01-081-1/+2
|\ | | | | | | Improve usability of zooming in the animation editor
| * Improved usability of zoom features in animation playerCookieBadger2024-01-071-1/+2
| |
* | Fix seeking bug in AnimationPlayerEditorSilc Lizard (Tokage) Renew2023-11-221-1/+1
|/
* Add vertical scrolling to bézier track editor.Saracen2023-10-221-23/+39
|
* Add EditorStringNames singletonkobewi2023-09-031-25/+26
|
* Add gesture to ViewPanner and simplify a bit its APIGilles Roudière2023-01-231-18/+7
|