summaryrefslogtreecommitdiffstats
path: root/editor/animation_track_editor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde2022-10-311-4/+4
|\ | | | | | | Unify usage of GLOBAL/EDITOR_GET
| * Unify usage of GLOBAL/EDITOR_GETkobewi2022-10-181-4/+4
| |
* | Add a tutorial link to Retarget ClassesSilc Renew2022-10-221-1/+1
|/
* Bind `AnimationTrackEditor::_redraw_tracks` for UndoRedoHaoyu Qiu2022-10-081-0/+1
|
* Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-52/+50
| | | | change warnings=all to use /W4.
* Merge pull request #44143 from KoBeWi/callable_multiplayerRémi Verschelde2022-09-181-13/+5
|\
| * Port remaining connections to callable_mpTomasz Chabora2022-09-181-13/+5
| |
* | Fix loop mode button update in the Animation editorYuri Sizov2022-09-161-0/+4
|/
* Merge pull request #65325 from TokageItLab/refactor-variant-for-animRémi Verschelde2022-09-161-3/+2
|\ | | | | | | Move some static methods to `Animation` from `Variant` for refactoring `Animation` and `Tween`
| * Move some methods to Animation from Variant for refactoringSilc Renew2022-09-151-3/+2
| |
* | Fix key mapping changes when moving from macOS to other platformbruvzg2022-09-071-7/+7
| | | | | | | | | | Removes separate `Command` key (use `Meta` instead). Adds an event flag to automatically remap `Command` <-> `Control` (cannot be set alongside `Control` or `Meta`).
* | Merge pull request #65437 from YuriSizov/theme-gui-renamesRémi Verschelde2022-09-071-2/+2
|\ \ | | | | | | | | | Improve naming of theme properties throughout GUI code
| * | Improve naming of theme properties throughout GUI codeYuri Sizov2022-09-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename ItemList's bg -> panel Rename ItemList's bg_focus -> focus Rename ProgressBar's bg -> background Rename ProgressBar's fg -> fill Rename Tree's bg -> panel Rename Tree's bg_focus -> focus Rename ScrollContainer's bg -> panel Rename FileDialog's *_icon_modulate -> *_icon_color Rename FileDialog's files_disabled -> file_disabled_color Rename CheckButton's on/off -> checked/unchecked Rename check_v_adjust -> check_v_offset
* | | Rename CONNECT_ONESHOT TO CONNECT_ONE_SHOTMicky2022-09-061-1/+1
|/ / | | | | | | For consistency. Every other exposed `one_shot` is spaced out like this.
* / Improvements to multi-node editingFireForge2022-09-051-14/+8
|/ | | | | | | | - Show revert button for properties that are not default for all selected nodes - Show property documentation tooltips - Show common class name and icon and number of selected nodes in EditorPath, e.g. "Node2D (4 Selected)" - Hide metadata for MultiNodeEdit and AnimationMultiTrackKeyEdit - Hide script for MultiNodeEdit
* Rename `CanvasItem.update()` to `queue_redraw()`Micky2022-08-291-36/+36
| | | | | | | | | | Affects a lot of classes. Very thoroughly checked signal connections and deferred calls to this method, add_do_method/add_undo_method calls, and so on. Also renames the internal `_update_callback()` to `_redraw_callback()` for consistency. Just a few comments have also been changed to say "redraw". In CPUParticles2D, there was a private variable with the same name. It has been renamed to `do_redraw`.
* Merge pull request #64980 from TokageItLab/fix-animedit-draw-and-find-keyRémi Verschelde2022-08-291-102/+90
|\
| * Fixed AnimationTrackEditor redraw/deselect timing and find key compearationSilc Renew2022-08-291-102/+90
| |
* | Revert "Remove NOTIFICATION_ENTER_TREE when paired with ↵Rémi Verschelde2022-08-291-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NOTIFICATION_THEME_CHANGED" This reverts commit 4b817a565cab8af648c88cfc7ab6481e86ee3625. Fixes #64988. Fixes #64997. This caused several regressions (#64988, #64997, https://github.com/godotengine/godot/issues/64997#issuecomment-1229970605) which point at a flaw in the current logic: - `Control::NOTIFICATION_ENTER_TREE` triggers a *deferred* notification with `NOTIFCATION_THEME_CHANGED` as introduced in #62845. - Some classes use their `THEME_CHANGED` to cache theme items in member variables (e.g. `style_normal`, etc.), and use those member variables in `ENTER_TREE`, `READY`, `DRAW`, etc. Since the `THEME_CHANGE` notification is now deferred, they end up accessing invalid state and this can lead to not applying theme properly (e.g. for EditorHelp) or crashing (e.g. for EditorLog or CodeEdit). So we need to go back to the drawing board and see if `THEME_CHANGED` can be called earlier so that the previous logic still works? Or can we refactor all engine code to make sure that: - `ENTER_TREE` and similar do not depend on theme properties cached in member variables. - Or `THEME_CHANGE` does trigger a general UI update to make sure that any bad theme handling in `ENTER_TREE` and co. gets fixed when `THEME_CHANGE` does arrive for the first time. But that means having a temporary invalid (and possibly still crashing) state, and doing some computations twice which might be heavy (e.g. `EditorHelp::_update_doc()`).
* | Merge pull request #64885 from Mickeon/rename-tooltip-hintRémi Verschelde2022-08-281-14/+14
|\ \ | |/ |/| Rename `hint_tooltip` to `tooltip_text` & setter getter
| * Rename `hint_tooltip` to `tooltip_text` & setgetMicky2022-08-271-14/+14
| | | | | | | | | | | | | | | | `hint_tooltip` -> `tooltip_text` `set_tooltip` -> `set_tooltip_text` `_get_tooltip` -> `get_tooltip_text` Updates documentation, too.
* | Merge pull request #62846 from ↵Rémi Verschelde2022-08-271-3/+2
|\ \ | | | | | | | | | | | | AaronRecord/remove_redundant_theme_updates_in_enter_tree Remove `NOTIFICATION_ENTER_TREE` when paired with `NOTIFICATION_THEME_CHANGED`
| * | Remove NOTIFICATION_ENTER_TREE when paired with NOTIFICATION_THEME_CHANGEDAaron Record2022-08-271-3/+2
| |/
* | Add optimization for Animation::ValueTrackSilc Renew2022-08-271-11/+15
| |
* | Add linear/cubic angle interpolation to Animation interpolation typeSilc Renew2022-08-271-5/+39
|/
* Make Cubic to CubicInTime and reduce items in the track intrp typeSilc Renew2022-08-261-5/+2
|
* Disable editing properties in foreign resourcesSaracenOne2022-08-231-4/+4
| | | | | | from imported scenes or objects returning true from a function named '_is_read_only' and disable resaving imported resources.
* Merge pull request #64647 from TokageItLab/auto-tangentRémi Verschelde2022-08-231-40/+68
|\
| * Add bezier preset and refactor bezier editorSilc Renew2022-08-231-40/+68
| | | | | | | | Co-authored-by: Razoric480 <razoric480@gmail.com>
* | Merge pull request #64678 from TokageItLab/implement-ease-bakerRémi Verschelde2022-08-231-0/+276
|\ \ | | | | | | Fix Quaternion Tween and add Easing baker to AnimationTrackEditor
| * | Fix Quaternion Tween and implement ease bakerSilc Renew2022-08-221-0/+276
| |/
* | Merge pull request #59564 from KoBeWi/FINALLY,_ULTIMATE_UNDO_REDORémi Verschelde2022-08-221-7/+12
|\ \
| * | Add per-scene UndoRedokobewi2022-08-221-7/+12
| | |
* | | Merge pull request #64132 from TokageItLab/fix-optimizerRémi Verschelde2022-08-221-14/+13
|\ \ \ | |/ / |/| |
| * | improve animation track optimizer algorithmSilc Renew2022-08-091-14/+13
| | |
* | | Make `cubic_interpolate()` consider key time in animationSilc Renew2022-08-191-4/+6
| |/ |/|
* | Merge pull request #63245 from V-Sekai/animation_editor_read_onlyRémi Verschelde2022-08-101-124/+203
|\ \ | |/ |/|
| * Add read-only mode to AnimationEditor for foreign resources.SaracenOne2022-07-211-124/+203
| |
* | Remove excessive `editor/property_editor.h` includesYuri Sizov2022-08-011-0/+1
| |
* | Remove Signal connect bindsJuan Linietsky2022-07-291-14/+14
| | | | | | | | | | Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
* | Merge pull request #48995 from KoBeWi/advanced_animationRémi Verschelde2022-07-281-16/+13
|\ \
| * | Advance animation after confirmingkobewi2022-06-291-16/+13
| | |
* | | improve animation player warning for imported scenesNathan Franke2022-07-241-1/+3
| |/ |/|
* | Rename Control PRESET_WIDE to PRESET_FULL_RECTFireForge2022-07-181-4/+4
| |
* | Create reset tracks with the right update modePedro J. Estébanez2022-07-171-39/+43
| |
* | Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialogFireForge2022-07-091-4/+4
| |
* | Refactor Font configuration and import UI, and Font resources.bruvzg2022-07-061-4/+4
|/
* Move duplicate AutoWrap, Overrun and VisibleChar behavior enums to the ↵bruvzg2022-06-161-1/+1
| | | | TextServer.
* i18n: Misc fixes translation stringsRémi Verschelde2022-06-081-22/+19
| | | | Adds some translator comments to solve some questions raised on Weblate.
* Merge pull request #61106 from snailrhymer/animation-library-fixesRémi Verschelde2022-05-241-2/+0
|\ | | | | Fix errors and improve UX relating to new animation libraries