Marc Gilleron
056a418862
Expose `EditorProperty._set_read_only` virtual method
2022-09-19 11:56:49 +01:00
Marc Gilleron
700bb066e0
Use `Vector2i` when returning atlas size in `Geometry2D::make_atlas`
2022-09-19 11:37:02 +01:00
bruvzg
d104a4cdbd
Add missing initial window flags and window mode to the project settings.
2022-09-19 12:30:10 +03:00
kobewi
9f2dc68279
Replace File/Directory with FileAccess/DirAccess
2022-09-19 11:03:31 +02:00
Rémi Verschelde
97a6c9f16d
Merge pull request #66070 from KoBeWi/call_of_undo
...
Change UndoRedo to use Callables
2022-09-19 09:23:32 +02:00
Rémi Verschelde
49891e4c2f
Merge pull request #65915 from clayjohn/VULKAN-mobile-fog
...
Restore fog in vulkan mobile renderer.
2022-09-19 09:23:24 +02:00
kobewi
b3997191d8
Change UndoRedo to use Callables
2022-09-18 23:52:50 +02:00
Rémi Verschelde
0bb57bd9f2
Merge pull request #65931 from fabriceci/add-recovery-as-collision-in-low-level-methods
...
Add recovery_as_collision in move_and_collide/test_move
2022-09-18 00:42:29 +02:00
Micky
eb0cc08a23
Rename AudioStreamPlayer3D's `unit_db` to `volume_db`
...
AudioStreamPlayer3D.`unit_db` -> `volume_db`
Now matches the same name AudioStreamPlayer and AudioStreamPlayer2D use.
2022-09-17 16:06:30 +02:00
fabriceci
a72d5be2c6
Add recovery_as_collision in move_and_collide/test_move
2022-09-17 11:40:03 +02:00
SaracenOne
6a8fbf3d25
Fix animation change callbacks
2022-09-16 14:04:24 -07:00
clayjohn
2ecc8b9a73
Restore fog in vulkan mobile renderer.
...
The condition accidentally disabled fog whenever it was enabled
2022-09-16 09:18:11 -07:00
Hugo Locurcio
7dee32ad14
Tweak LightmapGI defaults to be closer to the CPU lightmapper
...
- Use 3 bounces by default.
- Enable environment lighting from the scene by default.
- This is not done in `3.x` for compatibility with existing projects,
but it makes sense to do this by default since pretty much all
outdoor scenes benefit from this.
- Set the custom environment color to white (like ReflectionProbe).
- Its default energy is still 0, so it's invisible by default.
- Enable the generation of dynamic object probes by default.
- Tweak the `max_texture_size` property hint for better usability.
- Improve error messages when passing invalid sizes to
`LightmapGI.set_max_texture_size()`.
2022-09-16 16:27:00 +02:00
MJacred
ac9786c525
Add get_distribution_name() and get_version() to OS
...
supports: LinuxBSD, Windows, macOS, iOS, Android, UWP
Co-authored-by: bruvzg
2022-09-16 11:17:36 +02:00
Rémi Verschelde
d1b2a191ab
Merge pull request #65295 from reduz/json-as-resource
2022-09-16 10:58:01 +02:00
Rémi Verschelde
780211b81b
Merge pull request #36541 from MJacred/docs/texture2darray
...
Add class descriptions for Texture2DArray, CubemapArray and ImageTextureLayered, plus overhaul TextureLayered
2022-09-16 09:20:34 +02:00
Rémi Verschelde
d52dfebf75
Merge pull request #65432 from Calinou/doc-volumetric-fog
...
Improve volumetric fog and FogVolume documentation
2022-09-16 09:20:20 +02:00
Rémi Verschelde
16d44395b5
Merge pull request #65148 from Mickeon/animated-sprite-negative-speed-scale
...
Allow negative `speed_scale` in AnimatedSprite2D & 3D
2022-09-16 09:18:42 +02:00
Rémi Verschelde
3ac332a411
Merge pull request #65819 from raulsntos/theme-docs
...
Fix theme methods usage in docs
2022-09-15 20:11:50 +02:00
Rémi Verschelde
7a90345b01
Merge pull request #65818 from raulsntos/dotnet/crypto-docs
...
Fix invalid C# in crypto docs
2022-09-15 20:11:42 +02:00
Rémi Verschelde
80802d2718
Merge pull request #65196 from TokageItLab/fix-redraw-anim-tree
...
Fix redraw timing in `AnimationBlendTreeEditor`
2022-09-15 20:11:36 +02:00
Ricardo Buring
ff4e72a0bc
PhysicsServer2D and PhysicsServer3D: make body_set_state_sync_callback take a Callable
...
Prefer Callable to a C-style callback. This is helpful for GDExtension.
2022-09-15 15:09:23 +02:00
Raul Santos
361ff55241
Fix theme methods usage in docs
...
- Fix usages of `get_icon` that was renamed
`get_theme_icon`.
- Replace `new Control().get_font*` with
`ThemeDB.fallback_font*`.
2022-09-15 12:03:02 +02:00
Raul Santos
d762500164
Fix invalid C# in crypto docs
2022-09-15 11:39:03 +02:00
Hugo Locurcio
ca9ba968d8
Improve volumetric fog and FogVolume documentation
2022-09-15 02:19:22 +02:00
Lyuma
033abdc59f
2D and 3D Skeleton modification docs, and small fixes.
...
Mark SkeletonModificationStack3D and related as deprecated.
Mark local bone override and axis functions deprecated in Skeleton3D api.
Fix array property glitch in SkeletonModificationStack2D
Mark SkeletonModificationStack2D and related APIs as experimental. Mark SkeletonIK3D as deprecated.
2022-09-14 15:07:45 -07:00
Rémi Verschelde
6c352c1b8d
Merge pull request #65491 from MJacred/docs/multimesh
...
Document MultiMesh members
2022-09-14 21:15:06 +02:00
Rémi Verschelde
bbed0b43f7
Merge pull request #65774 from bruvzg/no_mono_hinting
...
Do not use horizontal hinting for the editor monospace font.
2022-09-14 17:42:58 +02:00
Silc Renew
cff95e54e0
Fix redraw timing in AnimationBlendTreeEditor
2022-09-14 21:05:21 +09:00
bruvzg
e94ac75d3d
Do not use horizontal hinting for the editor monospace font.
2022-09-14 11:05:09 +03:00
Rémi Verschelde
d9e974cdb0
Merge pull request #65493 from V-Sekai/lod_scaling
...
Fixes LOD scaling issues on skinned meshes.
2022-09-14 09:57:02 +02:00
SaracenOne
13f5c62124
Fix LOD-generation on skinned meshes.
2022-09-14 02:46:10 +01:00
Fabio Alessandrelli
8b5bb7eeea
[OS] Expose get_stdin_string to Scripting.
...
Exposed as read_string_from_stdin so it's clear it's not retrieving a
property.
The method is kept with the block parameter, but a note is added to the
docs specifying that is not implemented on any platform (should we just
remove it?).
2022-09-13 18:37:11 +02:00
Micky
8142bc4ddd
Allow negative `speed_scale` in AnimatedSprite2D & 3D
...
If the `speed_scale` is set to a negative value, the animation plays in reverse.
The second parameter of `play()` still reverses as before. if `speed_scale` and the second parameter of `play()` is true, the animation plays forward.
Also updates the documentation to better describe the pausing and playing behaviour.
2022-09-13 12:41:07 +02:00
Rémi Verschelde
ff824b6f9d
Merge pull request #65509 from gotnospirit/master-os-get_datetime
...
get_datetime_* functions can return wrong values
2022-09-13 11:01:12 +02:00
Rémi Verschelde
3a82a1315b
Merge pull request #65591 from MewPurPur/area-overlapping-function
...
Implement `Area[2D/3D].has_overlapping_[bodies/areas]`
2022-09-13 10:58:55 +02:00
Rémi Verschelde
be0b77fd29
Merge pull request #65642 from voylin/fix_spaces_in_path_for_doc/makefile
2022-09-13 10:46:49 +02:00
Rémi Verschelde
f8ec046b14
Merge pull request #65704 from akien-mga/web-editor-fix-some-errors
...
Fix some errors affecting the Web editor
2022-09-13 08:31:59 +02:00
Jason Yundt
7f30e81abe
Fix invalid literals in generated rst docs
...
Before this change, API docs that look like this:
…adding [param character]s to the right of the string.
would turn into rst files that look like this:
…adding ``character``s to the right of the string.
That reStructuredText is invalid and causes warnings when the docs repo
is built.
2022-09-12 15:51:39 -04:00
Yuri Sizov
44c55ad59b
Merge pull request #65658 from KoBeWi/Two_Tweens_are_tweening_the_same_object._Who-will-win
...
Add more clarifications about Tween processing
2022-09-12 17:54:44 +03:00
Rémi Verschelde
1513d76cb9
Fix some errors affecting the Web editor
...
- Don't warn about minimized/maximized modes not being available.
- Blender and FBX export both depend on running thirdparty applications,
which can't be done (easily at least) for Web and Android editors.
- Editor theme complained about not being able to retrieve texture data
for an icon. It was only used once so instead of flipping at runtime,
let's just add a flipped icon.
Part of #65702 .
2022-09-12 16:29:45 +02:00
Rémi Verschelde
97830e7187
Merge pull request #64155 from Mickeon/sprite-3d-backwards-speed-scale
2022-09-12 12:15:58 +02:00
kobewi
038cb677cb
Add more clarifications about Tween processing
2022-09-11 17:39:35 +02:00
Voylin
0fd29f76a2
Fixes doc/Makefile fails if path contains spaces
2022-09-11 20:03:53 +09:00
Rémi Verschelde
b52305351d
Merge pull request #64465 from TokageItLab/bind-after-gui-input
...
Bind `AfterGUIInput` to GDScript and update document
2022-09-10 20:01:48 +02:00
Fireflash
7823ca1367
Update AudioStreamGeneratorPlayback.xml
...
Fixed incorrect method description for `get_frames_available`.
According to [The AudioStreamGenerator source](https://github.com/godotengine/godot/blob/master/servers/audio/effects/audio_stream_generator.cpp#L132 ), the `get_frames_available` method should return the space remaining in the sample buffer.
2022-09-10 21:39:13 +10:00
Yuri Sizov
461037203c
Merge pull request #65574 from YuriSizov/graphedit-slot-port-conundrum
2022-09-10 14:23:11 +03:00
VolTer
ed4fe1e2bd
Implement Area.has_overlapping_*
2022-09-10 12:17:37 +02:00
Rémi Verschelde
8899f1eec2
Merge pull request #65595 from KoBeWi/minus_children
...
Allow negative indices in `move_child()`
2022-09-10 09:59:15 +02:00
kobewi
31e62ca827
Allow negative indices in move_child()
2022-09-10 03:54:04 +02:00
James
0aecfc9254
Fixes #65377 : get_datetime_* functions can return wrong values
2022-09-10 07:58:38 +08:00
Rémi Verschelde
27e1323473
Merge pull request #64412 from MewPurPur/remove-remove-and-skip
...
Remove `Node.remove_and_skip` method
2022-09-10 00:42:55 +02:00
VolTer
e19f7b2407
Remove Remove and Skip
2022-09-09 23:44:31 +02:00
Micky
b648ee43ab
Harmonise AnimatedSprite3D and its 2D counterpart
...
Add the following properties to AnimatedSprite3D:
- `backwards` parameter in `play()`;
- `speed_scale`.
Both classes' internals are more similar, down to the line spacings. They've also been updated to be clearer and less inconsistent (e.g. `!frames.is_valid()` -> `frames.is_null()`, use SceneStringNames instead of CoreStringNames, rename the internal _queue_update to _queue_redraw)
2022-09-09 21:06:24 +02:00
Rémi Verschelde
ce6f284e5f
Merge pull request #64394 from smix8/navigation_obstacles_reparent_4.x
...
Fix NavigationObstacle 2D/3D (re)parent issues
2022-09-09 19:20:14 +02:00
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
82031fa231
Merge pull request #65571 from rburing/physics_server_extension_bind_all
2022-09-09 16:49:58 +02:00
Rémi Verschelde
93be337483
i18n: Sync classref translations with Weblate (3.5 branch)
...
(cherry picked from commit 26a28d6bbd
)
2022-09-09 14:52:21 +02:00
Ricardo Buring
7b84444393
PhysicsServer2DExtension and PhysicsServer3DExtension: bind all methods (really)
2022-09-09 14:35:01 +02: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
MJacred
bbaf53e1b6
Document MultiMesh members and improve/extend existing descriptions
2022-09-08 14:28:38 +02:00
Silc Renew
3c7a5fd8ac
bind AfterGUIInput
2022-09-08 20:02:48 +09:00
MJacred
15603ca887
Add class descriptions for Texture2DArray, CubemapArray and ImageTextureLayered, plus overhaul TextureLayered
...
Co-authored-by: Clay John <claynjohn@gmail.com>
2022-09-08 10:19:54 +02: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
Yuri Sizov
e2372af136
Merge pull request #65462 from Chaosus/astargrid_docs
...
Add documentation for `AStarGrid2D` class
2022-09-07 20:08:17 +03: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
2b6e043491
Merge pull request #58617 from KoBeWi/custom_something
...
Improve handling of custom types
2022-09-07 17:54:17 +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
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
Yuri Rubinsky
a630bd7998
Add documentation for `AStarGrid2D` class
2022-09-07 16:23:34 +03:00
Ricardo Buring
532e378cd9
Expose registration of physics servers to GDExtension
...
This exposes PhysicsServer2DManager and PhysicsServer3DManager.
2022-09-07 15:05:46 +02:00
Rémi Verschelde
019253512d
Merge pull request #65465 from rburing/physics_server_extension_bind
2022-09-07 14:50:02 +02:00
Ricardo Buring
bf523b26b9
Bind all methods in PhysicsServer2DExtension, PhysicsServer3DExtension
2022-09-07 13:16:44 +02: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
Fabio Alessandrelli
fffdbb38e3
Merge pull request #65239 from Geequlim/js2web
...
Rename JavaScript singleton to JavaScriptBridge
2022-09-07 09:29:42 +02:00
Rémi Verschelde
61644f1dbe
Merge pull request #65447 from Faless/net/4.x_ssl_to_tls
...
[Net] Rename StreamPeerSSL to StreamPeerTLS.
2022-09-07 09:19:46 +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
c1150428c6
Merge pull request #65449 from YuriSizov/editor-main-control-screen-container-node
...
Rename `EditorInterface.get_editor_main_control` to `get_editor_main_screen`
2022-09-07 08:59:37 +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
Fabio Alessandrelli
528e791a5f
[Net] Rename StreamPeerSSL to StreamPeerTLS.
...
SSL has been deprectated almost 10 years ago.
2022-09-07 07:38:50 +02:00
Yuri Sizov
1459507ed2
Rename EditorInterface.get_editor_main_control to get_editor_main_screen
2022-09-07 03:01:58 +03:00
Yuri Sizov
5eaf82b4f0
Make AcceptDialog and derivatives utilize StyleBox fully
2022-09-07 01:42:11 +03: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
Vitika9
1dce43d417
ColorPicker UX improvements
...
- Tabs and MenuButton for mode selection and enabling/disabling colorized sliders
- MenuButton for shape selection with new icon for each shape
- Drag and drop functionality for presets to arrange order
- A chronological list of recently selected presets which are global for the editor
- Presets are now highlighted as being active or inactive
- Thicker sliders for easy targeting
- `grabber_offset` theme constant for Slider
- Uncolorized sliders
2022-09-06 21:42:20 +05:30
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
Michael Alexsander
9507e91c07
Rename `PopupMenu`'s `set/get_current_index()` to `set/get_focused_item()`
2022-09-06 10:51:14 -03:00
volokh0x
ff23defaf8
Fix typos in Dictionary.xml
2022-09-06 13:38:40 +03:00
Micky
b6daad8d4b
Rename `range_lerp` to `remap`
2022-09-06 07:19:20 +02:00
kobewi
a3309215c2
Improve handling of custom types
2022-09-05 23:08:28 +02:00
kobewi
229e764290
Improve the description of follow_viewport_enabled
2022-09-05 18:34:52 +02:00
Micky
694190a354
Rename TileMap/GridMap.`world_to_map` and opposite to `local_to_map`
...
For both TileMap and GridMap:
- `world_to_map` -> `local_to_map`
- `map_to_world` -> `map_to_local`
Also changes any mention of "world" in this context to "local" to avoid future confusion.
Finally, updates the docs of both methods for consistency.
In particular, adding a note on how to convert the returned values from local to global coordinates and vice versa.
2022-09-05 18:08:39 +02:00
Rémi Verschelde
6c818da55e
Merge pull request #65321 from rburing/physics_server_2d_extension
...
Create GDExtension classes for PhysicsServer2D
2022-09-05 12:44:58 +02:00
Rémi Verschelde
26c073aa1d
Merge pull request #63568 from santagada/patch-1
2022-09-05 12:30:22 +02:00
Rémi Verschelde
b5c053321c
Merge pull request #64840 from maximkulkin/graph-edit-node-selection
...
Add GraphNode 'selected' and 'deselected' signals, simplify GraphEdit
2022-09-05 08:36:10 +02:00
Maxim Kulkin
9a35ede23f
Add GraphNode 'selected' and 'deselected' signals, simplify GraphEdit
2022-09-05 02:32:06 -04:00
Aaron Franke
995b9f94e8
Replace Rect2(i) has_no_area with has_area
2022-09-04 23:03:36 -05:00
Aaron Franke
817ae95667
Replace AABB has_no_volume with has_volume
...
Also replace has_no_surface with has_surface
2022-09-04 23:03:36 -05:00
MinusKube
f5a808192b
Prevent windows from having a size greater than device limit
2022-09-04 22:48:54 +02:00
Juan Linietsky
2b428daf2b
Treat JSON as resource files.
...
This makes the files ended in ".json" be treated as Godot resources.
This solves two problems:
* Avoid extensions to implement their own handling, which results in conflicts (all must use this one).
* Allow code to still work opening it as a file (since it will not be imported).
2022-09-04 14:01:41 +02:00
Ricardo Buring
d22ff48b3d
Create GDExtension classes for PhysicsServer2D
...
This allows a 2D physics server created entirely from GDExtension.
Based on the structure of PhysicsServer3DExtension by reduz.
2022-09-04 12:04:08 +02:00
Rémi Verschelde
042050a47c
Merge pull request #65283 from bruvzg/reenable_per_pix_transp
...
Re-enable per-pixel transparency support on Linux, macOS, and Windows.
2022-09-03 23:52:18 +02:00
Rémi Verschelde
3faf9e18f1
Merge pull request #65284 from MJacred/docs/vector4i
...
Document Vector4i
2022-09-03 18:24:08 +02:00
bruvzg
57829b7cc4
Re-enable per-pixel transparency support on Linux, macOS, and Windows (for Vulkan and OpenGL rendering drivers).
2022-09-03 19:16:03 +03:00
MJacred
ed4571ee37
Document Vector4i
2022-09-03 17:06:36 +02:00
Xwdit
f350356183
Some improvements to the SceneTreeTimer
2022-09-03 11:44:11 +02:00
Rémi Verschelde
8c3f6420f3
Merge pull request #65260 from Calinou/doc-audio-input-permissions
2022-09-02 23:14:24 +02:00
Rémi Verschelde
77ca96fd73
Merge pull request #59589 from Calinou/rename-or-lesser-range-property-hint
2022-09-02 23:13:20 +02:00
Rémi Verschelde
3dd7321939
Merge pull request #65115 from raulsntos/linux/dark-mode
2022-09-02 22:36:04 +02:00
Hugo Locurcio
09ee0b8ae8
Improve documentation related to audio input permissions
2022-09-02 19:22:34 +02:00
Hugo Locurcio
f7292dbeb3
Rename `or_lesser` range property hint to `or_less`
...
"less" should be used for quantity, rather than "lesser".
Existing scripts that use `or_lesser` in `_get_property_list()`
will need to be updated to account for this change.
2022-09-02 19:08:20 +02:00
Yuri Rubinsky
1241c4b6ba
Revert usage of typed array in `add_surface_from_arrays` parameters
2022-09-02 18:08:43 +03:00
Raul Santos
471c9c2969
Add support for system dark mode (Linux)
...
- Use `org.freedesktop.appearance color-scheme` to support system dark mode.
2022-09-02 16:49:21 +02:00
Geequlim
48f9069f3a
Rename JavaScript singleton to JavaScriptBridge
2022-09-02 21:11:15 +08:00
Rémi Verschelde
3a62c294c7
Merge pull request #65170 from KoBeWi/your_argument_is_TypedArray
2022-09-02 13:57:02 +02:00
Rémi Verschelde
f81a4b2478
Merge pull request #65026 from bruvzg/dark_mode
2022-09-02 13:54:46 +02:00
Rémi Verschelde
c82bbc38a5
Merge pull request #64952 from Chaosus/vs_rename_uniform_to_param
2022-09-02 13:49:53 +02:00
Rémi Verschelde
9142904c24
Merge pull request #65202 from BenniKane/patch-1
2022-09-02 08:46:02 +02:00
Rémi Verschelde
5a136ee490
Merge pull request #64724 from KoBeWi/HVBoxContainer
2022-09-02 08:44:42 +02:00
Jonathan Nicholl
15d057c521
Add `is_zero_approx` methods to `Vector2`, `3`, and `4`
2022-09-02 00:29:50 -04:00
Rémi Verschelde
d63c6fc463
Merge pull request #60185 from Calinou/environment-fog-and-sky-affect
2022-09-01 23:52:34 +02:00
Rémi Verschelde
4cca7bd977
Merge pull request #65212 from Faless/net/4.x_simplify_ext_bindings
2022-09-01 23:51:35 +02:00
Rémi Verschelde
5263fd5343
Merge pull request #64198 from Geometror/add-bitmap-tests
2022-09-01 23:46:38 +02:00
Rémi Verschelde
2e0cffdb6f
Merge pull request #63479 from DarkKilauea/nav-link
2022-09-01 23:44:22 +02:00
Rémi Verschelde
181019cea5
Merge pull request #65135 from reduz/export-customization-plugins
2022-09-01 23:43:39 +02:00
kobewi
73929bef73
Rework oriented containers
2022-09-01 22:13:46 +02:00
BenniKane
ed5b832a81
doc: Clarifying NavigationAgent and NavigationAgent2D velocity_computed requires avoidance_enabled to be true to emit
2022-09-01 12:32:29 -05:00
Fabio Alessandrelli
fbbd3950c8
Simplify network GDExtension bindings using EXBIND macros.
...
Simplify StreamPeer, PacketPeer, MultiplayerPeer extension.
Simplify and update WebRTC*Extension with newly supported types.
2022-09-01 19:10:22 +02:00
Rémi Verschelde
8c7be63588
Merge pull request #65192 from YuriSizov/control-customizable-cache-p2
2022-09-01 19:09:33 +02:00
Hugo Locurcio
699e9f7966
Add Environment properties to control fog rendering on background sky
...
Values lower than 1.0 can be used to make the fog rendering not fully
obstruct the sky. This can be desired when using fog as a purely
atmospheric effect, without intending to use fog for open world fog
fading.
When set to 0.0, fog rendering behavior will be similar to Godot 3.x
where sky rendering was never affected by fog.
2022-09-01 19:07:39 +02:00
Hendrik Brucker
ea0472fecf
Refactor BitMap and add tests
...
Co-authored-by: Resul Çelik <resul_celik@hotmail.com>
2022-09-01 18:39:17 +02:00
Rémi Verschelde
ca59f47f31
Merge pull request #64157 from Mickeon/remove-mysterious-is-playing
2022-09-01 17:40:32 +02:00
Rémi Verschelde
41156a1e83
Merge pull request #63968 from KoBeWi/finding_stuff_in_a_dictionary
2022-09-01 17:38:39 +02:00
Rémi Verschelde
027415312e
Merge pull request #65132 from bruvzg/global_menu_shortcuts_context
2022-09-01 17:02:04 +02:00
Micky
8949386382
Rename AnimatedTexture `oneshot` to `one_shot`
...
AnimatedTexture.`oneshot` -> `one_shot`
For consistency. Every other exposed `one_shot` is spaced out like this.
2022-09-01 15:38:06 +02:00
Yuri Sizov
15fd025f90
Add dumb and manual theme caching systems to Window
2022-09-01 16:05:02 +03:00
kobewi
7adc8376ed
Change Array arguments to TypedArray
2022-09-01 13:13:19 +02:00
Juan Linietsky
ef17c4668a
Add support for scene/resource customization in export plugins
...
EditorExportPlugin adds a set of callbacks to allow customizing scenes, resources or subresources in all files exported:
* Can take scene files, resource files and subresources in all of them.
* Uses a cache for the converted files if nothing changes, so this work only happens if a file is modified.
* Uses hashing to differentiate export configuration caches.
* Removed the previous conversion code to binary, as this one uses existing stuff.
This API is useful in several scenarios:
* Needed by the "server" export platform to get rid of textures, meshes, audio, etc.
* Needed by text to binary converters.
* Needed by eventual optimizations such as shader precompiling on export, mesh merging and optimization, etc.
This is a draft, feedback is very welcome.
2022-09-01 11:16:00 +02:00
Yuri Rubinsky
8191b3c110
Rename `uniform` to `parameter` across the engine
2022-09-01 11:42:57 +03:00
Rémi Verschelde
89f0886425
Merge pull request #65073 from bruvzg/trim_spaces
...
[TextServer] Add support for trimming edge spaces on line break.
2022-09-01 08:16:52 +02:00
bruvzg
b85a4c5d79
[macOS] Handle accelerator and click events of the global menu items separately.
2022-09-01 08:13:56 +03:00
bruvzg
7aad14a4b6
[TextServer] Add support for trimming edge spaces on line break.
2022-09-01 08:11:55 +03:00
clayjohn
385ee5c70b
Implement Physical Light Units as an optional setting.
...
This allows light sources to be specified in physical light units in addition to the regular energy multiplier. In order to avoid loss of precision at high values, brightness values are premultiplied by an exposure normalization value.
In support of Physical Light Units this PR also renames CameraEffects to CameraAttributes.
2022-08-31 12:14:46 -07:00
Rémi Verschelde
46a568e0a7
Merge pull request #65131 from TokageItLab/transform-with
2022-08-31 13:08:39 +02:00
Rémi Verschelde
7b63e5db1e
Merge pull request #59919 from piiertho/enhancement/rename-AnimationNodeTransition-input_count-to_enabled_inputs
2022-08-31 12:07:31 +02:00
bruvzg
629ae58a80
Add support for system dark mode and accent color detection (macOS and Windows). Add support for dark mode title bar on Windows.
2022-08-31 11:37:01 +03:00
Pierre-Thomas Meisels
9391316b8e
enhancement: Rename declared property AnimationNodeTransition::input_count to AnimationNodeTransition::enabled_inputs
2022-08-31 10:34:03 +02:00
Silc Renew
c139d9ef7d
Discontinued spherical_interpolate_with in Transform3D
2022-08-31 16:35:38 +09:00
Rémi Verschelde
d58a1d65a9
Merge pull request #63413 from Calinou/volumetric-fog-add-per-light-energy-2
...
Add a per-light volumetric fog energy property
2022-08-31 08:47:03 +02:00
Rémi Verschelde
96b470b28e
Merge pull request #63394 from Calinou/curve-gradient-rename-interpolate
...
Rename Curve/Curve2D/Curve3D/Gradient `interpolate()` to `sample()`
2022-08-31 08:37:12 +02:00
Rémi Verschelde
36a5160ad7
Merge pull request #62157 from ChronicallySerious/front-port-vcs-plugin
...
VCS: Port Godot 3.5's VCS features to GDExtension
2022-08-31 07:38:42 +02:00
Hugo Locurcio
ae18928748
Rename Curve/Curve2D/Curve3D/Gradient `interpolate()` to `sample()`
...
"sampling" is a more accurate term than "interpolating" for what's
happening when using that function.
2022-08-30 22:08:38 +02:00
Rémi Verschelde
f6714581cc
Merge pull request #64545 from asmaloney/doc-fstring-make_rst
...
[doc] Use f-strings throughout make_rst.py
2022-08-30 21:34:37 +02:00
Rémi Verschelde
c24c67858a
Merge pull request #65087 from TokageItLab/change-skeleton-3d-api
...
Clean-up/change some Skeleton3D API
2022-08-30 21:18:19 +02:00
Twarit Waikar
a62b0ec904
VCS: Improve VCS UI/UX by QoL changes
...
The editor will now use the project path i.e. the place where the root of
the repo is supposed to be according to the user. This project path is
also sent into the plugin and so out-of-directory asset folders can also be
maintained this way.
2022-08-31 00:27:08 +05:30
Hugo Locurcio
09bedcead4
Add a per-light volumetric fog energy property
...
Per-light energy gives more control to the user on the final result of
volumetric fog. Specific lights can be fully excluded from volumetric fog
by setting their volumetric fog energy to 0, which improves performance
slightly. This can also be used to prevent short-lived dynamic effects
from poorly interacting with volumetric fog, as it's updated over several
frames by default unless temporal reprojection is disabled.
Volumetric fog shadows now obey Light3D's Shadow Opacity property as well.
The shadow fog fade property was removed as it had little visible impact
on the final scene's rendering.
2022-08-30 20:03:38 +02:00
Yuri Rubinsky
94b3a505c3
Merge pull request #62717 from Chaosus/jps_pathfinding
2022-08-30 20:48:16 +03:00
Rémi Verschelde
62de7cec79
Merge pull request #59855 from KoBeWi/focus_thief
2022-08-30 19:38:31 +02:00
Andy Maloney
e430975b86
[doc] Use f-strings throughout make_rst.py
...
Based on discussion in #64230
2022-08-30 13:02:25 -04:00
Rémi Verschelde
e27b61d291
Merge pull request #65042 from YuriSizov/editor-docks-tabbar-bg
2022-08-30 18:53:54 +02:00
Yuri Rubinsky
4d7c1b92e9
Implement `AStarGrid2D` class with jump-point pathfinding
2022-08-30 17:29:23 +03:00
Silc Renew
28b11e216a
Clean-up/change some Skeleton3D API
2022-08-30 23:03:12 +09:00
Rémi Verschelde
02d510bd07
Merge pull request #63003 from Geometror/msaa-2d
2022-08-30 14:54:20 +02:00
Rémi Verschelde
ae349d8227
Merge pull request #64377 from Mickeon/rename-canvas-redraw
...
Rename `CanvasItem.update()` to `queue_redraw()`
2022-08-30 14:47:41 +02:00
kobewi
188d5593e1
Mention that grab_focus is more reliable deferred
2022-08-30 14:20:43 +02:00
Rémi Verschelde
0bf3f79157
Merge pull request #63902 from dalexeev/string-cases
2022-08-30 14:06:28 +02:00
Rémi Verschelde
ebe4f8d3a4
Merge pull request #65039 from Mickeon/rename-treeitem-tooltip
2022-08-30 14:05:08 +02:00
Rémi Verschelde
889c522a19
Merge pull request #64410 from MewPurPur/rename-notification-instanced
2022-08-30 12:01:58 +02:00
Danil Alexeev
d4555ef5fb
Add `String.to_{camel,pascal,snake}_case` methods
2022-08-30 12:36:24 +03:00
Micky
97f8c9b97c
Rename TreeItem's `set_tooltip` to `set_tooltip_text`
...
`set_tooltip` -> `set_tooltip_text`
`get_tooltip` -> `get_tooltip_text`
For consistency:
`get_button_tooltip` -> `get_button_tooltip_text`
And the `tooltip` parameter in `add_button` was renamed to `tooltip_text`
2022-08-30 11:16:23 +02:00
Rémi Verschelde
432b25d364
Merge pull request #65066 from aaronfranke/str-path-join
2022-08-30 10:01:11 +02:00
Rémi Verschelde
183438e13b
Merge pull request #65060 from Atlinx/feat/65059_fix-doc-error
2022-08-30 09:26:11 +02:00
Rémi Verschelde
80831fc21f
Merge pull request #61883 from Calinou/material-tweak-default-alpha-scissor-threshold
...
Improve documentation for BaseMaterial3D's alpha scissor threshold
2022-08-30 08:41:21 +02:00
Aaron Franke
10a56981dc
Rename String `plus_file` to `path_join`
2022-08-29 19:38:13 -05:00
Atlinx
0e3097c023
Add missing parameters for signal in docs
2022-08-29 20:13:01 -04:00
Yuri Sizov
8b196be855
Add background to TabContainer's tabbar and editor docks
2022-08-29 23:43:32 +03:00
Hugo Locurcio
5e351a8bfd
Document 3D particle color properties requiring vertex color as albedo
2022-08-29 16:20:26 +02:00
Rémi Verschelde
ecb89bfbd5
Merge pull request #57234 from rafallus/doc/collision_obj_mouse_functions
2022-08-29 15:15:43 +02:00
Rémi Verschelde
c7e4c802ff
Merge pull request #65031 from akien-mga/os-drop-obsolete-resource-debugging
2022-08-29 15:04:17 +02:00
Micky
e31bb5ffeb
Rename `CanvasItem.update()` to `queue_redraw()`
...
Affects a lot of classes. Very thoroughly checked signal connections and deferred calls to this method, add_do_method/add_undo_method calls, and so on.
Also renames the internal `_update_callback()` to `_redraw_callback()` for consistency.
Just a few comments have also been changed to say "redraw".
In CPUParticles2D, there was a private variable with the same name. It has been renamed to `do_redraw`.
2022-08-29 14:59:47 +02:00
Hugo Locurcio
64717d64cd
Improve documentation for BaseMaterial3D's alpha scissor threshold
2022-08-29 14:54:06 +02:00
rafallus
7f2740f7bd
Expose input interaction virtual functions in CollisionObject
2022-08-29 14:04:52 +02:00
Rémi Verschelde
e60086f98b
Merge pull request #64119 from YuriSizov/theme-init-database
2022-08-29 14:02:21 +02:00
Yuri Sizov
0024ba8dad
Merge pull request #63938 from FlashViper/patch-2
...
Modified descriptions of 'command' and 'meta'
2022-08-29 14:52:42 +03:00
Rémi Verschelde
eb56d1d1eb
Drop obsolete resource usage debug methods from OS class
...
These methods exist since the dawn of (open source) Godot and have hardly
been updated over time, so they barely work and I'm fairly sure nobody is
using them. (See #46505 for details.)
While some of the functionality they aimed to provide might be useful for
optimization work and introspection, this should likely be redesigned from
scratch with a cleaner and more modern interface (e.g. exposed via the
Performance singleton, or ResourceLoader, and a better API overall).
2022-08-29 12:57:37 +02:00
FlashViper
c60853e01f
InputEventWithModifiers: Improve docs of 'command' and 'meta'
...
Ported forward from 3.x
2022-08-29 12:42:19 +02:00
Fabio Alessandrelli
d20b32186f
[Web] Rename JavaScript platform to Web.
...
Also rename export name from "HTML5" to "Web".
2022-08-29 11:52:00 +02:00
Haoyu Qiu
385a5b44aa
Improve documentation for `get_animation()`
2022-08-29 14:54:57 +08:00
Rémi Verschelde
f647292df5
Merge pull request #64960 from YeldhamDev/more_hl_stuff
2022-08-29 08:05:33 +02:00
Rémi Verschelde
f7f8af232c
Merge pull request #64885 from Mickeon/rename-tooltip-hint
...
Rename `hint_tooltip` to `tooltip_text` & setter getter
2022-08-28 17:43:01 +02:00
Michael Alexsander
221344b9e2
Fix some corner cases in the `Menu/OptionButton` item auto-highlight
2022-08-28 01:15:03 -03:00
Patrick Exner
55bbcc54e7
Implement custom non-trivial shader functions
2022-08-27 22:59:12 +02:00
Rémi Verschelde
85ef0a1058
Merge pull request #64935 from YuriSizov/makerst-make-stable-link
...
Make cross-link generation more reliable in RST documentation
2022-08-27 11:03:33 +02:00
Rémi Verschelde
f9998455ce
Merge pull request #63249 from V-Sekai/animation_tree_editor_read_only
...
Add read-only mode to AnimationTreeEditor plugins
2022-08-27 08:14:30 +02:00
Josh Jones
3dd59013f4
Added node for Navigation links
2022-08-26 22:05:15 -07:00
Micky
ef5b9a06a9
Rename `hint_tooltip` to `tooltip_text` & setget
...
`hint_tooltip` -> `tooltip_text`
`set_tooltip` -> `set_tooltip_text`
`_get_tooltip` -> `get_tooltip_text`
Updates documentation, too.
2022-08-27 01:35:01 +02:00
Silc Renew
931fb4dc11
Add linear/cubic angle interpolation to Animation interpolation type
2022-08-27 07:58:22 +09:00
Leonardo Santagada
74df54a99e
Mention an issue with infinite scroll on mirroring of Parallax layer
2022-08-26 23:43:59 +02:00
Rémi Verschelde
4808d01b2b
Merge pull request #64223 from Calinou/taa-fxaa-use-negative-mipmap-lod-bias
...
Automatically use negative mipmap LOD bias when TAA and/or FXAA are enabled
2022-08-26 23:11:25 +02:00
Rémi Verschelde
bd219de7fe
Merge pull request #64928 from YuriSizov/editor-tooltip-or-not-tooltip
...
Remove Inspector tooltip hack that never actually worked
2022-08-26 23:04:50 +02:00
Rémi Verschelde
f9f2446972
Merge pull request #64367 from Mickeon/rename-var-to-str
...
Rename `str2var` to `str_to_var` and similar
2022-08-26 23:04:06 +02:00
Rémi Verschelde
4f60fd0480
Merge pull request #64777 from bruvzg/extend_to_title
...
[macOS] Extend editor contents to the window title bar for better space usage.
2022-08-26 23:03:31 +02:00
Rémi Verschelde
390333e822
Merge pull request #64207 from bruvzg/rcs
...
[macOS export] Simplify code signing options, add support for rcodesign tool for signing and notarization.
2022-08-26 19:16:27 +02:00
Yuri Sizov
6320a0fc18
Add ThemeDB, expose previously static Theme methods
2022-08-26 19:23:05 +03:00
Yuri Sizov
a287276ef0
Make cross-link generation more reliable in RST documentation
2022-08-26 19:13:41 +03:00
Yuri Sizov
207bdc2b9f
Remove Inspector tooltip hack that never actually worked
2022-08-26 17:22:13 +03:00
Rémi Verschelde
1c97dde78f
Merge pull request #64894 from fabriceci/remove-dynamic-bodies-name
2022-08-26 16:16:32 +02:00
Rémi Verschelde
87fdc5c1f3
Merge pull request #54546 from KoBeWi/ ➖
2022-08-26 16:16:15 +02:00
Micky
59e11934d8
Rename `str2var` to `str_to_var` and similar
...
Affects the Math class, a good chunk of the audio code, and a lot of other miscellaneous classes, too.
- `var2str` -> `var_to_str`
- `str2var` -> `str_to_var`
- `bytes2var` -> `bytes_to_var`
- `bytes2var_with_objects` -> `bytes_to_var_with_objects`
- `var2bytes` -> `var_to_bytes`
- `var2bytes_with_objects` -> `var_to_bytes_with_objects`
- `linear2db` -> `linear_to_db`
- `db2linear` -> `db_to_linear`
- `deg2rad` -> `deg_to_rad`
- `rad2deg` -> `rad_to_deg`
- `dict2inst` -> `dict_to_inst`
- `inst2dict` -> `inst_to_dict`
2022-08-26 14:58:22 +02:00
Rémi Verschelde
c8ef12a03a
Merge pull request #64665 from Mickeon/rename-label-visible
2022-08-26 14:54:37 +02:00
bruvzg
bc4ba6cb78
[macOS] Extend editor contents to the window titlebar for better space usage.
2022-08-26 15:12:43 +03:00
bruvzg
d91cb1d5d5
[macOS export] Simplify code signing options, add support for rcodesign tool for signing and notarization.
2022-08-26 14:23:31 +03:00
kobewi
c8abd40ea8
Easier setting properties of last TileMap layer
2022-08-26 12:54:13 +02:00
fabriceci
f8cc88fab3
Restore RigidBody2/3D, SoftBody names in physics
2022-08-26 12:26:25 +02:00
Micky
64bd36ecee
Rename Label & RichTextLabel.`percent_visible` to `visible_ratio`
...
Also updates the documentation of both `visible_characters` and `visible_ratio` to, better describe what they do and improve consistency between the two Classes.
2022-08-26 12:15:57 +02:00
Micky
ec963788cc
Rename Camera2D's `screen_center` and `*_position`
...
`get_camera_screen_center` -> `get_screen_center_position`
`get_camera_position` -> `get_target_position`
2022-08-26 12:11:52 +02:00
Rémi Verschelde
7013c68619
Merge pull request #64422 from bruvzg/make_fonts_unbearably_ugly_2.0
2022-08-26 11:59:07 +02:00
Rémi Verschelde
354123a207
Merge pull request #64243 from bruvzg/multiline_textmesh
2022-08-26 11:45:25 +02:00
Rémi Verschelde
fed1189099
Merge pull request #62771 from bruvzg/line_edit_trim
2022-08-26 11:43:28 +02:00
Rémi Verschelde
7bb92bc040
Merge pull request #62845 from AaronRecord/dont_update_theme_outside_of_tree
...
Refactor and remove excessive calls of `NOTIFICATION_THEME_CHANGED`
2022-08-26 10:37:44 +02:00
Rémi Verschelde
5bf2b3926c
Merge pull request #64879 from TokageItLab/cubic-to-cubicintime
...
Replace `Cubic` to `CubicInTime` in the animation track interpolation type
2022-08-26 09:45:24 +02:00
Micky
723bf85145
Rename ParticlesMaterial to ParticleProcessMaterial
...
Also affects their file names, related classes and documentation.
2022-08-26 02:53:08 +02:00
Silc Renew
d96cc7450a
Make Cubic to CubicInTime and reduce items in the track intrp type
2022-08-26 06:49:09 +09:00
Aaron Record
74eb2a70bd
Refactor and remove excessive calls of `NOTIFICATION_THEME_CHANGED`
2022-08-25 14:50:49 -06:00
Rémi Verschelde
060d0ce882
Merge pull request #53299 from Calinou/viewport-tweak-configuration-warning
2022-08-25 21:44:31 +02:00
Rémi Verschelde
ce78d280b3
Merge pull request #58530 from Calinou/os-remove-dump-memory-to-file
...
Remove unimplemented `OS.dump_memory_to_file()` method
2022-08-25 20:55:30 +02:00
Hugo Locurcio
45bc1a3790
Automatically use negative mipmap LOD bias when TAA and/or FXAA are enabled
...
This improves texture sharpness when TAA and/or FXAA are enabled,
without requiring manual user intervention.
2022-08-25 19:38:18 +02:00
Rémi Verschelde
03ec5d7005
Merge pull request #64891 from Calinou/doc-editorsettings-code-font
...
Fix outdated mentions of default code font in EditorSettings documentation
2022-08-25 19:33:06 +02:00
Rémi Verschelde
88145e81e2
Merge pull request #64804 from Mickeon/rename-path-progress
2022-08-25 18:35:48 +02:00
Rémi Verschelde
af88438c71
Merge pull request #64354 from Mickeon/rename-navigation-distance
2022-08-25 18:35:23 +02:00
Rémi Verschelde
5eed1b299b
Merge pull request #64355 from Mickeon/rename-follow-viewport
2022-08-25 18:34:19 +02:00
Rémi Verschelde
ceaff612c8
Merge pull request #64824 from Mickeon/rename-polygon-invert
2022-08-25 18:33:58 +02:00
Hugo Locurcio
517220f6d4
Fix outdated mentions of default code font in EditorSettings documentation
2022-08-25 18:33:31 +02:00
Rémi Verschelde
33bf609d79
Merge pull request #64820 from Chaosus/shader_fix_varyings
2022-08-25 18:02:38 +02:00
Rémi Verschelde
78033235bb
Merge pull request #64802 from benbot/master
2022-08-25 17:50:51 +02:00
SaracenOne
75f1357ced
Add read-only mode to AnimationTreeEditor plugins
2022-08-25 16:29:36 +01:00
Yuri Rubinsky
d4a10e7e04
Allow using integer varyings with `flat` interpolation modifier
2022-08-25 13:21:02 +03:00
fabriceci
31549dca29
Shorten variable names for moving platforms in CharacterBody
2022-08-25 09:15:18 +02:00
Rémi Verschelde
629524c7a2
Merge pull request #64868 from timothyqiu/see-url
...
Fix missing URL text in the classref
2022-08-25 07:58:59 +02:00
Rémi Verschelde
a0113a98e4
Merge pull request #64801 from clayjohn/plane-quad
...
Remove QuadMesh and add orientation parameter to PlaneMesh
2022-08-25 07:38:30 +02:00
Rémi Verschelde
e1266d2f35
Merge pull request #64781 from raulsntos/csharp_children
...
Add `includeInternal` to C# NodeExtensions and avoid printing errors in `GetChildOrNull`
2022-08-25 07:32:50 +02:00
Rémi Verschelde
1204ad32d1
Merge pull request #64829 from fabriceci/improve-monitor-contact-api
...
Improves the API for monitoring contacts in RigidDynamicBody
2022-08-25 07:31:06 +02:00
Haoyu Qiu
a90c348a86
Fix missing URL text in the classref
2022-08-25 13:10:54 +08:00
clayjohn
861c5bff0e
Remove QuadMesh and add orientation parameter to PlaneMesh
2022-08-24 18:51:18 -07:00
Rémi Verschelde
56752e32a6
Merge pull request #61238 from Calinou/particlesmaterial-add-fade-on-contact-collision-mode
...
Add "Hide on Contact" collision mode to ParticlesMaterial
2022-08-25 00:01:47 +02:00
benbot
9c1bcdcf1a
removes unused skeleton functions and stray comments in RigidDynamicBody3D
2022-08-24 16:49:39 -04:00
fabriceci
59bf35f3df
Improves the API for monitoring contacts in RigidDynamicBody
2022-08-24 21:23:11 +02:00
Max Hilbrunner
90640668ef
Merge pull request #64734 from Mickeon/docs-percent-visible
...
Improve `percent_visible` and `visible_characters` description
2022-08-24 19:54:32 +02:00
Max Hilbrunner
361c6bdc95
Merge pull request #62988 from jtnicholl/animation_library_docs
...
Add classref documentation for AnimationLibrary
2022-08-24 19:47:58 +02:00
Max Hilbrunner
b466c834d5
Merge pull request #64793 from rburing/concave_area_docs
...
Document behavior of areas with concave shapes
2022-08-24 19:44:29 +02:00
Rémi Verschelde
2961651444
Merge pull request #64691 from TokageItLab/Quaternion-editor
2022-08-24 18:36:54 +02:00
Rémi Verschelde
4698dc67b5
Merge pull request #64082 from KoBeWi/array3k
2022-08-24 16:05:59 +02:00
Rémi Verschelde
dc185278a9
Merge pull request #64823 from derammo/derammo_fix_trivial_resource_saver_arg_name
2022-08-24 15:55:23 +02:00
Rémi Verschelde
a4a4402201
Merge pull request #64822 from akien-mga/sunset-visual-script
2022-08-24 15:41:57 +02:00
Micky
14feea59fb
Improve `percent_visible` and `visible_characters` description
...
Applies for Label and RichTextLabel.
2022-08-24 15:39:21 +02:00
Yuri Sizov
78f3e4cb6a
Merge pull request #64369 from derammo/derammo_tree_right_click_title
...
Replace Tree control left click on title signal with new signal for either left or right click
2022-08-24 16:16:53 +03:00
Silc Renew
673c649adb
Implement Quaternion Editor
2022-08-24 22:04:49 +09:00
derammo
0ba2e999df
implemented right click on Tree control header
2022-08-24 08:10:40 -04:00
Micky
06a8113576
Rename Polygon2D.`invert_enable` to end with "d"
...
Polygon2D.`invert_enable` -> `invert_enabled`
Also affects the setters and getters, which are now named in full instead of cutting "enabled" off.
Updates old leftover documentation slightly, as well.
2022-08-24 13:09:44 +02:00
kobewi
f7f4873ed0
Replace Array return types with TypedArray 3
2022-08-24 12:53:36 +02:00
derammo
672fa94fb8
fix arg naming in ResourceFormatLoader extension
2022-08-24 06:49:03 -04:00
Rémi Verschelde
b1f392c25e
Remove VisualScript module for 4.0
...
As announced in https://godotengine.org/article/godot-4-will-discontinue-visual-scripting ,
Godot maintainers have agreed to discontinue the current implementation of
our VisualScript language.
The way it had been designed was not user-friendly enough and we did not
succeed in improving its usability to actually make it a good low-code
solution for users who need one.
So we prefer to remove it for Godot 4.0 and leave the door open for new,
innovative ideas around visual scripting, to be developed as plugins or
extensions now that Godot provides sufficient functionality for this
(notably via GDExtension and the godot-cpp C++ bindings).
The current module has been moved to a dedicated repository (with full Git
history extracted with `git filter-branch`):
https://github.com/godotengine/godot-visual-script
It can still be compiled as a C++ module (for now, but will likely require
work to be kept in sync with the engine repository), but our hope is that
contributors will port it to GDExtension (which is quite compatibile with
the existing C++ module code when using the godot-cpp C++ bindings).
2022-08-24 12:08:17 +02:00
Yuri Rubinsky
0626ce50cf
Merge pull request #64794 from Chaosus/projection_constructor
2022-08-24 11:19:41 +03:00
Rémi Verschelde
792f7cc28c
Merge pull request #63282 from V-Sekai/disable_foreign_resource_edits
...
Disable editing properties in foreign resources
2022-08-24 08:54:05 +02:00
Rémi Verschelde
b556d8c9a0
Merge pull request #64370 from Mickeon/rename-marker-node
...
Rename Position* nodes to Marker*
2022-08-24 08:52:13 +02:00
Rémi Verschelde
91e5f48ea7
Merge pull request #64009 from KoBeWi/arrayy_lmao
...
Replace Array return types with TypedArray (part 2)
2022-08-24 08:18:56 +02:00
Yuri Rubinsky
e97ece55aa
Add constructor accepting four Vector4's to `Projection`
2022-08-24 08:30:40 +03:00
Micky
bb936b2e27
Rename PathFollow's `offset`s to `progress` & `progress_ratio`
...
Applies for both PathFollow2D and PathFollow3D
2022-08-24 01:56:03 +02:00
SaracenOne
dd814a0dca
Disable editing properties in foreign resources
...
from imported scenes or objects returning
true from a function named '_is_read_only' and
disable resaving imported resources.
2022-08-23 23:16:13 +01:00
kobewi
1abdffe7a0
Replace Array return types with TypedArray 2
2022-08-23 23:21:32 +02:00
Ricardo Buring
5da55356c8
Document behavior of areas with concave shapes
2022-08-23 22:22:35 +02:00
Micky
8bb305356e
Rename Position* nodes to Marker*
...
- Position2D -> Marker2D
- Position3D -> Marker3D
Also changes their respective file names.
2022-08-23 19:49:50 +02:00
Raul Santos
7924d643e5
Add `includeInternal` to C# NodeExtensions and fix get_child documentation
...
Node methods in C# extended to use generics
now have the optional parameter `includeInternal`
like their non-generic equivalents.
Also, fixed a typo in the `Node.get_child` documentation.
2022-08-23 18:19:44 +02:00
Rémi Verschelde
6277448f42
Merge pull request #64647 from TokageItLab/auto-tangent
2022-08-23 18:17:15 +02:00
Rémi Verschelde
be5c1e2737
Merge pull request #64719 from akien-mga/property-slasher
2022-08-23 18:16:59 +02:00
Yuri Sizov
ba0421f3d9
Merge pull request #64637 from Calinou/default-project-icon-use-svg
...
Create a SVG default project icon in new projects
2022-08-23 17:52:32 +03:00
Rémi Verschelde
14f8a54a33
Merge pull request #64511 from derammo/derammo_fix_has_property_default_value
2022-08-23 13:47:20 +02:00
Silc Renew
9327296e73
Add bezier preset and refactor bezier editor
...
Co-authored-by: Razoric480 <razoric480@gmail.com>
2022-08-23 19:14:03 +09:00
Rémi Verschelde
2adfcc60e2
Joint3D: Remove utility method bindings for angular limits
...
The inspector now supports converting degrees to radians automatically when
using the `radians` hint, so all those utility bindings were redundant.
This cleans things up by making these properties with slash properly bound
to `set_param`/`get_param` which the users can call with the relevant enum.
2022-08-23 11:57:44 +02:00
Rémi Verschelde
7764151bc1
Rename properties unnecessarily using slash (`/`) in their names
...
This is a legacy of Godot 2 days before the inspector had support for groups.
"Properties" with a slash in their name can't be accessed from script unless
using `set()`/`get()` so they were not actual properties as far as script
languages are concerned.
Part of #17558 .
2022-08-23 11:57:43 +02:00
Rémi Verschelde
62c3e72b6f
Merge pull request #63959 from KoBeWi/typo_arrray
...
Replace Array return types with TypedArray (part 1)
2022-08-23 08:52:13 +02:00
bruvzg
bcc3643989
Add font LCD sub-pixel anti-aliasing support.
2022-08-23 08:47:21 +03:00
Clay John
a471cd950a
Merge pull request #64739 from Calinou/doc-anisotropic-filter
...
Improve documentation related to anisotropic filtering
2022-08-22 18:46:55 -06:00
kobewi
8be27dc59e
Replace Array return types with TypedArray
2022-08-22 22:42:36 +02:00
Rémi Verschelde
b9ea0e1338
Merge pull request #64218 from Rindbee/fix-button-minimum-size-calculation
2022-08-22 22:40:59 +02:00
Rémi Verschelde
b8a64313f0
Merge pull request #59564 from KoBeWi/FINALLY,_ULTIMATE_UNDO_REDO
2022-08-22 22:37:33 +02:00
Rémi Verschelde
9c567a0604
Merge pull request #63802 from TokageItLab/curve-transition
2022-08-22 22:30:09 +02:00
Rémi Verschelde
36061a1a47
Merge pull request #60515 from KoBeWi/electrostatic_jason
2022-08-22 22:27:43 +02:00
Rémi Verschelde
cb62c91c12
Merge pull request #58600 from Calinou/material-triplanar-sharpness-clamp
2022-08-22 22:21:33 +02:00
Rémi Verschelde
85cb22bd91
Merge pull request #64593 from aaronfranke/editor-restart
2022-08-22 21:44:50 +02:00
Hugo Locurcio
bedcaac2ba
Improve documentation related to anisotropic filtering
2022-08-22 18:36:11 +02:00
kobewi
ece3df3938
Add per-scene UndoRedo
2022-08-22 18:05:10 +02:00
Rémi Verschelde
944bfc6d00
Merge pull request #63602 from TokageItLab/cubic-interp-time
2022-08-22 17:32:47 +02:00
Rémi Verschelde
af76fb4567
Merge pull request #63486 from TokageItLab/init-poses
2022-08-22 17:32:02 +02:00
Rémi Verschelde
5193332d10
Merge pull request #64343 from TokageItLab/priority-ph
2022-08-22 17:31:23 +02:00
Rémi Verschelde
ff7c10f709
Merge pull request #57297 from rafallus/orthogonal_index
...
Expose `Basis::set_orthogonal_index` as a GridMap method
2022-08-22 15:59:20 +02:00
Yuri Sizov
a677fdec2a
Merge pull request #64496 from KoBeWi/proxXxies
...
Use false as default for use_proxies argument
2022-08-22 16:35:26 +03:00
Yuri Sizov
1dc4007f83
Merge pull request #64694 from Mickeon/fix-settings-function
...
Properly refer to functions definition color in description
2022-08-22 15:48:45 +03:00
Yuri Sizov
69c9d1f8e6
Merge pull request #64670 from Mickeon/fix-label-visibile-percent
...
Clamp Label's `percent_visible` properly between 0 and 1.0
2022-08-22 15:41:31 +03:00
kobewi
7f96ebf1be
Use false as default for use_proxies argument
2022-08-22 13:31:01 +02:00
Yuri Sizov
d5052d9084
Merge pull request #54549 from KoBeWi/fastcells
...
Add a method to get TileData from a cell
2022-08-22 13:39:12 +03:00
Rémi Verschelde
4e7be222e5
Merge pull request #64385 from paulloz/raycast-collider-rid
2022-08-22 12:20:39 +02:00
Micky
9a63792a08
Clamp Label's `percent_visible` properly between 0 and 1.0
...
Also applies to RichTextLabel
2022-08-22 12:03:03 +02:00
Rémi Verschelde
8a1e598011
Merge pull request #64089 from neikeq/dotnet6
2022-08-22 10:07:21 +02:00
Paul Joannon
6bc0be16a5
Expose the collider RID in Raycast nodes
...
Create and expose the method `get_collider_rid` in `RayCast2D` and `Raycast3D`.
This method returns the `RID` of the first object that the ray intersects, or an empty `RID` if no object is intersecting the fay (i.e. `is_colliding` returns `false`).
2022-08-22 09:18:08 +02:00
Ignacio Roldán Etcheverry
f9a67ee9da
C#: Begin move to .NET Core
...
We're targeting .NET 5 for now to make development easier while
.NET 6 is not yet released.
TEMPORARY REGRESSIONS
---------------------
Assembly unloading is not implemented yet. As such, many Godot
resources are leaked at exit. This will be re-implemented later
together with assembly hot-reloading.
2022-08-22 03:35:59 +02:00
Micky
84ba33f627
Properly refer to functions definition color in description
2022-08-21 17:19:26 +02:00
rafallus
da7a5653f4
Expose Basis `set_orthogonal_index` method as a GridMap function
2022-08-20 21:42:20 -05:00
Gilles
104ac29b54
Remove duplicate `ignore_empty_terrains` paragraph
...
Removes a duplicate `ignore_empty_terrains` paragraph in the `TileMap` documentation
2022-08-20 16:41:12 +02:00
derammo
320fb492b0
added missing virtual to ScriptExtension
...
_has_property_default_value is a required virtual
for ScriptExtension but it was not bound, and could
therefore not be implemented
this made it impossible to implement a ScriptExtension
that runs
2022-08-20 06:29:39 -04:00
Hugo Locurcio
7849331ec5
Create a SVG default project icon in new projects
...
This allows the icon's scale to be changed using the `svg/scale`
import option, including to scales greater than the default 128×128.
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2022-08-20 01:01:11 +02:00
Max Hilbrunner
79717dcb46
Merge pull request #64170 from YuriSizov/docs-annotations-in-technicolor
...
Add documentation for all annotations
2022-08-20 00:57:01 +02:00
Hugo Locurcio
17ad6df56d
Add "Hide on Contact" collision mode to ParticlesMaterial
...
This can be used to make particles disappear when colliding, rather
than bouncing around or sticking to surfaces.
This is useful for rain particles which should not be able to go
through floors/ceilings, but shouldn't stick to surfaces either.
2022-08-19 22:32:19 +02:00
Max Hilbrunner
fafd15014f
Merge pull request #64510 from KoBeWi/PR_packed_with_docs 😎
...
Complete documentation of packed arrays
2022-08-19 22:05:05 +02:00
Yuri Sizov
469c18152f
Merge pull request #64592 from mhilbrunner/move-fast-break-things
...
Unexpose VelocityTracker3D
2022-08-19 20:43:02 +03:00
Yuri Sizov
96ba6e8cf9
Merge pull request #64595 from mhilbrunner/ergo-proxy
...
Unexpose ProxyTexture
2022-08-19 20:42:27 +03:00
Yuri Sizov
7895a66cf2
Merge pull request #64334 from YuriSizov/core-bind-property-revert-methods
...
Make `property_*_revert` methods multilevel and expose them for scripting
2022-08-19 20:41:41 +03:00
Yuri Sizov
a0995182fe
Add documentation for all annotations
2022-08-19 15:06:39 +03:00
Silc Renew
dded7c72c1
Make `cubic_interpolate()` consider key time in animation
2022-08-19 14:48:37 +09:00
Max Hilbrunner
92bdeb7eb5
Unexpose ProxyTexture
2022-08-19 03:01:47 +02:00
Max Hilbrunner
da567cb1f9
Unexpose VelocityTracker3D
2022-08-19 02:28:24 +02:00
Aaron Franke
92f5a0a1db
Add a method for restarting the editor to EditorInterface
2022-08-18 18:51:38 -05:00
Max Hilbrunner
0ba1046355
Merge pull request #64580 from asmaloney/doc-grammar-less
...
[doc] Fix grammar in class docs: less vs. fewer/lower
2022-08-19 01:51:31 +02:00
Max Hilbrunner
8cc0d07b49
Merge pull request #59851 from Calinou/doc-object-meta-editor-only
...
Document that Object metadata starting with `_` is editor-only
2022-08-19 01:41:25 +02:00
Max Hilbrunner
420a8c888e
Merge pull request #63950 from bruvzg/menu_bar3
...
Implement MenuBar control to wrap Popup menus or native menu, use native menu for editor.
2022-08-19 01:24:24 +02:00
kobewi
b099a8570c
Complete documentation of packed arrays
2022-08-19 00:43:29 +02:00