Lukas Tenbrink
b5c31ebb41
Add contains_char() for single-character 'contains' calls.
2024-12-06 20:23:35 +01:00
Rémi Verschelde
e6125ef51b
Merge pull request #98763 from AThousandShips/more_sname_uses
...
Use `SceneStringName` in more places
2024-12-02 15:50:44 +01:00
Rémi Verschelde
d6b20fd7e5
Merge pull request #98402 from vaner-org/highlight-node-neighbours
...
Reduce opacity of nodes with no shared transition when selecting an AnimationNodeStateMachine node
2024-12-02 15:50:22 +01:00
Rémi Verschelde
463c479ac8
Merge pull request #98401 from vaner-org/green-arrow-priority-for-transition-selection
...
Prioritize proximity to green arrow when selecting overlapping transitions in AnimationNodeStateMachine
2024-12-02 15:50:17 +01:00
A Thousand Ships
af56d6e8e8
Use SceneStringName
in more places
2024-12-02 14:39:16 +01:00
lullabyist
366fa9ff39
Reduce opacity of nodes with no shared transition when selecting an AnimationNodeStateMachine node
...
Applied suggestions from code review
2024-12-01 18:21:09 +05:30
lullabyist
c5199a5017
Prioritize proximity to green arrow when selecting overlapping transitions in AnimationNodeStateMachine
...
Applied suggestions from code review
2024-12-01 18:20:38 +05:30
passivestar
edd6acdfd4
Expose state machine focus color to theming
2024-11-19 01:14:09 +04:00
Aaron Franke
562c666e3d
Rename internal Button icon to button_icon to match exposed methods
2024-10-29 16:23:03 -07:00
Silc Lizard (Tokage) Renew
7cdeac94d1
Fix StateMachine process when transition to end & optimize StringName
2024-07-13 17:32:31 +09:00
A Thousand Ships
fbb879debd
[Scene] Add SceneStringNames::text/value_changed
2024-06-19 09:44:38 +02:00
A Thousand Ships
d519715d94
[Scene] Add SceneStringNames::font(_size/_color)
2024-06-18 17:24:27 +02:00
A Thousand Ships
926afccbd8
[Scene] Add SceneStringNames::panel
2024-05-30 22:54:50 +02:00
A Thousand Ships
755a0efbb6
[Scene] Add SceneStringNames::id_pressed
2024-05-30 22:54:04 +02:00
kobewi
a345160ab3
Fix wrong usage of parameters_base_path StringName
2024-05-30 12:03:43 +02:00
A Thousand Ships
ee79386f7b
[Scene] Add SceneStringNames::pressed
2024-05-14 15:51:28 +02:00
kobewi
413c11357d
Use Core/Scene stringnames consistently
2024-05-13 23:41:07 +02:00
kobewi
a262d2d881
Add shorthand for using singleton string names
2024-05-11 18:53:08 +02:00
Rémi Verschelde
05372773e1
Merge pull request #89599 from timothyqiu/vegetate
...
Fix unexpected auto translation of editor `Tree` content
2024-03-23 21:15:39 -07:00
Rémi Verschelde
cd4e4c0fcc
Merge pull request #89111 from AThousandShips/vec_use
...
Use `Vector*` component-wise `min/max/clamp` functions where applicable
2024-03-24 01:14:51 +01:00
Silc Lizard (Tokage) Renew
6dd410854c
Rework AnimationNode process for retrieving the semantic time info
2024-03-20 22:52:26 +09:00
A Thousand Ships
79ba22a73f
Use Vector*
component-wise min/max/clamp
functions where applicable
2024-03-20 13:47:42 +01:00
Haoyu Qiu
8cd1ebbd6d
Fix unexpected auto translation of Tree content
2024-03-18 09:31:00 +08:00
Muller-Castro
1638c1b28f
Add const lvalue ref to editor/* container parameters
2024-02-26 15:28:15 -03:00
kobewi
aeec3c1309
Add methods to add submenus without using names
2024-02-22 15:13:53 +01:00
Michael Alexsander
7b42c24550
Make auto translation inheritable
2024-02-15 16:51:19 -03:00
Junji Takakura
dcf4d82fb5
Fix unintentional translations in AnimationTree
2024-02-03 10:49:04 +09:00
Yuri Sizov
95b27fe8c7
Reorganize code related to editor theming
...
This change introduces a new EditorThemeManager class
to abstract theme generatio and its subroutines.
Logic related to EditorTheme, EditorColorMap, and editor
icons has been extracted into their respective files with
includes cleaned up.
All related files have been moved to a separate folder to
better scope them in the project. This includes relevant
generated files as well.
2024-01-16 11:57:45 +01:00
kobewi
0e8f90f4c8
Update deferred calls to use Callables
2024-01-09 16:11:47 +01:00
Rémi Verschelde
97a102caf6
Merge pull request #84052 from SaracenOne/animtree_readonly_context
...
Unpress buttons in AnimationTree when switching to read-only mode.
2023-11-11 23:05:37 +01:00
Yuri Sizov
b04b546092
Fix node names of submenu items across the editor
...
Also removes some programmer remarks and fixes some docs.
2023-11-08 14:42:42 +01:00
Saracen
0e545d9e88
Unpress buttons in AnimationTree when switching to read-only mode.
2023-10-27 13:39:08 +01:00
Silc Lizard (Tokage) Renew
1b95827d3e
Implement AnimationManager the base class of AnimationPlayer/Tree
2023-09-29 08:23:57 +09:00
kobewi
e30e84d77a
Fix submenus deleted accidentally
2023-09-26 16:47:33 +02:00
Rémi Verschelde
8ddf73c74d
Merge pull request #81939 from YuriSizov/gui-flat-and-depressed
...
Replace flat buttons with flat-styled buttons with a visible pressed state
2023-09-25 17:18:29 +02:00
Yuri Sizov
b351cffddf
Fix theme access and improve UX in AnimationTree editor
2023-09-23 21:47:27 +02:00
Yuri Sizov
4bd569be95
Replace flat buttons with flat-styled buttons with a visible pressed state
2023-09-19 22:36:29 +02:00
ajreckof
6afadbaa9f
Replace Ctrl in editor shortcuts with Cmd or Ctrl depending on platform
2023-09-19 10:29:07 +02:00
A Thousand Ships
75ee58fd04
[Editor] Replace ERR_FAIL_COND
with ERR_FAIL_NULL
where applicable
2023-09-15 20:15:39 +02:00
kobewi
6de34fde27
Add EditorStringNames singleton
2023-09-03 19:58:18 +02:00
Rindbee
e9cd29cf22
Fix rename animation in SpriteFramesEditor/AnimationNodeStateMachineEditor
...
When the name suffix grows, the old name is used if it is obtained first.
Fix the case where the following error message would appear when renaming
an animation.
```
ERROR: Animation '' doesn't exist.
at: get_frame_count (scene/resources/sprite_frames.cpp:71)
```
2023-07-18 15:39:02 +08:00
Hendrik Brucker
a29a680920
Extract StyleBoxFlat, StyleBoxTexture and StyleBoxLine in their own file
2023-07-17 13:25:00 +02:00
Rémi Verschelde
13544fb508
Merge pull request #75759 from TokageItLab/reimplement-grouped-statemachine
...
Rework for nested `AnimationNodeStateMachine`
2023-04-24 16:44:21 +02:00
Silc Renew
991e6e90ba
Rework StateMachine and nested StateMachine process
...
Breaking compatibility: If a StateMachineTransition is connected to a nested StateMachine prior to this, it is removed. Also, there was a feature to connect another StateMachine as the End of a StateMachine, which is also removed to avoid reference confusion. It was like a GoTo Statement, also further passing the same reference to the blending process, causing the blending calculation to break or causing some StateMachines to not work.
2023-04-18 19:06:51 +09:00
Yuri Sizov
4154039832
Improve includes of EditorNode (and everything else)
...
Also start organizing editor-specific GUI components
into a dedicated folder, `editor/gui`.
Also move `editor_file_server` next to the rest of debugger classes.
2023-04-07 18:59:49 +02:00
SaracenOne
f424a748ff
Fix crash when switching to a different node from AnimationTree
2023-01-25 14:36:19 +00:00
SaracenOne
02a82c9531
Add indicator for state machine transition fade progress and position of state transitioning from.
2023-01-25 10:17:55 +00:00
Silc Renew
8b04f58604
Expose fading_from_node from StateMachine
2023-01-22 15:50:53 +09:00
kobewi
b58111588a
Add EditorUndoRedoManager singleton
2023-01-16 01:11:52 +01:00
Juan Linietsky
2b815df3c1
Use BitField<> in core type masks
...
* All core types masks are now correctly marked as bitfields.
* The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks.
* Most bitmask operations replaced by functions in BitField<>
* Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is.
* Documentation and API dump updated to reflect bitfields in core types.
2023-01-08 22:17:40 +01:00