Commit Graph

40 Commits

Author SHA1 Message Date
kit 7fc6eb88ad Fix AnimationTree AnimationPlayerEditor broken 2026-03-28 19:38:12 -04:00
Silc Lizard (Tokage) Renew 73d041dd98 Optimize Animation Resource, Library, Mixer, Player
Co-Authored-By: Silc Lizard (Tokage) Renew <tokage.it.lab@gmail.com>
2026-03-06 16:35:21 -05:00
Roeck Victor 32f835124d Remove previous animation libraries before adding them to dummy player 2026-03-06 14:52:37 +01:00
Rémi Verschelde 2dd1f4ef60 Decouple node.h from scene_tree.h, minimize its other includes 2026-03-05 13:54:46 +01:00
Thaddeus Crews 2b856f3800 Merge pull request #116457 from YeldhamDev/yet_another_scroll_hint_pr
Add scroll hints to the cross-animation blend dialog
2026-03-04 14:32:37 -06:00
Rémi Verschelde eabb9a63d4 Rename callable_method_pointer.h to callable_mp.h and include it explicitly
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.

Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
Rémi Verschelde f332faf46b Explicitly include core/os/os.h where used 2026-03-04 09:54:10 +01:00
Rémi Verschelde 8c0f175c94 Decouple RenderingServer from as much of the codebase as possible
Notably decouples it from:
- AccessibilityServer
- DisplayServer
- Viewport
- Window
2026-03-03 12:48:07 +01:00
Rémi Verschelde a447ac95ec Move DisplayServer enums and typedefs to DisplayServerEnums
This will allow decoupling `display_server.h` from a number of headers in the
codebase which only require those enums and not all the DisplayServer API.
2026-03-03 12:44:02 +01:00
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
Thaddeus Crews 985c952a86 Merge pull request #114648 from aaronfranke/editor-anim-reset
Select RESET animation by default when opening a scene in the editor
2026-02-26 08:15:15 -06:00
Rémi Verschelde f5a290ac46 Move RenderingServer enums to a dedicated RenderingServerEnums (RSE) namespace
A number of headers in the codebase included `rendering_server.h` just for
some enum definitions. This means that any change to `rendering_server.h` or
one of its dependencies would trigger a massive incremental rebuild.

With this change, we decouple a number of classes from `rendering_server.h`,
greatly speeding up incremental rebuilds for that area.

On my machine, this reduces incremental compilation time after an edit of
`rendering_server.h` by 60s (from 2m57s).
2026-02-25 19:43:03 +01:00
Thaddeus Crews 383af3f070 Merge pull request #116264 from TokageItLab/fix-current-anim-change-crash
Fix animation player crash when setting current animation to stop
2026-02-23 11:58:43 -06:00
Aaron Franke 5a92ea5c24 Select RESET animation by default when opening a scene in the editor 2026-02-21 11:22:06 -08:00
Michael Alexsander c36f1f03bf Add scroll hints to the cross-animation blend dialog 2026-02-19 19:27:58 -03:00
Michael Alexsander 85ba2ecf2b Improve auto-translation in the Animation editor 2026-02-18 19:10:04 -03:00
Silc Lizard (Tokage) Renew f1908d6432 Fix animation player crash when setting current animation to stop 2026-02-16 20:27:55 +09:00
cdemirer d68d42b6f5 Fix double memdelete of dummy_player
It's already deleted as a result of being part of the tree.
2026-02-06 20:41:56 +03:00
Rémi Verschelde 9009a6636c Merge pull request #114366 from KoBeWi/uh
Add EditorDock's own DockSlot enum
2026-01-07 01:41:50 +01:00
Rémi Verschelde c742d107e2 Merge pull request #114635 from passivestar/flat-menu-button
Fix inconsistent MenuButton styles
2026-01-06 11:00:27 +01:00
passivestar 375a8f84d2 Fix inconsistent MenuButton style 2026-01-06 04:38:32 +04:00
Sébastien Dunne Fulmer fe54502987 Fix animation editor sometimes not processing on scene change 2026-01-05 20:46:24 +00:00
kobewi 9f96d2199d Add EditorDock's own DockSlot enum 2026-01-02 13:16:23 +01:00
Silc Lizard (Tokage) Renew ea978e4471 Fix AnimationPlayerEditor failed to fetch AnimationTree's libraries 2026-01-01 04:35:13 +09:00
Thaddeus Crews f972ab80ec Merge pull request #113415 from Calinou/editor-animation-add-shortcut-in-tooltip
Add shortcuts in tooltips to the animation editor's play/pause buttons
2025-12-03 11:42:20 -06:00
Thaddeus Crews 6124d5ee2b Merge pull request #113255 from lodetrick/animation-dock
Use new dock system for Animation and AnimationTree dock
2025-12-03 11:42:19 -06:00
Hugo Locurcio 11b1655298 Add shortcuts in tooltips to the animation editor's play/pause buttons
Shortcuts for these buttons don't make use of the Button shortcut
system, so that they work globally (even if the animation editor is
not focused). Therefore, we need to add the shortcut to the tooltip manually.
2025-12-03 18:21:08 +01:00
Logan Detrick a0c2d3d51d Use new dock system for Animation dock 2025-12-02 12:30:43 -08:00
Hugo Locurcio 66698019d6 Use physical key shortcuts for the animation editor's play/pause buttons
These follow a (W)ASD pattern, so these should be translated to e.g.
(Z)QSD on AZERTY keyboards to ensure similar usability.
2025-12-02 01:11:05 +01:00
Thaddeus Crews 6c63a1fd8b Merge pull request #107959 from rapust/add-keyframe-shortcuts
Add "Go to Next/Previous Keyframe" to Animation Edit menu
2025-11-14 14:22:44 -06:00
Ryan 35999a16dd Fix AnimationPlayer to use StringName instead of String
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-10-06 16:29:40 -04:00
Thaddeus Crews 38af23a654 Merge pull request #89409 from aaronfranke/server-folders
Move server files into their subfolders
2025-10-03 12:01:00 -05:00
Thaddeus Crews a0afcdd05a Merge pull request #103416 from CreatedBySeb/animation-workflow-enhancements
Minor Animation Player workflow enhancements
2025-10-01 13:12:44 -05:00
Aaron Franke 3d1c9fd5de Move server files into their subfolders 2025-09-30 19:39:39 -07:00
Aaron Franke 9fbf5808a0 Rename server "free" functions to "free_rid" to match exposed API 2025-09-30 16:52:25 -07:00
A Thousand Ships bd65cfa876 Revert "Replace many uses of is_class with derives_from."
This reverts commit 78b743cf4a.
2025-09-25 13:48:53 +02:00
Lukas Tenbrink 8ef4a43ada Replace many uses of is_class with derives_from. 2025-09-23 19:59:00 +02:00
Sébastien Dunne Fulmer cf65c18817 Auto-select sole AnimationPlayer on panel open 2025-09-19 18:53:37 +01:00
rapust 1bf7b33280 Add "Go to Next/Previous Keyframe" to Animation Edit menu 2025-07-08 01:48:58 +03:00
A Thousand Ships f11aff3841 Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00