Commit Graph

135 Commits

Author SHA1 Message Date
Thaddeus Crews b357ac9499 Merge pull request #113664 from shadow-foss/fix-overwriting-keys
Remove legacy animation key insertion offset loop
2026-03-04 11:20:36 -06:00
Thaddeus Crews 78beaadf60 Merge pull request #116813 from KoBeWi/pick_your_node
Change picking dialog title based on track type
2026-03-04 11:20:34 -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
vaner-org c09c60eb9c Add undo/redo to adding/removing StateMachine nodes 2026-03-02 13:37:21 +05:30
kobewi 5acbfc8998 Change picking dialog title based on track type 2026-02-28 19:02:38 +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 15a4311583 Merge pull request #113479 from Meorge/feat/collapse-anim-groups
Collapse groups in animation track editor
2026-02-24 09:29:42 -06:00
Thaddeus Crews deace09d37 Merge pull request #114155 from Arnklit/improve-color-key-selection-visibility
Improve the visibility of the selection of Color value keys
2026-02-24 09:29:26 -06:00
Thaddeus Crews e41577abdf Merge pull request #112219 from Meorge/feat/signals-ui-use-monospaced-font
Use monospaced font for code names (methods, signals, properties) in UI
2026-02-24 09:29:18 -06:00
Malcolm Anderson 5c4500a236 Allow animation groups to be collapsed by clicking disclosure chevron on left
Save group collapsed state during editing session

Save collapsed groups in Animation resource so they persist across sessions

Update editor/animation/animation_track_editor.h

Remove data duplication and unnecessary method

Prevent error about negative-sized Rect2

Move animation group folding to editor cfg files

Clean up length of some lines of code

Keep fold state of groups when renamed

Update scene/resources/animation.h

Make fold_area_rect calculation more accurate

Improve animation includes

Store animation fold state in scene folding file

Fix animation fold saving for independent resource animations

Apply suggestions from code review

Update scene/resources/animation.h

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Mikael Hermansson <mikael@hermansson.io>
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>
2026-02-23 10:48:24 -08: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
Malcolm Anderson f05049fce7 Use monospaced font for code names (methods, signals, properties)
Add monospace font styling to more items in signal workflow

Use monospace font in method and property selection dialogs

Use monospaced font in Animation editor

Add editor setting

Additional fixes and things

Add documentation to editor setting

# Conflicts:
#	editor/inspector/property_selector.cpp

Update doc/classes/EditorSettings.xml

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2026-02-23 07:47:43 -08: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 85ba2ecf2b Improve auto-translation in the Animation editor 2026-02-18 19:10:04 -03:00
Thaddeus Crews d07793e7ba Merge pull request #116406 from akien-mga/cleanup-includes-displayserver
Minimize include dependencies of `display_server.h`
2026-02-18 08:28:10 -06:00
Rémi Verschelde ad4b910a10 Minimize include dependencies of display_server.h
- Removes `native_menu.h` dependency from `display_server.h`.
  It's now forward-declared in all DisplayServer implementations and should
  be included in the .cpp's.
- Removes some unused `rb_set.h` and `rb_map.h` dependencies, which leads to
  having to include them explicitly in half the scene and editor codebase...
  which shows how much we depend on `display_server.h`.
- Forward-declare `input_event.h`, so now we need only `keyboard.h`.
2026-02-17 19:45:31 +01:00
Silc Lizard (Tokage) Renew f1908d6432 Fix animation player crash when setting current animation to stop 2026-02-16 20:27:55 +09:00
Malcolm Anderson ad570e86d5 Provide default values for fold state in "Edit Animation Libraries" window to prevent errors
Apply suggestion from @KoBeWi

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2026-02-14 15:23:36 -08: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 63c78e684b Merge pull request #114165 from KoBeWi/static
Use actual class names in resource type hints
2026-02-02 10:10:24 +01:00
Lukas Tenbrink 1d840aae3a Remove sky.h include from environment.h, to speed up compile time. 2026-01-30 00:05:55 +01:00
kobewi f7b9703cbd Use actual class names in resource type hints 2026-01-29 21:07:56 +01:00
Giganzo c82263adb6 Fix icon size in AnimationPlayer tracks 2026-01-29 14:03:33 +01:00
Thaddeus Crews 74b14da737 Merge pull request #115137 from ndarilek/remove-a11y-placeholders
a11y: Remove "not accessible at this time" placeholders.
2026-01-28 12:27:12 -06:00
Thaddeus Crews 173d022434 Merge pull request #109108 from timothyqiu/anilib-split
Fix error after renaming animation in Animation Library Editor
2026-01-27 09:04:20 -06:00
Nolan Darilek 3a94b3e265 a11y: Remove "not accessible at this time" placeholders. 2026-01-19 14:10:27 -05:00
Michael Alexsander 1d244cd956 Fix wrong play position for the AnimationMarkerEdit 2026-01-13 21:02:23 -03:00
passivestar 6f0bd2efb9 Improve spacing in trees showing table data in modern theme 2026-01-12 00:01:49 +04:00
passivestar e25a21da3a Improve animation player header spacing in modern theme 2026-01-09 03:39:16 +04:00
Thaddeus Crews 5d9722e832 Merge pull request #113786 from kmMuellerGit/202512_sprite_animation_check_if_animation_key_exists
Fix Animation Editor erroring when animating SpriteAnimation3D 'frame' but not 'animation'.
2026-01-07 10:54:12 -06:00
Rémi Verschelde 8c4f3c4f01 Merge pull request #114634 from YeldhamDev/the_hinting_never_ends
More scroll hint work around the editor
2026-01-07 01:42:03 +01: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
Michael Alexsander da561cd619 More scroll hint work around the editor 2026-01-06 18:34:20 -03: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
kobewi a55cae85d7 Remove unnecessary newlines from key tooltip 2025-12-19 13:57:32 +01:00
Kasper Arnklit Frandsen db60d48f43 Improve the visibility of the selection of Color value keys 2025-12-18 15:17:40 +00:00
Rémi Verschelde 42c3e683c8 Merge pull request #113903 from Arnklit/animation-player-drag-keys-render-fix
Fix the clipping of keys when moving keys
2025-12-17 22:27:11 +01:00
S-Gman 91c5edff3d Set marker z index to ensure visibility
Co-authored-by: kateyvk <kateyvk16@gmail.com>
Co-authored-by: fejesievo <fejesievo@gmail.com>
Co-authored-by: MaxiSanc37 <maxijsanchez37@gmail.com>
2025-12-16 13:42:22 -05:00
Kasper Arnklit Frandsen a6dc792bbd Fix the clipping of keys when moving keys 2025-12-11 20:38:08 +00:00
Rémi Verschelde d09a3d83ff Merge pull request #113574 from YeldhamDev/take_the_hint
Enable scroll hints for several parts of the editor
2025-12-09 19:32:11 +01:00
Michael Alexsander f187b8b2bf Enable scroll hints for several parts of the editor 2025-12-09 10:55:26 -03:00