Commit graph

38479 commits

Author SHA1 Message Date
Yuri Roubinsky db2ee03fff Fix shader crash on using METALLIC and ROUGHNESS built-ins in light func 2021-10-11 13:35:53 +03:00
Rémi Verschelde cd3c1f2594
Update AUTHORS and DONORS list
New contributors added to AUTHORS:
@raulsntos, @TokageItLab

Thanks to all contributors and donors for making Godot possible!
2021-10-11 11:59:11 +02:00
Rémi Verschelde 56078cca90
Merge pull request #53630 from timothyqiu/viewport-recursion 2021-10-11 10:02:22 +02:00
Rémi Verschelde 8bd6b95ac4
Merge pull request #53617 from zacryol/node-remove-child-doc 2021-10-11 09:28:59 +02:00
Rémi Verschelde b47580a7a4
Merge pull request #53641 from DeeJayLSP/audio_pitch_fix 2021-10-11 09:22:49 +02:00
Rémi Verschelde 498602009b
Merge pull request #53661 from bruvzg/ime_fix 2021-10-11 09:21:45 +02:00
Rémi Verschelde 21ab46f7e9
Merge pull request #53656 from pycbouh/gdscript-exports-redundant-string-op 2021-10-11 09:18:25 +02:00
bruvzg 19a0982d60 Fix inline IME input not working in the empty LineEdit with the placeholder. 2021-10-11 08:21:34 +03:00
Yuri Sizov 41e271af6e Remove redundant String operation from GDScript enum exports 2021-10-11 02:11:32 +03:00
Douglas Leão 39a90751dc Allow AudioStreamPlayer(2D) to provide pitch_scale on playback 2021-10-10 18:52:29 -03:00
Rémi Verschelde 09b0293fad
Merge pull request #53066 from Chaosus/shader_funcs 2021-10-10 21:37:07 +02:00
kobewi ec0d72a828 Add modulate property to TileMap layers 2021-10-10 20:28:57 +02:00
Haoyu Qiu 7ecb133b22 Fix Viewport::handle_input_locally related infinite recursion 2021-10-10 18:10:28 +08:00
zacryol 6941ab9ae5 Mention remove_node() side effect of potentially setting owner to null 2021-10-09 17:46:33 -06: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
Tokage 372ba76663 implement ping-pong loop in animation
Co-authored-by: Chaosus <chaosus89@gmail.com>
2021-10-09 18:08:43 +09: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
David Sichma d28f2ee7a5
Only emit typed member setters if safe to do so
Instructions are now only emitted if input type matches expected type.
Otherwise usual setter fallback.
2021-10-08 23:54:55 +02:00
ZuBsPaCe 551ceb590b GDScript: Report property type errors
Inline getters & setters are now FunctionNodes.
Their names are set in the parser, not in the compiler.
GDScript-Analyzer will now run through getter and setter.
Also report wrong type or signature errors regarding getset properties.
Added GDScript tests for getters and setters.
#53102
2021-10-08 22:06:15 +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
Red Headphone fff70a6427
no limit of negative value for engine_force (VehicleBody class) 2021-10-08 22:25:50 +05:30
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