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
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
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
Andrii Doroshenko (Xrayez)
d9b3e5ce84
makerst: Fix generation of overridden properties in child classes
...
This only affects `Object` classes, not `Variant`.
(cherry picked from commit 679d038043
)
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