Yuri Sizov
29c8504dd9
Improve parameter naming and documentation in GraphEdit and GraphNode
...
Co-authored-by: Maganty Rushyendra <mrushyendra@yahoo.com.sg>
2022-09-09 17:50:44 +03:00
Rémi Verschelde
c909120b59
Merge pull request #64373 from YeldhamDev/edscale_likes_them_floaty
2022-09-09 09:07:53 +02:00
Michael Alexsander
c4c9e41073
Make Vector2i
values paired with EDSCALE
be just Vector2
2022-09-08 14:46:32 -03:00
Yuri Sizov
141fdac36c
Merge pull request #65188 from Mickeon/animated-texture-speed-scale
...
Rework AnimatedTexture's `fps` into `speed_scale`
2022-09-08 18:25:35 +03:00
Rémi Verschelde
69233093d7
Merge pull request #65241 from bruvzg/no_keymap_ambiguity
...
Fix key mapping changes when moving from macOS to other platform.
2022-09-08 09:24:24 +02:00
Rémi Verschelde
7936b3cc4c
Merge pull request #60108 from KoBeWi/arise_to_top
...
Rename raise() to move_to_front()
2022-09-08 09:23:31 +02:00
Rémi Verschelde
de739530c2
Merge pull request #63596 from Jayman2000/issue-27640
...
Rename `change_scene()` and `change_scene_to()`
2022-09-08 09:22:03 +02:00
Rémi Verschelde
a51dc70dfb
Merge pull request #65460 from Faless/net/4.x_ssl_to_tls_more
...
[Net] Rename "ssl" references to "tls" in methods and members.
2022-09-08 09:20:19 +02:00
Rémi Verschelde
6ac1a811dd
Merge pull request #63905 from smix8/navigation_replace_old_debug_4.x
...
Remove / Replace old Navigation Debug Visualization
2022-09-08 09:19:13 +02:00
Fabio Alessandrelli
a95d792420
[Net] Rename "ssl" references to "tls" in methods and members.
2022-09-08 03:24:23 +02:00
Jason Yundt
69963ffaa3
Rename change_scene() and change_scene_to()
...
Before this change, the SceneTree had methods named “change_scene” and
“change_scene_to”. One of them accepted a String as a parameter and the
other accepted a PackedScene, but you couldn’t tell which one was which
just by looking at their names.
This change renames those two methods to “change_scene_to_file” and
“change_scene_to_packed”. These new names came from this suggestion [1].
These new names make the difference between the two methods more clear
and hint at the fact that there’s more than one change_scene method.
[1]: <https://github.com/godotengine/godot/issues/27640#issuecomment-1081870955 >
Fixes #27640 .
2022-09-07 17:06:33 -04:00
bruvzg
ac1f2b378f
[RTL] Stop threaded RTL auto-redrawing as soon as text processing is finished, instead of waiting for first redraw.
2022-09-07 22:24:30 +02:00
bruvzg
6f4d233062
Fix key mapping changes when moving from macOS to other platform
...
Removes separate `Command` key (use `Meta` instead).
Adds an event flag to automatically remap `Command` <-> `Control` (cannot be set alongside `Control` or `Meta`).
2022-09-07 18:45:35 +02:00
smix8
d7f75fab60
Remove / Replace old Navigation Debug Visualization
...
- removes / replaces leftovers from old navigation debug code
- cleanes SceneTree and ProjectSettings from old navigation debug
2022-09-07 18:30:35 +02:00
Rémi Verschelde
81de16890e
Merge pull request #65375 from ItsNL/fix-accep-dialog-its_inside_tree-false
...
Condition "!is_inside_tree()" is true" when AcceptDialog was visible from the editor.
2022-09-07 17:53:46 +02:00
Rémi Verschelde
54942038ac
Merge pull request #65389 from Rindbee/fix-file-list-in-FileDialog-not-updating
...
Fix file list in FileDialog not updating on first run
2022-09-07 17:53:09 +02:00
Rémi Verschelde
e0c7916f73
Merge pull request #59069 from fire-forge/stylebox_margin_functions
...
Add all/individual setters for StyleBox default margins and StyleBoxTexture margin size and unbind `StyleBox*.set_*_individual()` methods
2022-09-07 17:52:58 +02:00
Rémi Verschelde
48705b1f03
Merge pull request #65355 from groud/split_container_min_grab_thickness
...
Allow SplitContainer to have a grab area larger than its visual grabber
2022-09-07 17:51:52 +02:00
=
2de52c74ae
Fix "grab_focus: Condition "!is_inside_tree()" is true" when AcceptDialog was visible from the editor.
2022-09-07 17:04:26 +02:00
FireForge
dcfd7622d1
Unbind StyleBox*.set_*_individual() methods
...
Unbinds the following methods:
- StyleBox.set_default_margin_individual()
- StyleBoxFlat.set_corner_radius_individual()
- StyleBoxFlat.set_expand_margin_individual()
- StyleBoxTexture.set_expand_margin_individual()
- StyleBoxTexture.set_margin_size_individual()
2022-09-07 16:37:36 +03:00
FireForge
dd7ee37c8a
Add set_default_margin_all/individual to StyleBox
2022-09-07 16:37:36 +03:00
Rindbee
88b72c3de4
Fix file list in FileDialog not updating on first run
2022-09-07 21:36:21 +08:00
Gilles Roudière
4cbcb5acda
Allow SplitContainer to have a grab area larger than its visual grabber
2022-09-07 12:33:02 +02:00
Micky
08c2aab169
Rename ProgressBar.percent_visible
to show_percentage
...
`percent_visible` -> `show_percentage`
`set_percent_visible` -> `set_show_percentage`
`is_percent_visible` -> `is_percentage_shown`
2022-09-07 11:58:30 +02:00
Micky
f577bae76f
Rename legible_unique_name
param to force_readable_name
...
With the introduction of Scene Unique Nodes, `is_unique_in_owner`, "Unique Name in Scene" and other descriptions related to the feature, the second parameter of add_child() and add_simbling() could be misunderstood to be related, at first glance.
2022-09-07 11:58:30 +02:00
Rémi Verschelde
647f345ffe
Merge pull request #65457 from Chaosus/vs_fix2
...
Add conversion for uniform_name property in visual shader
2022-09-07 09:09:58 +02:00
Rémi Verschelde
2841bc358c
Merge pull request #65446 from YuriSizov/dialogs-make-styleboxes-matter
...
Make `AcceptDialog` and derivatives utilize `StyleBox` fully
2022-09-07 09:09:15 +02:00
Rémi Verschelde
e350d79cda
Merge pull request #65444 from Trashtalk217/fix-_edit_get_rect-navigation-link-2D
...
Fixed crash with calling _edit_get_rect() on NavigationLink2D
2022-09-07 09:09:05 +02:00
Rémi Verschelde
80dacac90c
Merge pull request #65437 from YuriSizov/theme-gui-renames
...
Improve naming of theme properties throughout GUI code
2022-09-07 08:58:00 +02:00
Rémi Verschelde
5c5079b398
Merge pull request #65197 from Mickeon/rename-connect-one-shot
...
Rename CONNECT_ONESHOT to CONNECT_ONE_SHOT
2022-09-07 08:51:10 +02:00
Rémi Verschelde
3515382390
Merge pull request #64361 from Mickeon/rename-caret-blink
...
Rename every instance of `caret_blink_speed` to `caret_blink_interval`
2022-09-07 08:51:02 +02:00
Yuri Rubinsky
b17a306239
Merge pull request #65455 from Chaosus/vs_fix
2022-09-07 08:44:01 +03:00
Yuri Rubinsky
09c98cdde9
Add conversion for uniform_name property in visual shader
2022-09-07 08:19:02 +03:00
Yuri Rubinsky
3401228fbd
Fix code generation for VisualShaderNodeTextureParameterTriplanar
2022-09-07 07:02:07 +03:00
Yuri Sizov
5eaf82b4f0
Make AcceptDialog and derivatives utilize StyleBox fully
2022-09-07 01:42:11 +03:00
Trashtalk
1d233ce58c
handled edge case where navigation_link_2d is outside of the tree when calling _edit_get_rect()
2022-09-07 00:05:56 +02:00
kobewi
b218727599
Rename raise() to move_to_front()
2022-09-06 22:13:06 +02:00
Yuri Sizov
39ef611a7d
Fix theming code in Panel, SplitContainer, RichTextLabel
2022-09-06 22:53:19 +03:00
Yuri Sizov
43f03e2ce6
Improve naming of theme properties throughout GUI code
...
Rename ItemList's bg -> panel
Rename ItemList's bg_focus -> focus
Rename ProgressBar's bg -> background
Rename ProgressBar's fg -> fill
Rename Tree's bg -> panel
Rename Tree's bg_focus -> focus
Rename ScrollContainer's bg -> panel
Rename FileDialog's *_icon_modulate -> *_icon_color
Rename FileDialog's files_disabled -> file_disabled_color
Rename CheckButton's on/off -> checked/unchecked
Rename check_v_adjust -> check_v_offset
2022-09-06 22:53:17 +03:00
Micky
9c9c5f662f
Rework AnimatedTexture's fps
into speed_scale
...
`fps` has been turned into `speed_scale`. It now affects the scale of the entire animation. If `speed_scale` is a negative value, the animation is played in reverse.
`frame_n/delay_sec` has been renamed to `frame_n/duration` _(prefixes exist, making the previous name redundant)_.
Setters and getters, documentation updated, too.
2022-09-06 21:40:09 +02:00
Micky
dd26ecdd31
Rename CONNECT_ONESHOT TO CONNECT_ONE_SHOT
...
For consistency. Every other exposed `one_shot` is spaced out like this.
2022-09-06 19:00:33 +02:00
Micky
6dbd283ae5
Rename every instance of caret_blink_speed
to caret_blink_interval
...
It's been changed in EditorSettings, LineEdit, TextEdit.
Affects setters and getters, and passed parameters, too.
2022-09-06 18:37:17 +02:00
Rémi Verschelde
0c4d578bdf
Merge pull request #65194 from Mickeon/rename-one-shot
2022-09-06 18:32:48 +02:00
Rémi Verschelde
5fb84e5702
Merge pull request #64661 from Mickeon/rename-tilemap-world
...
Rename TileMap/GridMap.`world_to_map` and opposite to `local_to_map`
2022-09-06 17:01:16 +02:00
Rémi Verschelde
49d18f0725
Merge pull request #65423 from YeldhamDev/i_want_to_ride_my_bycicle
...
Rename `PopupMenu`'s `set/get_current_index()` to `set/get_focused_item()`
2022-09-06 17:00:58 +02:00
Rémi Verschelde
adaec8396e
Merge pull request #64880 from Mickeon/rename-camera-position
...
Rename Camera2D's `*_screen_center` and `*_position` to `get_screen_center_position` and `get_target_position`
2022-09-06 17:00:52 +02:00
Rémi Verschelde
5062aafc2d
Merge pull request #64417 from aaronfranke/has-space
...
Replace AABB/Rect2/Rect2i has_no_* methods with has_* methods
2022-09-06 17:00:44 +02:00
Rémi Verschelde
f40755383e
Merge pull request #65361 from Mickeon/rename-range-lerp
...
Rename `range_lerp` to `remap`
2022-09-06 17:00:37 +02:00
Rémi Verschelde
1a1fdf78e7
Merge pull request #65367 from Mickeon/fix-audio-stream-player-exiting-tree
...
Fix AudioStreamPlayer not resuming after returning to SceneTree
2022-09-06 17:00:29 +02:00
Michael Alexsander
9507e91c07
Rename PopupMenu
's set/get_current_index()
to set/get_focused_item()
2022-09-06 10:51:14 -03:00