Commit Graph

59 Commits

Author SHA1 Message Date
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
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 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
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 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
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
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
Michael Alexsander 85ba2ecf2b Improve auto-translation in the Animation editor 2026-02-18 19:10:04 -03: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
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 e25a21da3a Improve animation player header spacing in modern theme 2026-01-09 03:39:16 +04:00
Michael Alexsander da561cd619 More scroll hint work around the editor 2026-01-06 18:34:20 -03:00
kobewi a55cae85d7 Remove unnecessary newlines from key tooltip 2025-12-19 13:57:32 +01: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
Michael Alexsander f187b8b2bf Enable scroll hints for several parts of the editor 2025-12-09 10:55:26 -03:00
shadow-foss 22e9ff5e3e Remove legacy key insertion offset loop
Removes the while loop that offset new keys by 0.001s on collision. This makes Insert Key consistent with Duplicate/Paste by overwriting keys.
Fixes #111741
2025-12-06 11:14:45 +05:30
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
Logan Detrick a0c2d3d51d Use new dock system for Animation dock 2025-12-02 12:30:43 -08:00
Thaddeus Crews 295435d83a Merge pull request #110866 from mihe/anim-node-icons
Add solo/hide/lock/delete buttons to node groups in bezier track editor
2025-12-02 11:51:54 -06:00
Rémi Verschelde 85d5df058b Merge pull request #104371 from mihe/animation-player-reset
Fix issue of `AnimationPlayer` hiding bezier editor when re-selecting it
2025-12-02 14:15:28 +01:00
Mikael Hermansson ebf6016267 Add solo/hide/lock/delete buttons to node groups in bezier track editor
Co-authored-by: Kasper Arnklit Frandsen <kasper.arnklit@gmail.com>
2025-12-01 18:02:47 +01:00
Thaddeus Crews 101b827087 Merge pull request #110623 from YeldhamDev/time_manipulation
Allow resizing the length of animations by dragging the timeline
2025-11-21 18:37:39 -06:00
Thaddeus Crews 640109eeea Merge pull request #111952 from KoBeWi/curing_dementia
Remember animation snapping state
2025-11-21 18:37:32 -06:00
Thaddeus Crews b9a92ca7d1 Merge pull request #112231 from timothyqiu/bezier-default-mode
Improve Bezier Default Mode button in Animation dock
2025-11-21 18:37:27 -06:00
Silc Lizard (Tokage) Renew c6ab601364 Fix read-only state for Skeleton and Inspector 2025-11-15 23:10:15 +09: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
Thaddeus Crews ba44671777 Merge pull request #112148 from carterwilson1337/master
Track groups in Animation tab hover highlight
2025-11-13 20:52:24 -06:00
carterwilson1337 472c8df99b Track groups in Animation tab hover highlight
Co-authored-by: Silc Lizard (Tokage) Renew <tokage.it.lab@gmail.com>

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2025-11-11 14:35:42 -05:00
Benjamin e40621925b Fix crash when rearranging filtered animation tracks 2025-11-11 19:49:35 +01:00
Thaddeus Crews 8327dfa215 Merge pull request #112092 from timothyqiu/ts-nums
Move localized number formatting methods to `TranslationServer`
2025-11-10 17:47:09 -06:00
Thaddeus Crews 58c124fd97 Merge pull request #111398 from xuhuisheng/dev/anim_length
Set step before set value, to fix animation length issue
2025-11-10 08:20:04 -06:00
Haoyu Qiu 72d437c030 Move localized number formatting methods to TranslationServer
Co-Authored-By: Pāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com>
2025-11-10 15:01:22 +08:00
Haoyu Qiu 1bf90662b8 Improve Bezier Default Mode button in Animation dock 2025-11-01 12:29:43 +08:00
Michael Alexsander 2a10291f41 Allow to resize the length of animations by dragging the timeline 2025-10-31 19:52:39 -03:00
LuoZhihao ce2fae79b1 Fallback to parent class icon by default for gdextension 2025-10-31 18:03:32 +08:00
kobewi feb65f75f2 Remember animation snapping state 2025-10-26 21:24:39 +01:00
kobewi b9f7f2d767 Fix some easing presets not translated
Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
2025-10-10 13:21:56 +02:00
Mikael Hermansson c33b09ed19 Fix issue of AnimationPlayer hiding bezier editor when re-selecting it
Co-authored-by: Kasper Arnklit Frandsen <kasper.arnklit@gmail.com>
2025-10-08 11:43:43 +02:00
xuhuisheng d0ad6d6023 set step before set value, to fix animation length issue 2025-10-08 15:07:32 +08:00
Thaddeus Crews 9fc656d2bf Merge pull request #110676 from YeldhamDev/can_you_bezier_a_marker
Show marker lines/sections in the animation bezier editor
2025-10-06 14:34:14 -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
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