Commit Graph

169 Commits

Author SHA1 Message Date
Rémi Verschelde ff6034dc0a Merge pull request #117649 from shadow-foss/fix-animkey-fpstime-drag
Fix time property drag range in FPS mode for AnimationKey and Marker
2026-03-23 22:35:41 +01:00
Rémi Verschelde 70752fab60 Merge pull request #117634 from rinevard/timeline-cursor-jump
Fix timeline cursor following mouse during marker selection
2026-03-23 22:35:32 +01:00
shadow 69c572304c Fix time property drag range in FPS mode for AnimKey and Markers 2026-03-20 21:26:41 +05:30
Thaddeus Crews fb4a304dee Merge pull request #111965 from Ivorforce/memnew-typed
Make `memnew(RefCounted)` return `Ref`, to improve ownership safety
2026-03-19 15:39:15 -05:00
rinevard ffb697f967 Fix timeline cursor following mouse during marker selection 2026-03-19 22:18:41 +08:00
Lukas Tenbrink 05c33acbb1 Make memnew(RefCounted) return Ref, to force callers to take ownership of it through a reference. 2026-03-18 20:34:08 +01:00
vaner-org a00317d3bd Fix early return preventing BlendTree graph update 2026-03-18 19:11:11 +05:30
Rémi Verschelde e33e98a26f Style: Apply clang-format grouping rules 2026-03-17 20:11:01 +01:00
vaner-org b7b40aeff4 Fix invalid character when adding library anim in BlendSpace 2026-03-17 07:41:26 +05:30
Rémi Verschelde 7795057e4b Misc includes or modernize fixes found via clangd-tidy 2026-03-16 21:38:26 +01:00
Rémi Verschelde 005e054245 Remove unused includes in editor with clangd-tidy
Also includes the few changes flagged in `main`.
2026-03-15 20:47:05 +01:00
rinevard e0798f64ec Fix "Send Key(s) to RESET" not appearing on first right-click in Animation Editor 2026-03-15 21:00:34 +08:00
Rémi Verschelde aa470f01b6 Merge pull request #117377 from vaner-org/blendspace-limit-bounds
Limit dragging BlendSpace points to bounds
2026-03-14 12:16:33 +01:00
Rémi Verschelde 11970cb0ce Merge pull request #117321 from mihe/folded-track-icons
Draw aggregate animation keys on top of folded node groups
2026-03-14 12:16:26 +01:00
Rémi Verschelde e37ef60e8c Merge pull request #117290 from rinevard/keys-visually-shift
Fix visual shift of animation editor keys during selection
2026-03-14 12:16:23 +01:00
Rémi Verschelde 96436e33f9 Merge pull request #117277 from Ryan-000/ryan-opt-tree
Optimize AnimationTree, Improve internals & Editor & `Node::process_thread_group` safety
2026-03-14 12:16:19 +01:00
Rémi Verschelde 45d9d6e2f1 Merge pull request #116953 from matheusmdx/fix-bezier-keyframe-crash
Deselect bezier keyframes when switching animations
2026-03-14 12:15:59 +01:00
vaner-org d6c2723370 Remove arbitrary limits on BlendSpace editors' visible region 2026-03-14 11:54:59 +05:30
Ryan 1a5d818ea9 Optimize AnimationTree & Improve internals
Apply suggestions from code review

Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-Authored-By: Silc Lizard (Tokage) Renew <tokage.it.lab@gmail.com>
2026-03-14 02:24:21 -04:00
kobewi 9a0c0bf757 Remove redundant _has_main_screen() overrides 2026-03-13 13:10:09 +01:00
vaner-org 43190ac90b Limit dragging BlendSpace points to bounds 2026-03-13 01:00:00 +05:30
Thaddeus Crews e11d9eb8da Merge pull request #110369 from vaner-org/blendspace-edit-name-index
Display and allow setting name/index of BlendSpace points
2026-03-12 09:03:38 -05:00
Mikael Hermansson 4c8c8dfaf5 Draw aggregate animation keys on top of folded node groups
Co-authored-by: Kasper Arnklit Frandsen <kasper.arnklit@gmail.com>
2026-03-11 13:26:05 +01:00
Rémi Verschelde e015e8bde4 Remove unused includes in core with clangd-tidy 2026-03-11 06:41:36 +01:00
rinevard c2d191e5f3 Fix visual shift of animation editor keys during selection 2026-03-10 22:05:04 +08:00
vaner-org f873fa3c3a Display and allow setting name/index of BlendSpace points 2026-03-10 00:29:49 +05:30
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 7345c20a1b Merge pull request #115038 from YeldhamDev/and_another_one
Add scroll hint to the animation library dialog
2026-03-04 14:32:38 -06: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
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
MatheusMDX 14ebaafa6d Deselect bezier keyframes when animation switch 2026-03-01 19:35:16 -03:00
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