Pedro J. Estébanez
beb99fe54b
Expose Input::flush_buffered_events()
...
(cherry picked from commit 6dc3fae201
)
2021-10-23 12:02:48 +02:00
SeleckyErik
98c0ffb749
Add BAKE_ERROR_NO_ROOT to BakedLightmap
...
Add new error type to BakeError to signalise that there is no root node to
start baking from.
Document the new error type, as well as BAKE_ERROR_NO_LIGHTMAPPER.
2021-10-21 13:32:03 +02:00
Rémi Verschelde
90f8cd89a7
Merge pull request #50560 from noidexe/patch-1
2021-10-18 23:01:52 +02:00
Rémi Verschelde
c743649c0b
Merge pull request #53742 from DmitriySalnikov/exposed_sensor_setters
2021-10-18 23:01:07 +02:00
Rémi Verschelde
0fb135d598
Merge pull request #53779 from m4gr3d/restrict_project_data_dir_config_3x
2021-10-18 22:58:51 +02:00
Hugo Locurcio
dc3b614a6a
Tweak AudioStreamPlayer3D property hints for usability
...
This also improves the documentation for the `max_distance` property.
(cherry picked from commit b383181851
)
2021-10-18 11:24:42 +02:00
Rémi Verschelde
fbcf442260
Merge pull request #53651 from pycbouh/docs-warn-about-internal-nodes-3.x
2021-10-18 11:24:08 +02:00
Rémi Verschelde
f6784e18d1
Merge pull request #53848 from MaxLap/backport_doc_shape_signals
2021-10-15 18:54:43 +02:00
Maxime Lapointe
f3002c62b7
Improve area/body_shape_entered/exited signals parameter names and doc
...
Fix some typoed names from the doc
Add _index to "index" parameters of *_shape_* signals, this is both in doc and in the template. This makes the code, signature and doc easier to understand
Add method to get Node from the _index params of those signals. This was not as easy to find as one would expect. Putting this information where it is needed will help.
2021-10-15 11:28:17 -04:00
Xeadriel
78b247c91e
Add that elapsed_time in CharFXTransform resets when RichTextLabels text is changed
...
Update doc/classes/CharFXTransform.xml Grammar fix
Co-authored-by: Aaron Record <50304111+LightningAA@users.noreply.github.com>
(cherry picked from commit bf5f5e159e
)
2021-10-15 12:51:42 +02:00
Fabio Alessandrelli
6c4bb3fc4a
Revert HTTPRequest gzip compression support.
...
Partial revert of commit c1135cf006
.
2021-10-14 12:51:37 +02:00
Fredia Huya-Kouadio
2b6678c851
Restrict the project data directory configuration.
2021-10-13 13:56:01 -07:00
Rémi Verschelde
6fb7f18e35
Merge pull request #53740 from clktmr/gles2-multiple-refprobes
2021-10-13 12:42:23 +02:00
Timur Celik
e230bc6caa
Fix flipped `interior` option for second refprobe
...
This patch fixes rendering of multiple reflection probes for a single
mesh in the GLES2 renderer. If there were two reflection probes, one of
them would always have the `interior` option flipped, resulting in
broken blending between probes and flickering of ambient reflection.
Also make note of GLES2 reflection probe limit
2021-10-13 10:04:48 +02:00
Rémi Verschelde
4186c5e757
Merge pull request #53490 from briansemrau/thread-is-alive-3.x
...
[3.x] [core_bind] Add `Thread::is_alive`
2021-10-12 22:35:26 +02:00
Дмитрий Сальников
5cf898b897
Exposed setters for sensor values in Input class
2021-10-12 23:09:30 +03:00
Fredia Huya-Kouadio
d1808f0a7f
Make the project data directory customizable.
2021-10-11 14:42:40 -07:00
zacryol
df1eebd8d8
Mention remove_node() side effect of potentially setting owner to null
...
(cherry picked from commit 6941ab9ae5
)
2021-10-11 12:50:04 +02:00
Yuri Sizov
b02c61ddb1
Ignore OS specific values (constants, project settings, properties)
...
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2021-10-10 23:40:32 +03:00
Yuri Sizov
2401f1cf65
Add warnings to methods that give access to internal nodes
2021-10-10 23:10:07 +03:00
Lisandro Lorea
56f66aa8fc
Clarify that resize doesn't initialize memory
...
Some users might expect resize() to initialize added elements to zero. This clarifies that it is not the case.
2021-10-09 13:46:04 -03:00
Hugo Locurcio
7dcefa7c1b
Add a warning for Timer nodes with very low wait times
...
Very low wait times behave in unpredictable ways depending on the
rendered frame rate. This is because the timeout signal is only emitted
once per rendered frame (or physics frame, depending on the timer's
process mode).
2021-10-09 11:36:03 +02:00
Rémi Verschelde
7843c871d0
Fix missing argument names in FileSystemDock bindings
2021-10-09 00:31:22 +02:00
Rémi Verschelde
302ad4e600
Merge pull request #52918 from Calinou/add-new-light-attenuation-3.x
2021-10-08 23:08:49 +02:00
Hugo Locurcio
85e080fcc0
Backport new 3D point light attenuation as an option
...
This provides more realistic lighting with a very small performance cost.
The option is available in both GLES3 and GLES2, and can be enabled in
the Project Settings. This goes well with the ACES Fitted tonemapping mode
that was recently added.
When enabled, this also makes upgrading Godot 3.x projects to Godot 4.0 easier,
since lighting in 3.x will better match how it'll look in Godot 4.0.
2021-10-08 22:15:22 +02:00
Rémi Verschelde
06fc2378de
Merge pull request #51491 from Calinou/glow-add-high-quality-mode-3.x
...
Add high quality glow mode (3.x)
2021-10-08 07:47:07 +02:00
Hugo Locurcio
761047076c
Document null argument limitation with `SceneTree.call_group()`
2021-10-07 18:55:44 +02:00
Brian Semrau
d734bcc289
[core_bind] Add `Thread::is_alive`
2021-10-06 13:18:40 -04:00
Rémi Verschelde
c7eb3d25e7
doc: Fix style inconsistencies for `[b]Note:[/b]` paragraphs
...
(cherry picked from commit 788b3aa27a
)
2021-10-06 09:29:32 +02:00
PouleyKetchoupp
9bc1b4b90e
Improved logic for KinematicBody collision recovery depth
...
Allows more flexible collision detection with different safe margin values.
Kinematic body motion changes in 2D and 3D:
-Recovery only for depth > min contact depth to help with collision
detection consistency (rest info could be lost if recovery was too much)
-Adaptive min contact depth (based on margin) instead of space parameter
2021-10-05 17:00:55 -07:00
Rémi Verschelde
77f52bdf99
Merge pull request #52137 from Ansraer/3.x-2d-scale-factor
2021-10-05 19:12:19 +02:00
Ansraer
d44aa61735
implement better ui scaling
2021-10-05 14:30:38 +02:00
Rémi Verschelde
4e85135c37
Merge pull request #53429 from KoBeWi/listener3.x
2021-10-05 13:57:28 +02:00
kobewi
f9720a9bf2
Add Listener2D
2021-10-05 13:29:59 +02:00
lawnjelly
192ec963ae
Create 'rendering/misc' project settings section
...
To prevent the project settings `rendering` section getting out of hand, this PR moves some of the smaller new settings into a `misc` category.
2021-10-05 11:47:03 +01:00
Rémi Verschelde
59930dca00
Merge pull request #53263 from Calinou/editor-inspector-warning-yellow-3.x
2021-10-05 11:12:44 +02:00
Rémi Verschelde
72a922eb4e
Merge pull request #53300 from Calinou/viewport-tweak-configuration-warning-3.x
2021-10-04 20:31:05 +02:00
Rémi Verschelde
55c9cc21e9
Merge pull request #53397 from pycbouh/theme-improve-change-propagation-3.x
...
[3.x] Make `Theme` report property list changes less often, and other backports
2021-10-04 18:05:16 +02:00
Yuri Sizov
98cf645258
Expose API to retrieve Theme's default font
2021-10-04 17:44:53 +03:00
Hugo Locurcio
d71ed9d287
Document SurfaceTool must generate tangents for proper normal display
...
(cherry picked from commit d339388942
)
2021-10-04 15:15:27 +02:00
zacryol
3e4e87fb90
Fix typo with example variable name in Dictionary docs, and fix error in C# example
...
(cherry picked from commit 9359bee75c
)
2021-10-04 14:36:59 +02:00
Hugo Locurcio
ebdbace62a
Document that tangents are required for normal mapping in SpatialMaterial
2021-10-01 19:05:58 +02:00
Hugo Locurcio
c6617e956c
Tweak the Viewport configuration warning to mention 2×2 size requirement
2021-10-01 16:43:33 +02:00
Hugo Locurcio
deeeabc2ba
Clarify what the `Node.filename` property contains
...
(cherry picked from commit f23b917007
)
2021-10-01 08:01:47 +02:00
Haoyu Qiu
44ea7e7c4f
Fix doc for Dictionary.erase
...
(cherry picked from commit 1e0fe9f817
)
2021-10-01 08:00:59 +02:00
Hugo Locurcio
26671e7407
Use a yellow color for editable children properties instead of red
...
This matches the usual "Changes may be lost!" warning color.
2021-09-30 18:41:46 +02:00
O01eg
cddabf2a8b
Implement override of get_message
2021-09-29 14:06:57 +03:00
Rémi Verschelde
462b8dfe96
Merge pull request #53041 from pycbouh/docs-color-picker-and-button-3.x
2021-09-28 12:14:00 +02:00
Michael Alexsander
b4d6afb7ad
Expose `TabContainer`'s tab hidding for scripts
...
(cherry picked from commit 7ce02b642e
)
2021-09-27 18:06:36 +02:00
skyace65
370fa82b2c
Add note that for _gui_input(event) event position is relative to the control origin
...
(cherry picked from commit 824259aca0
)
2021-09-27 17:57:50 +02:00