Commit graph

34340 commits

Author SHA1 Message Date
Rémi Verschelde
afb65ebc2c
CI: Add --doctool check to find missing classref updates
This will enforce that PRs properly sync the class reference templates to match
their changes to the public API, and help notice binding bugs in the process
(e.g. missing enum bindings, unexpected API changes or missing argument names).

This should also serve as a reminder to contributors that their changes impact
the scripting API and might warrant actually filling the descriptions for the
new methods/properties/etc.
2021-05-03 20:44:49 +02:00
Rémi Verschelde
a8f45efa43
doc: Sync classref with current source 2021-05-03 20:42:21 +02:00
Rémi Verschelde
530d9c312e
Merge pull request #48413 from MaxStgs/phash_master
Check OptimizedTranslation generate p_from is valid
2021-05-03 20:33:30 +02:00
Rémi Verschelde
a36c084f75
Merge pull request #48198 from KoalasinTraffic/fix-indent-left-line-selection
Fix start line selection for indent_selected_lines_left
2021-05-03 20:26:16 +02:00
Rémi Verschelde
ea5d2089d9
Merge pull request #48416 from JFonS/fix_gpu_lightmapper
Assorted fixes to UV unwrapping and GPU lightmapper
2021-05-03 20:25:59 +02:00
jfons
6995b0429c Assorted fixes to UV unwrapping and GPU lightmapper
Various fixes to UV2 unwrapping and the GPU lightmapper. Listed here for
context in case of git blame/bisect:

* Fix UV2 unwrapping on import, also cleaned up the unwrap cache code.
* Fix saving of RGBA images in EXR format.
* Fixes to the GPU lightmapper:
	- Added padding between atlas elements, avoids bleeding.
	- Remove old SDF generation code.
	- Fix baked attenuation for Omni/Spot lights.
	- Fix baking of material properties onto UV2 (wireframe was
	  wrongly used before).
	- Disable statically baked lights for objects that have a
	  lightmap texture to avoid applying the same light twice.
	- Fix lightmap pairing in RendererSceneCull.
	- Fix UV2 array generated from `RenderingServer::mesh_surface_get_arrays()`.
	- Port autoexposure fix for OIDN from 3.x.
	- Save debug textures as EXR when using floating point format.
2021-05-03 18:10:34 +02:00
MaxStgs
74bdd611bb Check PHashTranslation generate p_from is valid 2021-05-03 20:40:21 +05:00
Rémi Verschelde
eb57dcdb90
Merge pull request #48406 from Calinou/tweak-leaked-rid-messages 2021-05-03 16:26:32 +02:00
Rémi Verschelde
bd215f0195
Merge pull request #48407 from vnen/randomize-use-same-type
Cast Unix time to uint in the randomize function
2021-05-03 16:26:15 +02:00
Rémi Verschelde
bc228e453f
Merge pull request #48404 from Faless/net/4.x_rpc_string_name_err
[Net] Fix rpc/rpc_id error message.
2021-05-03 16:14:35 +02:00
George Marques
7610fc02a0
Cast Unix time to uint in the randomize function
This returns a double while the other values are all uint64_t. The
clang compiler gives a warning since converting the constant to double
loses precision.
2021-05-03 11:08:39 -03:00
Hugo Locurcio
bf7c4da804
Tweak warning messages related to leaked RIDs
- Use hardcoded pluralization for messages.
  - Since these messages are English-only, it's fine to hardcode it.
- Use double quotes for consistency with other messages.
2021-05-03 16:05:38 +02:00
Rémi Verschelde
0d819ae5f5
Merge pull request #48403 from kleonc/tilemap-editor-modulate-autotile-preview
TileMapEditor Modulate autotile previews
2021-05-03 16:00:50 +02:00
Rémi Verschelde
883296382d
Merge pull request #48400 from kleonc/tilemap_bucket_fill_fix
TileMapEditor::_bucket_fill Check autotile coordinates only if autotile is selected
2021-05-03 15:52:26 +02:00
Rémi Verschelde
f9b9992c25
Merge pull request #35245 from qarmin/unsigned_bit_shift
Don't allow to use in bit shift negative operands
2021-05-03 15:48:49 +02:00
Fabio Alessandrelli
8a2a446174 [Net] Fix rpc/rpc_id error message.
The check was updated to expect a `StringName` instead of a `String` but
the error message still reported it should be a `String`.
2021-05-03 15:45:36 +02:00
Rémi Verschelde
4e06731346
Merge pull request #47958 from Xrayez/gdscript-rename-test-scripts
Rename GDScript test script filenames to use `snake_case`
2021-05-03 15:44:46 +02:00
kleonc
3f1b95cfb1 TileMapEditor Modulate autotile previews 2021-05-03 14:58:02 +02:00
kleonc
a1b903066e TileMapEditor::_bucket_fill Check autotile coordinates only if autotile is selected 2021-05-03 14:49:52 +02:00
Rémi Verschelde
dad77eed5c
Merge pull request #47059 from BastiaanOlij/forward_mobile_render 2021-05-03 14:12:43 +02:00
Fabio Alessandrelli
015fc2ad4f
Merge pull request #48205 from Faless/net/4.x_url_parsing
[Net] Implement String::parse_url for parsing URLs.
2021-05-03 13:55:57 +02:00
Bastiaan Olij
58ff0dac1a Create mobile renderer 2021-05-03 21:54:11 +10:00
Rémi Verschelde
a4afa05efe
Merge pull request #48396 from YeldhamDev/script_thumbnail_comment
Add comment highlighting to script thumbnails
2021-05-03 10:33:20 +02:00
Michael Alexsander
46e0161737 Add comment highlighting to script thumbnails 2021-05-02 21:48:37 -03:00
Rémi Verschelde
8abd50359b
Merge pull request #48363 from aaronfranke/tan
Fix some tangent Color typos in GLTF
2021-05-02 10:08:22 +02:00
Rémi Verschelde
d05f9efc9d
Merge pull request #46488 from kuruk-mm/fix_filesystem_bug
FileSystem: Force update when we delete a folder from the editor and …
2021-05-02 08:43:26 +02:00
Rémi Verschelde
419d7976ca
Merge pull request #48377 from rafallus/fix_CSGPolygon_path
Change Path to Path3D in CSGPolygon3D
2021-05-02 07:49:23 +02:00
rafallus
abf6872c38 Change Path to Path3D in CSGPolygon3D 2021-05-01 22:43:36 -05:00
Mateo Kuruk Miccino
dc76938679 FileSystem: Force update when we delete a folder from the editor and searching changes only if we change the directory successfully in the scan_fs_changes 2021-05-01 22:12:02 -03:00
Aaron Franke
b06cbd9f51
Fix some tangent Color typos in GLTF 2021-05-01 18:49:23 -04:00
Rémi Verschelde
33a0fb6e02
Merge pull request #48345 from madmiraal/fix-48242-docs
Fix documentation following implementation of particle trails
2021-05-01 14:51:29 +02:00
Marcel Admiraal
fcf8071ec9 Fix documentation following implementation of particle trails 2021-05-01 13:12:31 +01:00
Rémi Verschelde
dea84c9d28
Merge pull request #48341 from sboron/fix-tangent-issue
Fix broken tangents in vulkan rendering server on godot 4
2021-05-01 13:37:43 +02:00
Rémi Verschelde
f3c1190dc9
Merge pull request #48283 from BastiaanOlij/xr_viewport
Move XR flag from subviewport into viewport
2021-05-01 12:54:35 +02:00
Bastiaan Olij
e0bdf40d15 Move XR flag from subviewport into viewport 2021-05-01 19:58:11 +10:00
Stefan Boronczyk
7571348a5f fix-tangents-on-rendering-server 2021-05-01 06:19:40 +02:00
Rémi Verschelde
4a7679e4dd
Merge pull request #48242 from reduz/particle-trails
Implement Particle Trails
2021-04-30 23:52:15 +02:00
Rémi Verschelde
d12e0b6ef1
Merge pull request #48336 from bruvzg/fix_mixed_url_decode
Fix `url_decode` with mixed percent-encoding/Unicode strings.
2021-04-30 23:02:51 +02:00
Rémi Verschelde
1202117e8f
Merge pull request #48335 from pycbouh/editor-control-theme-autocompletion
Fix autocompletion for `Control`'s `Theme` properties
2021-04-30 23:00:24 +02:00
reduz
90056460ad Implement Particle Trails
-Enable the trails and set the length in seconds
-Provide a mesh with a skeleton and a skin
-Or, alternatively use one of the built-in TubeTrailMesh/RibbonTrailMesh
-Works deterministically
-Fixed particle collisions (were broken)
-Not working in 2D yet (that will happen next)
2021-04-30 17:38:02 -03:00
bruvzg
b6a21f85a7
Fix url_decode with mixed percent-encoding/Unicode strings. Treat Unix drive names as UTF-8 encoded. 2021-04-30 21:22:39 +03:00
Rémi Verschelde
0ad03ba052
Merge pull request #48333 from MaxStgs/master
Add WebSocketMultiplayerPeer _incoming_packets check bound
2021-04-30 20:12:35 +02:00
Yuri Sizov
980cf73bbc Fix autocompletion for Control's Theme properties 2021-04-30 20:47:01 +03:00
MaxStgs
05ad08941b Add WebSocketMultiplayerPeer _incoming_packets check bound 2021-04-30 21:00:52 +05:00
Rémi Verschelde
87e8e71190
Merge pull request #34823 from qarmin/collision_mask_layer
Prevent setting too big or too small Collision Mask and Layer
2021-04-30 17:58:06 +02:00
Rafał Mikrut
efcb097674 Prevent setting too big or too small Collision Mask and Layer 2021-04-30 17:19:04 +02:00
Rémi Verschelde
66f696c2c1
Merge pull request #48305 from Calinou/doc-call-group-deferred
Document that `SceneTree.call_group()` is deferred
2021-04-30 12:08:46 +02:00
Rémi Verschelde
a91effc791
Merge pull request #48323 from naithar/fix/ios-virtual-keyboard-range
[iOS] Nonnegative start index for virtual keyboard range
2021-04-30 11:47:49 +02:00
Sergey Minakov
275772818d [iOS] Nonnegative start index for virtual keyboard range 2021-04-30 11:44:32 +03:00
Fabio Alessandrelli
d578d82e57
Merge pull request #48319 from Faless/js/4.x_modern_emcc
[HTML5] Fix builds with recent emscripten versions
2021-04-30 08:42:32 +02:00