Commit Graph
51458 Commits
Author SHA1 Message Date
Rémi VerscheldeandGitHub 41562b9198 Merge pull request #52049 from theraot/master 2021-09-13 16:49:24 +02:00
Matthew Newall f048a9ad4e Added explicit type conversions 2021-09-13 14:26:47 +00:00
Joan Fons 595cbacdf1 Upgrade Embree and enable ray packets
Minor patch upgrade. Enabling ray packets results in faster
processing of ray streams (i.e. occlusion culling buffer
updates) at the cost of slightly larger binary sizes.
2021-09-13 16:17:28 +02:00
George Marques 2e5fa124f4 Disallow class names to be the same as global names
Also forbid autoloads to have the same name as global script class.
2021-09-13 10:51:29 -03:00
mechPenSketch 9ea619c486 Add Graph Illustrations to Doc 2021-09-13 21:04:29 +08:00
Hugo LocurcioandGitHub f85426e8ad Merge pull request #51805 from skysphr/scrollbar-icons-pressed
Added increment_pressed and decrement_pressed icons to scrollbars
2021-09-13 14:57:21 +02:00
Rémi VerscheldeandGitHub c7455d9d42 Merge pull request #52012 from bruvzg/fix_label_outline 2021-09-13 14:23:52 +02:00
George MarquesandGitHub 64da50c88a Merge pull request #52553 from ZuBsPaCe/gdscript-spurious-unassigned-variable-warning
GDScript: Removed spurious UNASSIGNED_VARIABLE warning for locals
2021-09-13 09:09:58 -03:00
Rémi VerscheldeandGitHub 1994525fc2 Merge pull request #51981 from kleonc/multi-node-edit-node_path-fix
MultiNodeEdit Fix setting NodePath
2021-09-13 14:05:14 +02:00
Rémi VerscheldeandGitHub dde48ebed6 Merge pull request #52298 from DeleteSystem32/meshlib-transform
implement individual mesh transform for meshlibrary items
2021-09-13 12:19:30 +02:00
Rémi VerscheldeandGitHub 078bdef7e9 Merge pull request #51939 from clayjohn/VULKAN-horizon-so-fix
Compute horizon SO threshold before transformation
2021-09-13 11:44:42 +02:00
Bastiaan Olij f9849a2717 Add driver types to GD extension initialisation levels 2021-09-13 18:50:00 +10:00
Max HilbrunnerandGitHub bbdfc547ca Merge pull request #52579 from Calinou/add-logo-attribution
Add logo attribution for Android, HTML5 and Linux platform icons
2021-09-13 03:08:37 +02:00
Max HilbrunnerandGitHub a53ce5b851 Merge pull request #52612 from KoBeWi/this_branch_name_is_longer_than_code_diff_lol
Fix multiple definitions of Listener2D
2021-09-13 03:02:11 +02:00
Max HilbrunnerandGitHub 9d4c84e154 Merge pull request #52587 from zacryol/call_example_change
Change example used for StringName call methods
2021-09-13 02:57:21 +02:00
Max HilbrunnerandGitHub cc0ab8fb2d Merge pull request #52598 from raulsntos/fix-52268
Fix autoloads iteration in `code_completion.cpp`
2021-09-13 02:55:24 +02:00
Max HilbrunnerandGitHub fbd326b1f3 Merge pull request #52614 from Calinou/doc-get-class-name
Document `Object.get_class()/is_class()` ignores `class_name` declaration
2021-09-13 02:42:58 +02:00
Max HilbrunnerandGitHub 719231e69d Merge pull request #52615 from Calinou/doc-idle-physics-frames
Improve documentation for `Engine.get_process_frames/get_physics_frames()`
2021-09-13 02:37:11 +02:00
Hugo Locurcio a15847e5ca Document Object.get_class()/is_class() ignores class_name declaration 2021-09-13 02:17:24 +02:00
Hugo Locurcio 4a745aa0b8 Improve documentation for Engine.get_process_frames/get_physics_frames() 2021-09-12 23:07:40 +02:00
SaracenOne dace12082b Fix custom multiplayer sync commands 2021-09-12 21:20:10 +01:00
kobewi 6b68445e4d Fix multiple definitions of Listener2D 2021-09-12 21:19:37 +02:00
kobewi 363a9c674a Don't edit foreign resources when restoring scene 2021-09-12 21:17:34 +02:00
Paul Joannon 19f25b6847 Improve C# method listing
- implement CSharpInstance::get_method_list
- loop through parent classes in CSharpInstance::get_method_list and CSharpScript::get_script_method_list (#46408)
2021-09-12 19:54:54 +02:00
Silc 'Tokage' Renew 662da453a4 Fixed value type and applied small change in AnimationNodeOneShot 2021-09-13 02:31:57 +09:00
Fabio Alessandrelli 4c6845c095 [HTML5] Fix input not working when buffered.
After input buffering was reworked, input accumulation is now handled
outside of OS, and the JavaScript plaform never implemented that.
Additionally, the JavaScript platform is quite obnoxious about calling
specific APIs outside specific user triggered events.

This commit adds event flushing during the main iteration, and forces it
during keydown/keyup/mousedown/mouseup/touchstart/touchend/touchcanel
events (effectively only accumulating only "move" events).
2021-09-12 19:07:44 +02:00
Fabio Alessandrelli 490511fcfe [HTML5] Fix build error due to missing string cast. 2021-09-12 19:07:18 +02:00
kobewi 7c325aa842 Make restore_scenes_on_load true by default 2021-09-12 16:11:56 +02:00
Raul Santos 2962a440ea Fix autoloads iteration
Removes the range iterator usage in the autoloads map since `OrderedHashMap`
does not implement range iterators.
2021-09-12 13:22:18 +02:00
Jummit a6108f8a3d clarify what duplicate does and its limitations 2021-09-12 09:18:52 +02:00
zacryolandRaul Santos b587c77cb2 Change example used for StringName call methods
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2021-09-11 19:11:57 -06:00
JFonSandGitHub 5f69218edc Merge pull request #51604 from TechnoPorg/fix-vulkan-parent-material
Vulkan: Fix CanvasItem::use_parent_material
2021-09-12 01:00:30 +02:00
Clay JohnandGitHub 80aba79706 Merge pull request #52570 from williamd67/GPULightmapper-improvements
GPULightmapper's triangles and their bounding box will be in-sync
2021-09-11 14:52:43 -07:00
Juan LinietskyandGitHub 8aedcfced7 Merge pull request #52504 from V-Sekai/gltf_8_uv
8 uvs for glTF2, URI decode and Vertex Custom api
2021-09-11 16:42:35 -03:00
jmb462 b9219bedf7 Prevent non explicit inferring parameter from null 2021-09-11 21:11:10 +02:00
ThreeRhinosInAnElephantCostume e99730340b Fix error on parsing statement-less GDScript files,
add an empty file warning,
add relevant tests.
2021-09-11 20:38:15 +02:00
Max HilbrunnerandGitHub 9d629fa7fb Merge pull request #52574 from Calinou/doc-configfile-extension
Document that ConfigFiles can use any file extension
2021-09-11 20:28:44 +02:00
Hugo Locurcio 1513aa9b26 Add logo attribution for Android, HTML5 and Linux platform icons
- Tweak the Android platform logo to remove the Android wordmark,
  as it can't be used without explicit permission.
2021-09-11 19:34:10 +02:00
Matthew Newall ed2280528f Corrected Save Scene and Save All Scenes not working when the scene's dir no longer exists 2021-09-11 14:39:46 +00:00
Hugo Locurcio 9c6ae95cb2 Document that ConfigFiles can use any file extension
The file extension given to a ConfigFile has no impact on its
formatting or behavior.
2021-09-11 16:08:11 +02:00
Haoyu Qiu d2aef4c439 Expose enum related methods in ClassDB 2021-09-11 20:33:05 +08:00
Juan LinietskyandGitHub 60ed3fbf65 Merge pull request #52538 from mhilbrunner/cleanup-viewport
Clean up Viewport, remove dead code.
2021-09-11 09:03:31 -03:00
William Deurwaarder e11dd6500a GPULightmapper's triangles and their bounding box will be in-sync
Previously the bounding boxes and triangles were maintained in two separate
arrays (Vectors). As the triangle vector was sorted and the bounding-box array
was not , the order of both arrays differed. This meant that the index in one
was different than the other, which caused lookup issues.

To prevent this, the bounding-box is now part of the triangle structure so that
there is a single structure that cannot become out-of-sync anymore.
2021-09-11 14:02:37 +02:00
Pedro J. Estébanez 10c9c2ccd4 Avoid crash after a parsing error in GDScript 2021-09-11 11:35:25 +02:00
Pedro J. Estébanez 7c79e361f5 Fix parameter type resolution in GDScript 2021-09-11 11:35:25 +02:00
Pedro J. Estébanez d72f12a561 Implement iterator variable typing in GDScript 2021-09-11 11:35:25 +02:00
Silc 'Tokage' Renew 6613d9cf67 Fixed seeking behavior of property track with discrete interpolation 2021-09-11 06:10:23 +09:00
ZuBsPaCe 1d1aa7a02f GDScript: Removed spurious UNASSIGNED_VARIABLE warning for locals
Variable->assignment needs to be incremented when assigned a value.
Also fixed and improved unit test 'variable_declaration.gd'.
Fixes #52551
2021-09-10 22:26:50 +02:00
Hugo Locurcio c03e7c2dde Enable Pixel Snap by default in the 2D editor
Since this avoids accidentally placing 2D nodes at subpixel positions,
this results in more crisp visuals by default, even when pixel snapping
is disabled in the project settings.
2021-09-10 22:13:06 +02:00
Juan LinietskyandGitHub 43e96e0c65 Merge pull request #52536 from mhilbrunner/display-be-clean
Clean DisplayServerWindows and add missing guards
2021-09-10 16:25:11 -03:00