Commit Graph

34355 Commits

Author SHA1 Message Date
Rémi Verschelde b5e4d63a0b
Merge pull request #48434 from nekomatata/friction-bounce-greater-than-1
Allow values > 1 for friction and bounce in PhysicsMaterial
2021-05-04 12:28:58 +02:00
Rémi Verschelde 6b2150c60e
Merge pull request #48394 from kleonc/tilemap-world_to_map-hack-fix
TileMap::world_to_map Ensure half offset is added according to the returned value
2021-05-04 12:16:04 +02:00
Rémi Verschelde bee7f8ff23
Merge pull request #48274 from groud/undoredo_dependencies
Allow to hook a callback into inspector's undo/redo
2021-05-04 11:26:55 +02:00
Gilles Roudière b46672db72 Provide a way to hook into Inspectors UndoRedo. 2021-05-04 09:55:22 +02:00
Rémi Verschelde 3fea170772
Merge pull request #48182 from EricEzaM/PR/fix-viewport-not-updating-mouse-pos-on-click 2021-05-04 09:25:58 +02:00
Rémi Verschelde 6653ec7cfe
Merge pull request #48418 from KoBeWi/press_enter_to_complete
Add Enter as alternate key to complete code
2021-05-04 09:25:33 +02:00
Rémi Verschelde 508fbf4abe
Merge pull request #48221 from nekomatata/solver-multithreaded
Godot Physics collisions and solver processed on threads
2021-05-04 09:22:20 +02:00
Rémi Verschelde 302b6ef576
Merge pull request #47798 from ray90514/bug#47620
Fix constants at function scope are not defined as constants for completion
2021-05-04 08:20:03 +02:00
PouleyKetchoupp 67987be644 Allow values > 1 for friction and bounce in PhysicsMaterial 2021-05-03 17:48:23 -07:00
Rémi Verschelde f47c285f67
Merge pull request #48410 from akien-mga/ci-doctool-check
CI: Add `--doctool` check to find missing classref updates
2021-05-03 21:22:57 +02:00
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
kobewi 76903d2c44 Add Enter as alternate key to complete code 2021-05-03 19:28: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
kleonc f1420c7cbf TileMap::world_to_map Ensure half offset is added according to the returned value
Decide whether half offset should be added based on the value used for calculating the return value of this method.
2021-05-02 23:34:51 +02: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