Commit graph

38358 commits

Author SHA1 Message Date
Douglas Leão 39a90751dc Allow AudioStreamPlayer(2D) to provide pitch_scale on playback 2021-10-10 18:52:29 -03:00
Rémi Verschelde 2a28df82d4
Merge pull request #53614 from mashumafi/prevent-viewport-crash-2 2021-10-09 23:27:59 +02:00
mashumafi 80dc1cc412 Executing AcceptDialog.push_input no longer crashes 2021-10-09 20:33:29 +00:00
Rémi Verschelde 53426bdc71
Merge pull request #53608 from JFonS/fix_blendshape_lods 2021-10-09 21:37:06 +02:00
Rémi Verschelde 23ad5a076a
Merge pull request #53609 from madmiraal/update-android-ci-java 2021-10-09 21:35:01 +02:00
Joan Fons 8ab7ca4b32 Fix auto LOD generation for blendshapes. 2021-10-09 20:31:28 +02:00
Rémi Verschelde df376750ce
Merge pull request #53598 from Paulb23/action-editor-search-crash
Fix crash when searching action map creates empty categories
2021-10-09 17:05:23 +02:00
Marcel Admiraal fe0b673bb3 Update Android CI to use JDK 11. 2021-10-09 15:27:11 +01:00
Paulb23 8cfdc76d58 Fix crash when searching action map creates empty catagories 2021-10-09 14:13:11 +01:00
Rémi Verschelde ab9c1574d0
Merge pull request #53580 from RandomShaper/improve_cache_funcs 2021-10-09 13:40:53 +02:00
Rémi Verschelde 096941e629
Merge pull request #53592 from Calinou/doc-timer-wait-time-fix-typo 2021-10-09 13:40:43 +02:00
Rémi Verschelde b22664e160
Merge pull request #53594 from Calinou/editor-import-dock-add-dirty-marker
Add a "dirty" marker to the editor import dock for unsaved changes
2021-10-09 13:32:30 +02:00
Hugo Locurcio ba30f40c47
Add a "dirty" marker to the editor import dock for unsaved changes 2021-10-09 12:30:17 +02:00
Hugo Locurcio 735618b39e
Fix typo in the Timer.wait_time description 2021-10-09 11:37:23 +02:00
Pedro J. Estébanez 007cb5ccfb Implement get_cache_path() for iOS, and improve it for Android and Windows 2021-10-09 11:13:26 +02:00
Rémi Verschelde e8c89b2b91
Merge pull request #53588 from mashumafi/stringify 2021-10-09 11:00:16 +02:00
Rémi Verschelde ab5e7d1b86
Merge pull request #53589 from Calinou/timer-low-wait-time-add-warning 2021-10-09 10:57:56 +02:00
Rémi Verschelde 1fd440f5af
Merge pull request #53570 from zaevi/fix_gdignore 2021-10-09 10:35:27 +02:00
Rémi Verschelde 1f192c43b0
Merge pull request #51429 from omar-polo/fix-basename 2021-10-09 10:34:21 +02:00
Hugo Locurcio 42d13e29e2
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 08:57:48 +02:00
mashumafi 575d4e00b6 Enhance and cleanup stringify for Vector 2021-10-09 06:19:25 +00:00
Rémi Verschelde 6f72d9d19f
Merge pull request #53584 from akien-mga/fix-bindings-arg-names 2021-10-09 01:15:06 +02:00
Rémi Verschelde 5ae569560d
Fix missing argument names in bindings
While at it, tweak some boolean setters to use `p_enabled` for the bool.

Also renames `draw_minimap()` to `set_draw_minimap()`.
2021-10-09 00:20:10 +02:00
Rémi Verschelde 16b27304d9
Merge pull request #53579 from RandomShaper/better_hash_map 2021-10-08 21:43:52 +02:00
Omar Polo a3384b7461 use .get_file() instead of basename(3)
On OpenBSD the compiler complains that calling basename(3) would lose
const qualifier.  basename(3) is defined as

	char *basename(char *);

and can, accorgindly to the POSIX.1, modify the passed string.

This uses the .get_file() method.  The check is necessary because
file_name could be a directory, in which case .get_file() would return
an empty string.  The .get_base_dir().get_file() idiom is already used.

The usage of get_file() and the check were suggested by theraot, thanks!
2021-10-08 20:10:26 +02:00
Pedro J. Estébanez 73697d4de6 Avoid the need for copy assignment in HashMap key/data types 2021-10-08 20:06:07 +02:00
Clay John 58aa020a19
Merge pull request #52215 from Calinou/scale-3d-use-float-value
Allow any floating-point value as a 3D rendering scale option
2021-10-08 10:28:02 -07:00
Hugo Locurcio 73c6e19acc
Allow any floating-point value as a 3D rendering scale option
This allows for finer control over 3D rendering resolution.
Supersampling can also be performed by setting a 3D rendering
resolution above 1.0, which is useful for offline rendering or
for very high-end GPUs.
2021-10-08 18:22:10 +02:00
Rémi Verschelde a5a52233bc
Merge pull request #53549 from DeeJayLSP/refcounted-fix-description 2021-10-08 18:11:11 +02:00
Rémi Verschelde 034d43def7
Merge pull request #53571 from kleonc/scene-tree-free-objects-queued-during-destruction 2021-10-08 18:10:11 +02:00
DeeJayLSP 63e2aba3fd Fix RefCounted description
If the class name is modified, its name in the description should be too.

However, pluralization is a bit complicated in this case. I'll give the options `RefCounteds` and `reference-counted objects`. Maybe both can be used.
2021-10-08 11:52:19 -03:00
kleonc 23dac24789 Delete objects enqueued for deletion during SceneTree destruction 2021-10-08 16:45:55 +02:00
Zae 70cf3cbd60 Fix EditorFileSystem not checking .gdignore in existed directory 2021-10-08 21:15:05 +08:00
Rémi Verschelde 26b3aff01d
Merge pull request #53517 from ColinKinloch/native_callback_typedef 2021-10-08 14:28:36 +02:00
Rémi Verschelde cdaa52a820
Merge pull request #53555 from Pineapple/faster-int-string-dictionary 2021-10-08 14:26:48 +02:00
Max Hilbrunner 5733c13f53
Merge pull request #53536 from Faless/mp/4.x_rpc_config
[Net] Add call_local argument to Node.rpc_config.
2021-10-08 14:15:01 +02:00
George Marques b010f96c89
Merge pull request #53336 from briansemrau/gdscript-i'm-not-my-own-local-class
[GDScript 2.0] fix script base class self-assignment
2021-10-08 09:10:19 -03:00
Fabio Alessandrelli 7c93931751 [Net] Add call_local argument to Node.rpc_config. 2021-10-08 12:49:20 +02:00
Fabio Alessandrelli 54ec66a700 [Net] Rename RPCConfig.sync to call_local.
For consistency with the other user facing changes.
2021-10-08 12:39:09 +02:00
Rémi Verschelde 96767c18f8
Merge pull request #53527 from Chaosus/shader_array 2021-10-08 12:37:05 +02:00
Bartłomiej T. Listwon 4a723842b6 Faster hash_compare for integer and string keys in dictionaries 2021-10-08 10:09:13 +02:00
Yuri Roubinsky b1ac3e256f Allow declare the shader arrays with a size defined before identifier 2021-10-08 10:28:31 +03:00
Rémi Verschelde 9b34442d93
Merge pull request #53551 from YeldhamDev/tabs_is_a_buggy_mess
Fix invisible tabs not being ignored in `Tabs`
2021-10-08 07:50:27 +02:00
Rémi Verschelde 89ed936ea1
Merge pull request #52911 from vnen/gdscript-use-getter-for-property-type
Use getter return type for the property type
2021-10-08 07:45:42 +02:00
Michael Alexsander 3c5103ac1d Fix invisible tabs not being ignored in Tabs 2021-10-07 22:40:11 -03:00
George Marques 3a856b4fcc
GDScript: Use getter return type for the property type
The PropertyInfo hints are more relevant for the inspector. The getter
return type is more reliable and less likely to be incorrect and it is
what's going to be called in the end.
2021-10-07 20:22:19 -03:00
Rémi Verschelde 49e7e049ab
Merge pull request #53422 from KoBeWi/add_LUA_to_Godot 2021-10-07 23:37:37 +02:00
Rémi Verschelde 6090f90743
Merge pull request #53545 from vnen/gdscript-release 2021-10-07 23:28:34 +02:00
Rémi Verschelde f0b26a6160
Merge pull request #52962 from mujpao/fix-right-click-sub-nodes 2021-10-07 23:14:07 +02:00
Rémi Verschelde 3d05b94212
Merge pull request #53522 from groud/read_only_tile_layout 2021-10-07 22:51:46 +02:00