Andrii Doroshenko (Xrayez)
726111f38f
Add Engine.print_error_messages property to disable printing errors
...
Backports #48359 to 3.x.
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-07-20 13:58:07 +03:00
Rémi Verschelde
f131a77f46
Merge pull request #46574 from The-O-King/split_stream_3.2
...
[3.4] Split Vertex Buffer Stream in Positions and Attributes
2021-07-20 10:48:37 +02:00
Aaron Franke
7dc2edc430
[3.x] Allow reading shaders from .gdshader files
2021-07-19 23:34:23 -04:00
Omar El Sheikh
7f8487a900
Split Vertex Position and Attribute Streams
...
Implemented splitting of vertex positions and attributes in the vertex
buffer
Positions are sequential at the start of the buffer, followed by the
additional attributes which are interleaved
Made a project setting which enables/disabled the buffer formatting
throughout the project
Implemented in both GLES2 and GLES3
This improves performance particularly on tile-based GPUs as well as
cache performance for something like shadow mapping which only needs
position data
Updated Docs and Project Setting
2021-07-19 13:23:46 -07:00
Rémi Verschelde
526447b86f
Merge pull request #50495 from nekomatata/move-and-slide-fixes-3.x
...
[3.x] Backport KinematicBody move_and_slide and move_and_collide fixes
2021-07-19 20:11:51 +02:00
PouleyKetchoupp
2fbb6fff4e
Fix move_and_collide causing sliding on slopes
...
Make sure the direction of the motion is preserved, unless the depth is
higher than the margin, which means the body needs depenetration in any
direction.
Also changed move_and_slide to avoid sliding on the first motion, in
order to avoid issues with unstable position on ground when jumping.
Co-authored-by: fabriceci <fabricecipolla@gmail.com>
2021-07-19 08:09:16 -07:00
Yuri Sizov
e05eb8a6ad
Make zoom limits and step adjustable in GraphEdit
2021-07-16 22:43:28 +03:00
Rémi Verschelde
4d3c11e85e
Merge pull request #49446 from nekomatata/sync-to-physics-3d-3.x
...
[3.x] Support for 3D sync to physics
2021-07-16 07:15:17 +02:00
Rémi Verschelde
231efe0c6d
Merge pull request #50166 from fabriceci/fix-2d-moving-platform
...
[3.x] Fixing 2D moving platform logic
2021-07-15 13:34:30 +02:00
fabriceci
fba4c9d552
Fixing 2D moving platform logic
...
Fixing by applying the movement in two steps, first the platform
movement, and then the body movement. Plus, add the platform movement
when we are on_wall.
2021-07-15 11:57:58 +02:00
kobewi
4941d2001c
Add set_pressed_no_signal method to BaseButton
...
(cherry picked from commit 50c63bdc4c
)
2021-07-15 10:52:22 +02:00
Tomasz Chabora
6021ab5b01
Document remaining Visual Script classes
...
(cherry picked from commit 1054956461
)
2021-07-15 10:46:04 +02:00
Hendrik Brucker
fe616d443a
Fix color properties of particle nodes/material
...
(cherry picked from commit 3a4a2198ed
)
2021-07-15 10:25:35 +02:00
Rémi Verschelde
a3310c1da2
Merge pull request #46130 from lawnjelly/portals
...
Portal occlusion culling [3.4]
2021-07-14 13:38:01 +02:00
lawnjelly
eb6f98ec55
Portal occlusion culling
...
Adds support for occlusion culling via rooms and portals.
2021-07-14 11:43:23 +01:00
Rémi Verschelde
aa3a5c9f6a
Merge pull request #50184 from JFonS/cpu_lightmapper_soft_shadows
...
[3.x] Add soft shadows to the CPU lightmapper
2021-07-14 12:18:08 +02:00
Anilforextra
d9e48a9c58
Add missing graphnode setters.
...
Documentation Updates.
2021-07-14 15:37:59 +05:45
lawnjelly
6914d7c6e0
Add frame delta smoothing option
...
Frame deltas are currently measured by querying the OS timer each frame. This is subject to random error. Frame delta smoothing instead filters the delta read from the OS by replacing it with the refresh rate delta wherever possible.
This PR also contains code to estimate the refresh rate based on the input deltas, without reading the refresh rate from the host OS.
2021-07-14 08:44:31 +01:00
Rémi Verschelde
b0b2b7df31
Merge pull request #50257 from Calinou/physicsserver3d-add-set-iterations-3.x
...
Add a method to set the number of physics solver iterations in 3D (3.x)
2021-07-14 07:56:57 +02:00
Haoyu Qiu
a29b834930
Fix doc description of HTTPClient::request
...
(cherry picked from commit 422f821be9
)
2021-07-13 10:20:03 +02:00
Nick Huelin
88fc178d57
Add method description to `PopupMenu`
...
This pull request adds a missing method description to `PopupMenu`.
This completes the documentation for `PopupMenu` and enhances usability by doing so.
Update doc/classes/PopupMenu.xml
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit 2e3cbbcd11
)
2021-07-13 10:20:02 +02:00
Rémi Verschelde
32f5bee985
LineEdit: Respect `max_length` by truncating text to append
...
When appending text (either via `set_text()` or by pasting from clipboard),
if the input would make the `LineEdit` exceed its configured `max_length`,
the input text is truncated to fit. The discard part is passed as a parameter
in the `text_change_rejected` signal.
Fixes #33321 .
Fixes #41278 .
Also cleaned up unimplemented `max_chars` property in `TextEdit`.
Co-authored-by: Tony-Goat <70238376+Tony-Goat@users.noreply.github.com>
(cherry picked from commit 9a1ce8e6c3
)
2021-07-13 10:20:02 +02:00
Rémi Verschelde
9d2cbe2c02
Merge pull request #50328 from nekomatata/convex-hull-simplification-3.x
...
[3.x] Options to clean/simplify convex hull generated from mesh
2021-07-12 22:34:22 +02:00
Rémi Verschelde
6ec2caf12c
Merge pull request #48763 from QbieShay/plane-offset
...
[3.x] Added a center_offset property to both plane primitive and quad primitive
2021-07-12 10:32:19 +02:00
Hugo Locurcio
9259b4adc4
Add a method to set the number of physics solver iterations in 3D
...
This is only for GodotPhysics, and adds a 3D counterpart to the 2D
method that was recently added.
2021-07-10 16:29:41 +02:00
PouleyKetchoupp
240c33708c
Options to clean/simplify convex hull generated from mesh
...
Clean: remove duplicate and interior vertices (uses Bullet algorithm)
Simplify: modify the geometry for further simplification (uses VHACD
algorithm)
In the editor, single convex hull now uses the clean option.
Added a new editor entry to create a simplified convex hull, can be
useful for creating convex hull from highly tessellated triangle meshes.
Specific change for 3.x:
Add support for Vector<Vector3> and PoolVector<Vector3> in the convex hull generator.
2021-07-09 17:45:59 -07:00
JestemStefan
9513354f68
Added signed_angle_to for Vector3
...
Added signed_angle_to method for Vector3
Added signed_angle_to for Vector3
formatting fix...
2021-07-09 12:49:12 +02:00
kleonc
23ad87cc92
Add AcceptDialog::remove_button method
2021-07-06 18:27:03 +02:00
Nick Huelin
ad1aea9a46
Add multiple descriptions to several classes
...
This pull request adds several descriptions to multiple different classes.
This improves the completeness of the documentation and enhances usability by doing so.
(cherry picked from commit 27e9df7778
)
2021-07-06 15:30:13 +02:00
PouleyKetchoupp
daa0977c68
NodePath properly updated in the editor in more cases
...
Fix more cases of node path needing an update when nodes are renamed or
moved in the editor.
Built-in node properties:
Before, node paths were checked only for script export variables. Now
all properties are checked from the node, which includes built-in node
properties.
Allows proper node path updates for nodes like remote transform, physics
joints, etc.
Arrays and dictionaries:
Node paths nested in array and dictionary properties are now also
updated in the editor.
Also update the documentation to be clear about node path update in the
editor and at runtime.
Co-authored-by: latorril <latorril@gmail.com>
(cherry picked from commit 3e4e530523
)
2021-07-06 11:10:47 +02:00
Nick H
ca1a2e1124
Add `get_dead_zone()` method to `InputMap`
...
This commit adds a new method to the `InputMap`, allowing the user to get the value of an action's dead zone as a float.
(cherry picked from commit c6f28ed62b
)
2021-07-06 11:10:45 +02:00
Eric
09b231e15f
Enable Camera2D smoothing on limit change
...
(cherry picked from commit 525ad7c37e
)
2021-07-06 11:10:35 +02:00
PouleyKetchoupp
9eb6a43cff
Remove unused PhysicsShapeQueryResult & Physics2DShapeQueryResult
2021-07-05 11:21:15 -07:00
JFonS
a2ba7910ba
Add soft shadows to the CPU lightmapper
...
Adds the "light_size" property to Lights. It's only considered in baked
lightmaps for soft shadowing purposes.
2021-07-05 19:02:35 +02:00
Rémi Verschelde
6fe9a0d717
Merge pull request #50103 from nekomatata/expose-body-test-motion-3d-3.x
...
[3.x] Expose body_test_motion in 3D physics server
2021-07-03 09:30:10 +02:00
PouleyKetchoupp
c89476ad41
Expose body_test_motion in 3D physics server
...
Results are exposed through PhysicsTestMotionResult, the same way it's
done for 2D.
Also cleaned a few things in the 2D version.
2021-07-02 18:04:39 -07:00
Hugo Locurcio
9c4ebea9ef
Document debanding being broken on mobile
2021-07-01 12:25:23 +02:00
Rémi Verschelde
ef3c346df2
Merge pull request #49835 from nekomatata/soft-body-disable-physics-3.x
...
[3.x] Support for disabling physics on SoftBody
2021-07-01 10:01:33 +02:00
Levi Lindsey
f72ce41700
Update File.store_var description to mention which properties of an object are included.
...
(cherry picked from commit 2b7c0cfb34
)
2021-06-29 14:02:24 +02:00
Nick H
d08717d0ee
Amend `Label`.clip_text() Method Description
...
This update fixes an inconsistencies in the documentation about the `clip_text()` method.
(cherry picked from commit ea94aeac48
)
2021-06-29 14:02:23 +02:00
Hugo Locurcio
e7d6f8b8b8
Allow a top and bottom radius equal to 0 in CylinderMesh
...
The CylinderMesh generation code handles this special case and
avoids generating the top and bottom faces if their radius is equal
to 0. This improves performance by reducing the number of vertices
to draw.
If both values are set to 0, nothing will be visible but the mesh
generation will still succeed.
This also improves the CylinderMesh class documentation.
(cherry picked from commit b4ed84ba2b
)
2021-06-29 14:02:22 +02:00
Hugo Locurcio
17b6771778
Improve descriptions for ProjectSettings' `disable_stdout`/`disable_stderr`
...
(cherry picked from commit e3ef50db38
)
2021-06-29 13:15:51 +02:00
PouleyKetchoupp
4694b2b3e4
Support for disabling physics on SoftBody
...
New property physics_enabled, can be useful for optimization purpose.
2021-06-22 11:38:17 -07:00
Hugo Locurcio
a9c0c5484f
Add support for contrast-adaptive sharpening in 3D (GLES3 only)
...
This is an older, easier to implement variant of CAS as a pure
fragment shader. It doesn't support upscaling, but we won't make
use of it (at least for now).
The sharpening intensity can be adjusted on a per-Viewport basis.
For the root viewport, it can be adjusted in the Project Settings.
Since `textureLodOffset()` isn't available in GLES2, there is no
way to support contrast-adaptive sharpening in GLES2.
2021-06-21 15:37:31 +02:00
Rémi Verschelde
09c2bd597a
Merge pull request #49732 from Calinou/expose-data-dirs-3.x
...
Expose OS data directory getter methods (3.x)
2021-06-20 00:31:41 +02:00
Hugo Locurcio
21ad630e11
Expose OS data directory getter methods
...
This can be used by editor plugins and non-game applications to
store data in the correct directories according to the
XDG Base Directory specification.
2021-06-19 09:28:53 +02:00
Hugo Locurcio
a6a6ad5c08
Add custom debug shape thickness and color options to RayCast
...
This backports the improved RayCast debug drawing functionality
from the `master` branch.
`ArrayMesh.clear_surfaces()` was also backported from the `master`
branch and exposed because the new debug drawing code requires it.
2021-06-19 06:01:25 +02:00
Aaron Franke
85a0345d57
[3.x] Add Quat angle_to method
2021-06-18 11:00:44 -04:00
Rémi Verschelde
fc95c4d84c
Merge pull request #49476 from nekomatata/kinematic-collision-rid-3.x
...
[3.x] Expose collider RID in 2D/3D kinematic collision
2021-06-18 12:32:42 +02:00
Rémi Verschelde
c7f27f1d9d
Merge pull request #48651 from tavurth/3.x
...
Port HTTPRequest gzip compression to 3.4
2021-06-18 02:01:11 +02:00
Hugo Locurcio
63d0485a6a
Fix duplicate paragraph in `ArrayMesh.add_surface_from_arrays()` description
...
(cherry picked from commit 033985f9c2
)
2021-06-17 12:47:54 +02:00
Hugo Locurcio
6d60d92b87
Tweak the physics FPS property hint to only allow reasonable values
...
Physics FPS above 1000 cause the whole project to slow down
and are not very practical in the first place (since no CPU currently
available can keep up).
(cherry picked from commit 8f4ac7bc4a
)
2021-06-17 12:47:53 +02:00
kobewi
bdc8d29749
Clarify animation_changed signal
...
(cherry picked from commit 8d0cbded3f
)
2021-06-17 12:47:53 +02:00
Hugo Locurcio
483f8e0ef8
Improve AudioStreamGenerator and AudioEffectSpectrumAnalyzer documentation
...
- Mention audio sample rate caveats in other classes where relevant.
(cherry picked from commit c872819be6
)
2021-06-17 12:47:52 +02:00
Hugo Locurcio
45e8f75952
Complete documentation for the AudioEffectPitchShift class
...
(cherry picked from commit 6be32d8cbc
)
2021-06-17 12:47:52 +02:00
Rémi Verschelde
2d3c0d311c
Merge pull request #49516 from Calinou/doc-projectsettings-vram-compression-change-3.x
...
Document applying VRAM compression setting changes retroactively
2021-06-11 19:42:32 +02:00
Rémi Verschelde
c45ce768b1
Merge pull request #47854 from mortarroad/3.x-lossless-webp
...
[3.x] Implement lossless WebP encoding
2021-06-11 19:35:47 +02:00
Morris Tabor
5de08ef1d6
Implement lossless WebP encoding
2021-06-11 18:48:04 +02:00
Hugo Locurcio
d0d717809e
Document applying VRAM compression setting changes retroactively
2021-06-11 18:44:37 +02:00
Rémi Verschelde
e6a6293146
Merge pull request #49487 from pycbouh/theme-utility-methods-3.x
2021-06-11 13:40:21 +02:00
Rémi Verschelde
72ae4ca94f
Merge pull request #49491 from pycbouh/editor-expose-resource-picker-3.x
2021-06-11 13:39:44 +02:00
Yuri Sizov
b622dfa956
Use EditorResourcePicker in the Inspector
...
Backported from #48854
2021-06-11 13:32:15 +03:00
Yuri Sizov
343ba504d3
Add EditorResourcePicker control based on the Inspector editor for Resources
...
Backported from #47260
2021-06-11 13:32:15 +03:00
Marcel Admiraal
6d63ccba31
Add OS.get_external_data_dir() to get Android external directory
2021-06-10 16:48:37 +01:00
Yuri Sizov
de1ba1f260
Add utility methods to Theme, improve error messages and documentation
...
Backport of relevant parts of #47251 , #49308
2021-06-10 16:44:24 +03:00
Yuri Sizov
83012d6927
Expose missing Theme methods
...
Backport of relevant, non-breaking parts of #37759
2021-06-10 15:31:23 +03:00
PouleyKetchoupp
a146e79758
Expose collider RID in 2D/3D kinematic collision
...
Can be useful to access the colliding body information for bodies
created with the physics server directly.
2021-06-09 18:26:16 -07:00
Chuck
17ee8ff0d9
Support multiple address resolution in DNS requests
...
Add two new functions to the IP class that returns all addresses/aliases associated with a given address.
This is a cherry-pick merge from 010a3433df
which was merged in 2.1, and has been updated to build with the latest code.
This merge adds two new methods IP.resolve_hostname_addresses and IP.get_resolve_item_addresses that returns a List of all addresses returned from the DNS request.
2021-06-09 12:06:46 +07:00
PouleyKetchoupp
8a095b2b15
Support for 3D sync to physics
...
Same implementation as in 2D, specific to 3.x branch.
2021-06-08 16:28:58 -07:00
Nick Huelin
8b09112d5f
Edit "quit()" method description in `SceneTree`
...
Updated the `SceneTree.quit()` method to include a note that on iOS this method won't work as apps are expected to be closed via the Home button, not programmatically.
(cherry picked from commit c63af17a31
)
2021-06-07 12:14:30 +02:00
kobewi
457ccb21b6
Improve sort_custom() description
...
(cherry picked from commit 48f0368ddc
)
2021-06-07 12:11:52 +02:00
RoniPerson
f5fe8ddacc
Added documentation to some `add_*_plugin` methods
...
Added documentation to some `add_*_plugin` methods and the corresponding `remove_*_plugin` methods.
Added an example of how to register a plugin to `add_inspector_plugin` and linked to it in the other methods.
(cherry picked from commit e849157e07
)
Proofread add_*_plugin/remove_*_plugin descriptions in EditorPlugin
(cherry picked from commit 21f0961610
)
2021-06-07 12:10:19 +02:00
Rémi Verschelde
80e1585a6e
Style: Cleanup uses of double spaces between words
...
Or after punctuation. Tried to leave third-party stuff alone, unless it has
been heavily modified for Godot.
(cherry picked from commit c1c76850cb
)
2021-06-07 12:06:59 +02:00
Marcel Admiraal
fd982ecd15
Rename CollisionObject3D input_event signal position and normal parameters
2021-06-07 09:50:47 +01:00
Rémi Verschelde
f102ba8b2f
Merge pull request #48367 from Calinou/doc-navigation-get-simple-path
...
Document `Navigation.get_simple_path()` often returning non-optimal results
2021-06-03 22:37:07 +02:00
Marcel Admiraal
18825ad4ff
Fix game controllers ignoring the last listed button
2021-06-03 15:45:05 +01:00
Hugo Locurcio
8e4afdc71d
Document `Navigation.get_simple_path()` often returning non-optimal results
2021-06-03 16:05:56 +02:00
Hugo Locurcio
e0facdaf61
Uncap the range for gravity and change the slider hints
...
There's not really a reason to cap the gravity amount, and we can also
give better hints for the range (for 3D, ±32 is much more sensible
than ±1024).
2021-06-03 02:08:57 +02:00
Rémi Verschelde
e0fb05ad30
Merge pull request #49237 from akien-mga/3.x-cherrypicks
2021-06-01 13:35:56 +02:00
Rémi Verschelde
fb294606b5
Merge pull request #48771 from LightningAA/scrollcontainer-ensure-item-visible-3.x
...
[3.x] ScrollContainer: Expose `_ensure_focused_visible` to the scripting API and rename it to `ensure_control_visible`
2021-06-01 12:58:56 +02:00
Hugo Locurcio
822b3ec0b1
Document `Resource.duplicate()` only copying exported variables' values
...
(cherry picked from commit 2ba893e3ce
)
2021-06-01 12:53:31 +02:00
Rémi Verschelde
fd4475f652
OS: Better validation of invalid input for get_unix_time_from_datetime
...
Default missing keys to Unix time 0 (1970-01-01 at 00:00:00 UTC).
Abort if year <= 0, this is not supported by the current algorithm.
Prevents an infinite loop further down.
Fixes #49022 .
(cherry picked from commit 62efa30ed2
)
2021-06-01 12:52:18 +02:00
PouleyKetchoupp
87ed7d32de
Added flip_h and flip_v properties in TextureButton
...
(cherry picked from commit 5f1d94bb7d
)
2021-06-01 12:52:14 +02:00
Lightning_A
6f58e6ce2c
ScrollContainer: Expose `_ensure_focused_visible` to the API
...
Was renamed to `ensure_control_visible`
2021-05-31 19:05:30 -10:00
Aaron Franke
753d0fca1d
[3.x] Fix Camera FOV documentation
2021-05-31 05:25:12 -04:00
Marcel Admiraal
72446bab1b
Update EditorResourcePreview queue_*() documentation
2021-05-26 08:39:52 +01:00
Rémi Verschelde
94b5a82e7d
Merge pull request #48943 from Calinou/screen-orientation-remove-ios-duplicate-3.x
...
Remove duplicate orientation settings in the iOS export preset
2021-05-26 00:24:17 +02:00
Hugo Locurcio
914b5dc525
Remove duplicate orientation settings in the iOS export preset
...
The screen orientation is now sourced from the Project Settings
like it is done for Android already.
2021-05-25 23:55:37 +02:00
Rémi Verschelde
00abdaf333
Merge pull request #49075 from nekomatata/tilemap-collision-debug-fix-3.x
...
Fix logic for showing tilemap debug collision
2021-05-25 21:12:48 +02:00
PouleyKetchoupp
114da550ec
Fix logic for showing tilemap debug collision
...
In editor: only when show_collision property is enabled
In game: only when 'Visible collision shapes' is enabled
2021-05-25 11:49:47 -07:00
lawnjelly
14ce176f10
BVH - thread safety option
...
Added optional thread safe version through template argument and runtime switch, that wraps access with a mutex.
2021-05-25 10:47:32 +01:00
Marcel Admiraal
b84714055b
Clarify that eof_reached() cannot be used to check if more data is available
2021-05-24 19:42:37 +01:00
Marcel Admiraal
cfc984aff1
Clarify documentation of Camera3D.get_camera_transform()
2021-05-24 17:54:53 +01:00
Rémi Verschelde
2660fafcc0
Merge pull request #48869 from tavurth/feature/hmac-port
...
Backport HMACContext to 3.x
2021-05-21 19:06:18 +02:00
Fabio Alessandrelli
bf078814cc
[HTML5] Add easy to use download API.
...
New `JavaScript.download_buffer` method to create a prompt that let the
user download a file.
2021-05-21 16:03:38 +02:00
Hugo Locurcio
8d9cef3726
Remove high radiance sizes from the editor due to issues on specific GPUs
...
These values can still be set by code, but are no longer presented in
the editor.
2021-05-20 23:54:12 +02:00
Rémi Verschelde
d025f6f797
Merge pull request #48824 from aaronfranke/3.x-scd-minsize
...
Set a minimum size for status panel elements in ScriptCreateDialog
2021-05-20 18:03:45 +02:00
Rémi Verschelde
f0fa8a103b
Merge pull request #48691 from Faless/js/3.x_interfaces
...
[HTML5] [3.x] Implement Godot <-> JavaScript interface.
2021-05-20 17:13:12 +02:00
Fabio Alessandrelli
203beb69a9
[Doc] Remove reference to UNIX sockets in StreamPeer.
...
That class can be used as a base to implement them, but there is no
actual implementation for it in Godot.
(cherry picked from commit e858f7c2ea
)
2021-05-20 14:35:04 +02:00
Fabio Alessandrelli
730a894bcf
[HTML5] Implement Godot <-> JavaScript interface.
2021-05-20 14:33:00 +02:00
Aaron Franke
573b7247bf
Set a minimum size for status panel elements in ScriptCreateDialog
2021-05-20 08:08:24 -04:00
Rémi Verschelde
eb78f80f03
Fix typos with codespell
...
Using codespell 2.0.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
GIRD
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2021-05-20 12:56:56 +02:00
Will Whitty
3f606263d5
Backport HMac crypto to 3.x
...
Fix headers
Fix docs formatting
Changes for PR
Fix tests
2021-05-20 13:29:38 +03:00
kleonc
4871bf4668
Document valid range of Node2D.z_index
2021-05-20 01:24:54 +02:00
Rémi Verschelde
cca2a9d2d5
Merge pull request #38387 from Rhathe/set_iterations
...
[3.x] Enable setting of collision iterations in Physics2DServer
2021-05-19 19:48:08 +02:00
Marcel Admiraal
09456c2a01
Return RID instead of Object id in area-body_shape_entered-exited signals.
2021-05-19 10:51:59 +01:00
Hugo Locurcio
333dfb96da
Scroll faster when holding Alt in TextEdit (and script editor)
...
This feature is inspired by a similar feature found in
Visual Studio Code.
(cherry picked from commit cf1cf6c6eb
)
2021-05-18 11:58:09 +02:00
Rémi Verschelde
0053b31592
Merge pull request #47801 from QbieShay/ring-emitter-3.x
2021-05-18 10:54:15 +02:00
QbieShay
1ec46cb1eb
added offset for plane mesh and quad mesh
2021-05-17 22:07:16 +02:00
Will Whitty
c1135cf006
Work on porting HTTPRequest compression to 3.3
...
Fix doc issues
Use memcpy
Bind RESULT_BODY_DECOMPRESS_FAILED
Docs update
2021-05-14 12:20:31 +03:00
Rémi Verschelde
39826d3a94
Merge pull request #47310 from mortarroad/3.x-fix-particles-material-spread
...
[3.x] Fix ParticlesMaterial spread.
2021-05-11 09:10:31 +02:00
Hugo Locurcio
8b06085249
Implement the `%command%` placeholder in the Main Run Args setting
...
This can be used to tell Godot to run an executable that will run Godot
rather than running Godot directly. This is useful to make Godot start
on the dedicated GPU when using a NVIDIA Optimus setup on Linux:
`prime-run %command%`
The `editor/run/main_run_args` setting declaration was moved to make it
visible in the ProjectSettings documentation.
(cherry picked from commit ce4aa07276
)
2021-05-09 17:47:38 +02:00
Gilles Roudière
472f7e9756
Adds a pressed signal to ButtonGroup
...
(cherry picked from commit 323f176915
)
2021-05-09 17:47:37 +02:00
Hugo Locurcio
cb2cb46907
Document caveats of `OS.get_unique_id()`
...
(cherry picked from commit 7350f90c57
)
2021-05-09 17:14:36 +02:00
Hugo Locurcio
9b01143380
Improve the AudioStreamPlayer(2D/3D) class descriptions
...
(cherry picked from commit b90adec417
)
2021-05-09 17:14:35 +02:00
QbieShay
3af20b9bdf
Added ring emitter for 3D particles
...
This commits adds a new emitter type for particles material
and 3D CPU particles. The new emitter is called "ring"
and it can emit either in a ring or cylinder fashion.
This adds the following properties for the emitter:
1. ring_emitter_axis: the axis along which the ring/cylinder
will be constructed
2. ring_emitter_radius: outer radius of the ring/cylinder
3. ring_emitter_inner_radius: inner radius of the cylinder.
when set to zero, particles will emit in the full volume.
4. ring_emitter_height: height of the ring/cylinder emitter.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2021-05-09 13:18:05 +02:00
Pedro J. Estébanez
4da9a501f6
Add animation reset track feature
...
As a bonus, to have consistency between use Beziers and create insert tracks, use Beziers also gets a default via editor settings that is used when the confirmation dialog is disabled, instead of just falling back to creating non-Bezier tracks.
2021-05-09 09:40:16 +02:00
Marcel Admiraal
8766769fd4
Move collision layer and mask into CollisionObject.
2021-05-08 11:40:57 +01:00
Rémi Verschelde
84061ab03d
Merge pull request #48251 from TwistedTwigleg/skeletonik_changes_and_bug_fixes_regressionfix3_Godot3
...
[3.x] Fixed issue in SkeletonIK leading to some root bones being twisted incorrectly
2021-05-08 10:40:38 +02:00
Rémi Verschelde
e96f0ea1d7
Android: Remove non-functional native video OS methods
...
Those methods are only properly implemented for iOS.
Supersedes #43811 .
2021-05-07 16:42:17 +02:00
TwistedTwigleg
c1bc87ed0d
Fixes the SkeletonIK twisting issue by using the skeleton global pose without overrides
2021-05-06 20:11:21 -04:00
bruvzg
dab4cf3ed6
Add `physical_scancode` (keyboard layout independent keycodes) to InputEventKey and InputMap.
...
Fix non-latin keyboard layout keycodes on Linux/X11 (fallback to physical keycodes).
2021-05-06 23:19:45 +03:00
Hugo Locurcio
c0ccde9752
Document that `File.open_compressed()` can only open files saved by Godot
...
(cherry picked from commit 5f098d6db6
)
2021-05-05 15:28:12 +02:00
Rémi Verschelde
2a1fb62e96
Merge pull request #48316 from nekomatata/expose-physics-debug-shape-3.x
...
[3.x] Expose get_debug_mesh in Shape to scripting API
2021-05-05 15:17:48 +02:00
Rémi Verschelde
32cc022267
Merge pull request #48314 from nekomatata/physics-2d-dynamic-bvh
...
[3.x] Support for Dynamic BVH as 2D Physics broadphase
2021-05-04 09:23:04 +02:00
Rémi Verschelde
136c3b1a16
doc: Sync classref with current source
2021-05-03 21:39:44 +02:00
PouleyKetchoupp
d8f681029f
Support for Dynamic BVH as 2D Physics broadphase
...
List of changes:
- Modified bvh class to handle 2D and 3D as a template
- Changes in Rect2, Vector2, Vector3 interface to uniformize template
calls
- New option in Project Settings to enable BVH for 2D Physics (enabled
by default like in 3D)
2021-04-30 15:53:15 -07:00
Hugo Locurcio
1f0e570216
Document that `SceneTree.call_group()` is deferred
...
(cherry picked from commit 7516ff3805
)
2021-04-30 12:15:24 +02:00
PouleyKetchoupp
0ba5001fb6
Expose get_debug_mesh in Shape to scripting API
...
Can be useful for custom drawing of physics shapes without having to add
a collision object node to the tree.
2021-04-29 18:20:29 -07:00
Rémi Verschelde
0c14d10522
Merge pull request #48296 from akien-mga/3.x-cherrypicks
2021-04-29 13:48:49 +02:00
Rémi Verschelde
e20b8b00d5
Merge pull request #48273 from Calinou/doc-spatialmaterial-rim-unshaded
...
Document that clearcoat/rim lighting is not visible on unshaded materials (3.x)
2021-04-29 13:36:47 +02:00
Rémi Verschelde
f94e76644a
Merge pull request #47938 from smix8/doc_skeletonik_3x
...
[3.x] Document SkeletonIK
2021-04-29 13:34:16 +02:00
Rémi Verschelde
d54c13ac1a
Tabs: Remove unused 'panel' stylebox from default theme
...
Cf. https://github.com/godotengine/godot/issues/37875#issuecomment-625297308 .
(cherry picked from commit cd8d321961
)
2021-04-29 12:30:10 +02:00
Lightning_A
e4addffde1
Put physics override parameters in their own group and document that areas can be used to influence audio
...
(cherry picked from commit 80b1a29c46
)
2021-04-29 12:27:31 +02:00
Lyuma
11b8b8ad27
Allow renaming bones and blendshapes.
...
(cherry picked from commit d13568a8d1
)
2021-04-29 11:27:56 +02:00
skyace65
c05ff94b84
Improve SpriteFrames get_animation_loop description
...
(cherry picked from commit d311c48d6a
)
2021-04-29 11:09:20 +02:00
Rémi Verschelde
0469698b5f
Merge pull request #48270 from akien-mga/3.x-deprecate-largetexture
...
doc: Mark LargeTexture as deprecated (removed in 4.0)
2021-04-29 09:45:20 +02:00
Hugo Locurcio
8df0e61cc2
Document that clearcoat/rim lighting is not visible on unshaded materials
2021-04-28 17:40:14 +02:00
Rémi Verschelde
f85d59c97f
Merge pull request #47349 from nekomatata/heightmap-support-3.x
...
[3.x] Heightmap collision shape support in Godot Physics
2021-04-28 16:57:29 +02:00
Rémi Verschelde
3edf1adf91
Merge pull request #38348 from asheraryam/convex-decompose
...
[3.x] Create GDScript bindings for creating multiple-convex collision bodies
2021-04-28 16:48:59 +02:00
Rémi Verschelde
562c6bd9ab
doc: Mark LargeTexture as deprecated (removed in 4.0)
...
Cf. https://github.com/godotengine/godot/pull/48269 .
2021-04-28 16:21:43 +02:00
Rémi Verschelde
6cb61b67e6
Merge pull request #41471 from Calinou/giprobe-deprecate-compress-3.2
2021-04-28 12:01:55 +02:00
Rémi Verschelde
2d57df60f7
Merge pull request #48144 from Faless/crypto/3.3_encryption_stable
2021-04-27 13:46:49 +02:00
asheraryam
342c88841d
Create bindings for creating multiple-convex-collision static bodies from gdscript
2021-04-27 06:55:17 +03:00
Rémi Verschelde
c3272997cd
doc: Update classref headers with 3.4 version
2021-04-26 13:15:29 +02:00
Tomasz Chabora
44e84c61a6
Add disabled theme icons for CheckBox
...
(cherry picked from commit 3a40c268a6
)
2021-04-26 13:15:28 +02:00
Rémi Verschelde
e554ecd691
Merge pull request #47451 from BastiaanOlij/arvr_positional_tracker_ref
...
Change ARVRPositionalTracker to a reference (3.x)
2021-04-26 07:45:34 +02:00
Fabio Alessandrelli
2e7976181b
Document AES and new Crypto/CryptoKey functions.
2021-04-24 00:04:56 +02:00
Hugo Locurcio
6f16302d49
Link to Feature tags more explicitly in ProjectSettings documentation
...
(cherry picked from commit 188bd5638c
)
2021-04-23 22:05:05 +02:00
Arthur Paulino
d27fbe10ad
Updating KinematicBody2D "is_on" functions' descriptions
...
(cherry picked from commit 0c9a1a1cd4
)
2021-04-23 21:51:42 +02:00
kleonc
4d7f642fb3
Improve some argument names for core types
2021-04-23 15:34:24 +02:00
Hugo Locurcio
e33562fe9f
Improve the `Engine.editor_hint` property documentation
...
(cherry picked from commit 17591fc6a1
)
2021-04-21 08:59:31 +02:00
Rémi Verschelde
64cf72af7b
Merge pull request #48059 from clayjohn/shadow-cubemap-fix
...
Add setting for shadow cubemap max size
2021-04-21 08:53:26 +02:00
clayjohn
0546c8760a
Add setting for shadow cubemap max size
2021-04-20 23:17:45 -07:00
smix8
84e603ec7e
Add SkeletonIK function documentation
...
Add SkeletonIK function documentation
2021-04-20 22:16:43 +02:00
Hugo Locurcio
f0d1bedc74
Print a warning when trying to seek in VideoPlayer
...
Seeking isn't implemented in built-in video formats and can only
be supported in GDNative-provided video formats.
(cherry picked from commit ea46639e22
)
2021-04-20 20:16:42 +02:00
smix8
595a1edd3b
Document AnimationNodeTimeSeek with clarified usage and code example
...
Document AnimationNodeTimeSeek with clarified usage and code example
(cherry picked from commit 35c9192689
)
2021-04-20 20:15:54 +02:00
RoniPerson
6308f4374f
changed description of `merge_polygons`
...
Clarified that the `merge_polygons` method can produce multiple holes.
(cherry picked from commit 8f01c261f2
)
2021-04-20 20:14:54 +02:00
Hugo Locurcio
ad413a613c
Document `AStar.get_point_path()` not being thread-safe
...
(cherry picked from commit cf64bad63e
)
2021-04-20 20:14:47 +02:00
Rémi Verschelde
1c9203ad68
Object: Make deleted object access raise errors, not warnings
...
Clarify doc about not decaying to `null` for `free` and `queue_free`.
Part of #45639 .
2021-04-20 11:37:39 +02:00
rainlizard
84ecbbaa89
Document how to use a TextureArray
2021-04-19 14:20:03 +02:00
kleonc
00d087e47d
Fix docs description for CapsuleMesh::mid_height
...
(cherry picked from commit dd3cc9b817
)
2021-04-14 13:52:57 +02:00
Hugo Locurcio
5283c1fb1d
Document overriding project settings that have feature tags
...
This non-obvious behavior can take a while to discover and fix,
so it's important to mention it in the class reference.
(cherry picked from commit 554742312d
)
2021-04-14 13:29:59 +02:00
lawnjelly
2ffdfdfd1a
Add buffer orphan / stream options
...
Allows users to override default API usage, in order to get best performance on different platforms.
Also changes the default legacy flags to use STREAM rather than DYNAMIC.
2021-04-14 12:08:32 +01:00
kobewi
f72c91e0b1
Expose edit_node() for editor plugins
...
(cherry picked from commit 72014a7a2e
)
2021-04-12 09:24:37 +02:00
Anders Stenberg
c4f941114c
Add missing color argument in forward_canvas_draw_over_viewport example.
...
(cherry picked from commit 034c48dbed
)
2021-04-12 00:23:43 +02:00
Nathan Franke
8dd6fd058a
Improve Ambiguous StreamPeerTCP `set_no_delay` Documentation
...
(cherry picked from commit dbff957028
)
2021-04-07 11:55:11 +02:00
Rémi Verschelde
ed44e2806f
doc: Fix markup issues in classref
2021-04-07 11:52:44 +02:00
Yuri Sizov
ea5b3dda93
Expose editor scale to the plugin API
...
(cherry picked from commit ea31af68ba
)
2021-04-06 10:18:20 +02:00
RoniPerson
79f4da78fb
Added missing `:` in gdscript example.
...
(cherry picked from commit 5870931a15
)
2021-04-05 12:03:40 +02:00
Rémi Verschelde
7b35fc4549
Merge pull request #47382 from akien-mga/3.x-tilemap-collisions-opt-in
...
TileMap: Make collision visibility opt-in
2021-03-31 17:59:41 +02:00
Rémi Verschelde
72a547dc9d
TileMap: Make collision visibility opt-in
...
Supersedes #47204 , see discussion there.
2021-03-30 23:39:37 +02:00
Bastiaan Olij
4cce36e35d
Change ARVRPositionalTracker to a reference and better expose it to GDNative
2021-03-29 23:01:04 +11:00
skyace65
98caee44f3
Add a warning on using directory to access of imported files
...
(cherry picked from commit 4378ef0bb7
)
2021-03-29 09:26:27 +02:00
Hugo Locurcio
b6ed099b3d
Document how to avoid light leaks with GIProbe
2021-03-28 01:05:58 +01:00
Rémi Verschelde
b450c0091a
Merge pull request #42824 from madmiraal/update-intersect_point-doc-3.2
...
[3.x] Update intersect_point documentation to mention solid shapes.
2021-03-26 15:48:36 +01:00
Rémi Verschelde
c37c95d1c9
Merge pull request #47108 from lawnjelly/software_skinning_docs
...
Add to 2d software skinning classref note about custom shaders
2021-03-26 11:22:59 +01:00
Rémi Verschelde
015973df04
doc: Make all tutorial links point to 3.3 branch of docs
2021-03-26 10:43:43 +01:00
Paul Joannon
596169d7df
class reference proofreading
...
(cherry picked from commit 8455e901f3
)
2021-03-26 09:49:07 +01:00
kobewi
e8e69b2d50
Clarify that get_unix_time() returns seconds
...
(cherry picked from commit 6e4a8b7f37
)
2021-03-26 09:23:12 +01:00
PouleyKetchoupp
3ea72b273d
Heightmap collision shape support in Godot Physics
2021-03-25 16:52:20 -07:00
lupoDharkael
3b0cf34299
Control: Expose pass_on_modal_close_click
2021-03-25 18:29:41 +01:00
Morris Tabor
e06b096994
Fix ParticlesMaterial spread
2021-03-25 17:27:00 +01:00
Rémi Verschelde
1aba997d75
doc: Sync classref with 3.3 version bump
2021-03-23 13:40:34 +01:00
Hugo Locurcio
df27173750
Make the expected method calling order in SurfaceTool more explicit
...
(cherry picked from commit 6648dc58d3
)
2021-03-23 13:15:30 +01:00
PouleyKetchoupp
4caaa57b49
More detailed documentation for KinematicBody safe collision margin
2021-03-22 15:39:40 -07:00
lawnjelly
4a2ff5b6f2
Add to software skinning classref note about custom shaders
...
Added note to say that custom shaders operate on VERTEX after the transform with software skinning rather than before (as is the case with hardware skinning).
2021-03-20 10:45:53 +00:00
jmb462
a5bcacb115
Fix AudioEffectCapture buffer length cannot be changed
...
(cherry picked from commit b588232b83
)
2021-03-19 10:50:18 +01:00
Marcus Brummer
9926425ce9
Document different unit of measurement for sensor data on iOS and Android
...
(cherry picked from commit d1798b235c
)
2021-03-17 15:17:02 +01:00
Rémi Verschelde
ea9c1c0a94
Merge pull request #45577 from Birdulon/DocDrawString
...
[3.3] Documentation: Correct CanvasItem.draw_string position description
2021-03-17 15:16:10 +01:00
Aaron Franke
d82c01c1a0
Improve documentation for AtlasTexture
...
(cherry picked from commit 682286fec8
)
2021-03-16 11:35:23 +01:00
Rémi Verschelde
ba174332af
Merge pull request #46939 from abaire/relaxes_gltf_name_sanitization_3.2
...
Relaxes Node naming constraints in glTF documents to match the Editor.
2021-03-13 14:57:09 +01:00
abaire
b032067e42
Relaxes Node naming constraints in glTF documents to match the Editor.
2021-03-12 08:35:50 -08:00
Rémi Verschelde
3f246ebeed
Merge pull request #46932 from JFonS/fix_lm_capture_env
...
[3.2] Batch of lightmapper fixes and minor improvements
2021-03-12 12:30:36 +01:00
JFonS
e2c28675ef
Batch of lightmapper fixes and minor improvements
...
- Fix objects with no material being considered as fully transparent by the lightmapper.
- Added "environment_min_light" property: gives artistic control over the shadow color.
- Fixed "Custom Color" environment mode, it was ignored before.
- Added "interior" property to BakedLightmapData: controls whether dynamic capture objects receive environment light or not.
- Automatically update dynamic capture objects when the capture data changes (also works for "energy" which used to require object movement to trigger the update).
- Added "use_in_baked_light" property to GridMap: controls whether the GridMap will be included in BakedLightmap bakes.
- Set "flush zero" and "denormal zero" mode for SSE2 instructions in the Embree raycaster. According to Embree docs it should give a performance improvement.
2021-03-12 12:00:53 +01:00
Aitor Cereceto
7e5020b2fa
[46188] fix: get unix from datetime when empty dict
...
(cherry picked from commit 1e820b3d9d
)
2021-03-12 10:17:41 +01:00
Bhuvan Vemula
f695e7b4d9
Added Additional Description for PhysicsServer2D->area_create() method.
...
(cherry picked from commit e3fed7bde8
)
2021-03-12 10:12:36 +01:00
lawnjelly
d3930b1af2
Change default ninepatch mode to scaling
...
Changes default ninepatch mode to preserve compatibility, and renames default mode to 'fixed'.
Also adds an editor restart to changing ninepatch mode and software skinning, which will be more user friendly.
2021-03-10 09:30:23 +00:00
Rémi Verschelde
16fbe80dd2
Merge pull request #46802 from Faless/js/3.x_allow_hidpi
...
[3.2][HTML5] Respect allow_hidpi option during setup
2021-03-09 10:56:21 +01:00
Fabio Alessandrelli
758daab3ad
[HTML5] Respect allow_hidpi option during setup
...
The option was forced to `true` before, unlike on other platforms.
2021-03-08 23:35:10 +01:00
Rémi Verschelde
0ddba5b712
Merge pull request #44323 from Calinou/doc-spatialmaterial-depth-no-triplanar
...
Document that SpatialMaterial doesn't support depth mapping + triplanar
2021-03-08 19:41:21 +01:00
Rémi Verschelde
f1f472439e
i18n: Sync translations with Weblate
2021-03-08 17:40:29 +01:00
kobewi
e9e0cac3f5
Allow to save override.cfg with ProjectSettings
...
(cherry picked from commit 156c402f2b
)
2021-03-08 17:40:22 +01:00
Rémi Verschelde
118567ca28
Merge pull request #46657 from lawnjelly/revert_snapping
...
Revert backport of 2D transform and camera snapping options
2021-03-08 14:49:41 +01:00
Aaron Franke
a320d28f53
[3.2] Fix documentation for Vector2/3.sign()
2021-03-07 15:34:57 -05:00
Hugo Locurcio
48d5080e6a
Link to advanced exports tutorial in the Object class documentation
2021-03-05 22:44:41 +01:00
lawnjelly
bf1de6bbfa
Revert backport of 2D transform and camera snapping options
...
More work is needed to make sure that those options actually solve users' issues, so we prefer to remove the options for 3.2.4 and revisit for a future release.
2021-03-05 14:20:31 +00:00
Rémi Verschelde
8a020a6573
Merge pull request #46662 from Calinou/doc-bakedlightmap-hdr
...
Improve the BakedLightmap `use_hdr` documentation
2021-03-05 15:14:33 +01:00
Rémi Verschelde
ff6cf26286
Merge pull request #46664 from Calinou/doc-margincontainer-theme-constant-3.2
...
Use safer `add_theme_constant_override()` in MarginContainer code sample
2021-03-05 15:12:03 +01:00
Rémi Verschelde
cad3771ce7
Merge pull request #46623 from Janglee123/tilemap-collision-show
...
Added `show_collision` property for tilemap node.
2021-03-04 23:40:17 +01:00
janglee
7b6cc3e687
Added `show_collision` property.
...
If true, collision shapes are shown in the editor and at run-time.
Requires Visible Collision Shapes to be enabled in the Debug menu,
for collision shapes to be visible at run-time.
2021-03-05 01:21:40 +05:30
Hugo Locurcio
e90f08642d
Use safer `add_theme_constant_override()` in MarginContainer code sample
...
Control has magic setters to set custom theme items, but using the
dedicated Control methods is less prone to typos so it should be favored.
2021-03-04 17:18:51 +01:00
Hugo Locurcio
f3496529dd
Improve the BakedLightmap `use_hdr` documentation
...
See https://github.com/godotengine/godot/issues/46442 .
2021-03-04 17:10:29 +01:00
Hugo Locurcio
bd907d48ad
Remove incorrect/trivial examples in the ItemList class documentation
...
This closes https://github.com/godotengine/godot-docs/issues/4712 .
2021-03-03 22:56:02 +01:00
Ryan Roden-Corrent
d39e5b9987
Clarify Curve.get_closest_point uses baked points.
...
Based on the doc, I wasn't sure if get_closest_point would return the
closest baked point or the closest "source" point. It seems to use
baked:
8faecd6a47/scene/resources/curve.cpp (L809)
(cherry picked from commit ef5042a70f
)
2021-03-02 10:26:14 +01:00
Andy Maloney
28365a5258
Fix some grammar in StyleBoxFlat class docs
...
(cherry picked from commit 89e7e61773
)
2021-03-02 10:26:14 +01:00
Mateo Kuruk Miccino
04fefed904
Logger: Cache 'flush_stdout_on_print' to improve performance, and works before ProjectSettings starts.
...
ProjectSetting: Now 'application/run/flush_stdout_on_print' requires a restart of the Editor to take effect
(cherry picked from commit 89283b7b53
)
2021-03-02 10:26:14 +01:00
lawnjelly
b1e24597e7
Renaming rendering/2d project settings.
...
The rendering/quality/2d section of project settings is becoming considerably expanded in 3.2.4, and arguably was not the correct place for settings that were not really to do with quality.
3.2.4 is the last sensible opportunity we will have to move these settings, as the only existing one likely to break compatibility in a small way is `pixel_snap`, and given that the whole snapping area is being overhauled we can draw attention to the fact it has changed in the release notes.
Class reference is also updated and slightly improved.
`pixel_snap` is renamed to `gpu_pixel_snap` in the project settings and code to help differentiate from CPU side transform snapping.
2021-03-01 11:38:46 +00:00
lawnjelly
7d5cf60149
Disallow antialiasing for software skinned 2d polys
...
Antialiasing is not supported for batched polys. Currently due to the fallback mechanism, skinned antialiased polys will be rendered without applying animation.
This PR simply treats such polys as if antialiasing had not been selected. The class reference is updated to reflect this.
2021-03-01 08:26:59 +00:00
Delf Neumärker
7df977c3ed
Fix crash during drag if user freed the drag preview
2021-02-27 15:16:06 +01:00
Haoyu Qiu
2003a41f0f
Fixes typo in Array::bsearch_custom doc
...
(cherry picked from commit 31243e377f
)
2021-02-26 11:29:35 +01:00
Hugo Locurcio
b2725cb4b9
Improve the `OS.get_environment()`/`OS.set_environment()` documentation
...
(cherry picked from commit 355803db1b
)
2021-02-25 22:38:07 +01:00
Rémi Verschelde
6fc9c409dd
Merge pull request #46420 from nekomatata/draw-collision-outline-option-3.2
...
[3.2] Added option in project settings to draw Shape2D outlines
2021-02-25 17:15:52 +01:00
PouleyKetchoupp
d94cd42ccd
Added option in project settings to draw Shape2D outlines
...
Disabling collision outlines can be useful for performance when the game
is running and many collision shapes are displayed.
2021-02-25 07:48:33 -07:00
Jummit
0a9190134d
expose edit_selected in Tree
...
(cherry picked from commit 13fb24cb6f
)
2021-02-25 15:14:32 +01:00
Bastiaan Olij
e9ce9a8422
Expose set_environment to GDScript
2021-02-25 22:07:38 +11:00
bruvzg
5bbacc85bd
Expose String contents to the GDScript as PoolByteArray.
2021-02-23 13:43:36 +02:00
lawnjelly
27aa03cac1
Small class reference update for 3.2.4
...
Changed batching entries now that it is available in GLES3 and GLES2.
Added entry for camera_snap.
2021-02-23 10:00:37 +00:00
hungrymonkey
1716423c97
Added sample code to the bsearch_custom function
...
bsearch_custom arguments
name - type - description
value - Variant - bisection search value
obj - Any object instance - Location of the 2 argument comparison function
func - String - Name of the function declared in obj
before - boolean - first and second resolver
Fixes https://github.com/godotengine/godot-docs/issues/4564
2021-02-22 15:55:33 +01:00
Rémi Verschelde
38c168b53b
Merge pull request #46301 from Calinou/gles2-improve-shadow-rendering
...
Improve PCF13 shadow rendering in GLES2 by using a soft PCF filter
2021-02-22 14:07:10 +01:00
Hugo Locurcio
83eec8f7db
Improve PCF13 shadow rendering in GLES2 by using a soft PCF filter
...
This suppresses the blocky shadow appearance, bringing the shadow rendering
much closer to GLES3. This soft filter is more demanding as it requires
more lookups, but it makes PCF13 shadows more usable.
The soft PCF filter was adapted from three.js.
2021-02-22 13:36:15 +01:00
Rémi Verschelde
aa5993c98b
Merge pull request #46308 from akien-mga/3.2-cherrypicks
...
Cherry-picks for the 3.2 branch (future 3.2.4) - 24th batch
2021-02-22 11:53:51 +01:00
Rémi Verschelde
0abf702d4b
Merge pull request #45957 from lupoDharkael/natural-comp
...
[3.2] Add natural string comparison
2021-02-22 11:07:54 +01:00
Andy Maloney
e262c6b8bc
[docs] Clarification on theme's get_stylebox
...
Remove reference to "icon" (must have been a copy-paste error) & clarify where to find out what names & node_types are valid.
(cherry picked from commit d397c32169
)
2021-02-22 10:41:30 +01:00
Hugo Locurcio
3122d12365
Document theming a SpinBox's background
...
This closes #46248 .
(cherry picked from commit 159581739a
)
2021-02-22 10:17:09 +01:00
Hugo Locurcio
e5d0889c49
Document that Button doesn't interpret touch input (= no multitouch)
...
TouchScreenButton should be used for gameplay actions instead.
(cherry picked from commit f6087d3f2b
)
2021-02-22 10:16:06 +01:00
Lyuma
069c08e155
Backport d800329
AudioEffectCapture to 3.2
2021-02-21 20:14:58 -08:00
Yuri Sizov
57e57872fd
Add documentation for EditorPlugin's build method
...
(cherry picked from commit 724ed88215
)
2021-02-19 15:55:57 +01:00
Hugo Locurcio
9f236d48e6
Don't allow negative values for `OS.delay_usec()`/`OS.delay_msec()`
...
This closes #46190 .
(cherry picked from commit 76f1f9b3c5
)
2021-02-19 15:52:54 +01:00
Luke Hubmayer-Werner
0974cf15f6
Documentation: Correct CanvasItem.draw_string position description.
...
Also add height warnings to Font.get_char_size and Font.get_string_size
2021-02-19 18:33:27 +10:30
Rémi Verschelde
8651838268
doc: Fixup RichTextLabel bbcode_enabled note
2021-02-19 00:04:32 +01:00
skyace65
72aef9d67e
Add information on bb code enabled
2021-02-18 23:46:33 +01:00
Jitesh
d968a03cbc
Add animation_finished signal and fix frame_changed signal for AnimatedSprite3D
...
Fixes #40301 .
Fixes #45947 .
(cherry picked from commit c3be0c2c04
)
2021-02-18 00:36:20 +01:00
Rémi Verschelde
30c69c296b
Merge pull request #46093 from akien-mga/3.2-cherrypicks
...
Cherry-picks for the 3.2 branch (future 3.2.4) - 23rd batch
2021-02-16 15:17:00 +01:00
David Buchmann
26e2eaf068
doc: Clarify TileMap `world_to_map` and `map_to_world` usage
...
Per discussion in #38551 .
Fixes #31663 .
Fixes #37394 .
2021-02-16 14:52:51 +01:00
Rémi Verschelde
7c3602dc8c
doc: Sync classref with current source
2021-02-16 14:47:29 +01:00
Sylvain Beucler
dc1264af0a
doc: explain TouchScreenButton passby mode
...
(cherry picked from commit 9e21077fad
)
2021-02-16 14:27:40 +01:00
hoontee
d91a5e7883
Implement CollisionPolygon3D margin
...
(cherry picked from commit fbb1ef759c
)
2021-02-16 14:27:39 +01:00
Hugo Locurcio
6c6f4e9895
Expose a `File.flush()` method to scripting
...
This can be used to ensure a file has its contents saved
even if the project crashes or is killed by the user
(among other use cases).
See discussion in #29075 .
(cherry picked from commit ab397460e9
)
2021-02-16 14:27:38 +01:00
Hugo Locurcio
15d9f77f97
Add a project setting to enable stdout flushing in release builds
...
This can be used in server builds for journalctl compatibility.
(cherry picked from commit 341b9cf15a
)
Fixes crash when exiting with --verbose with leaked resources
(cherry picked from commit 25c4dacb88
)
2021-02-16 14:27:38 +01:00