Rémi Verschelde
13eff7de69
Merge pull request #52273 from aaronfranke/gltf-renames
2021-09-15 13:10:24 +02:00
Rémi Verschelde
453aff4902
TextServer: Fix build with freetype disabled
...
Also remove RTR calls as we don't translate internal error messages.
2021-09-15 10:11:31 +02:00
PouleyKetchoupp
2ca94e51e4
Clean convex hull decomposition code
...
Remove unnecessary conversion between triangle data and vertex data
whenever possible.
2021-09-14 17:14:06 -07:00
Rémi Verschelde
1c7aec9d9c
Merge pull request #51094 from RandomShaper/error_cast_freed_object
...
Complain if casting a freed object in a debug session
2021-09-14 21:48:10 +02:00
Pedro J. Estébanez
ddc7d7ee66
Complain if casting a freed object in a debug session
...
The idea is to give the user a chance to realize a mistake that will cause a crash in a release build (or with no debugger attached).
2021-09-14 21:07:00 +02:00
JFonS
a9b600bac0
Merge pull request #52630 from JFonS/ebr_packets
...
Upgrade Embree and enable ray packets
2021-09-14 17:39:42 +02:00
Rémi Verschelde
de8d38014e
Merge pull request #52633 from lewiji/mono-build-solution-shortcut-4.0
2021-09-14 16:21:19 +02:00
Rémi Verschelde
3cc01b2824
Merge pull request #52226 from Faless/debugger/4.x_start_options
2021-09-14 16:20:02 +02:00
Rémi Verschelde
e13d8eda1b
Merge pull request #52266 from AndreaCatania/coll
2021-09-14 14:34:22 +02:00
Lewis James
913aa270c0
Add editor keyboard shortcut for Mono Build solution button
...
Apply suggestions from code review
Merging @akien-mga's suggestion with the matching change to the CS project
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2021-09-14 13:13:00 +01:00
Rémi Verschelde
7774ec1634
Merge pull request #52222 from Gallilus/Fix-VisualScriptPropertySet-value-property-hint
2021-09-14 12:49:11 +02:00
Rémi Verschelde
3d754c7555
Merge pull request #52647 from timothyqiu/csg-shape-update
...
Don't update CSG Shape when not inside tree
2021-09-14 08:56:35 +02:00
Rémi Verschelde
60e0f8b626
Merge pull request #52292 from bruvzg/hb_init
...
[TextServer] Fix regression from #51908 , HarfBuzz handle init and MinGW build.
2021-09-14 07:55:02 +02:00
Haoyu Qiu
07042b4044
Don't update CSG Shape when not inside tree
2021-09-14 08:38:30 +08:00
Max Hilbrunner
7cdd8629ad
Merge pull request #52643 from ThreeRhinosInAnElephantCostume/fixgdscript
...
Fix an undefined behaviour causing random test failures
2021-09-13 23:29:38 +02:00
ThreeRhinosInAnElephantCostume
2c71134aa4
Fix an undefined behaviour
2021-09-13 22:59:28 +02:00
Aaron Franke
3a902c66c4
Revert some URLs from the "Replace HTTP URLs with HTTPS" PR
2021-09-13 15:18:35 -05:00
David Cambré
080125660a
Update VisualScriptCustomNode.xml
2021-09-13 21:28:08 +02:00
Rémi Verschelde
f6022d2aa8
Merge pull request #52362 from vnen/gdscript-lambda-completion-crash
...
GDScript: Do not complete lambda arguments from parent class
2021-09-13 21:13:40 +02:00
Rémi Verschelde
45d9df2e63
Merge pull request #52632 from vnen/autoload-global-script-class-conflict
...
Disallow class names to be the same as global names
2021-09-13 21:10:50 +02:00
Rémi Verschelde
ffe8412291
Merge pull request #52323 from vnen/gdscript-singleton-interdependence-fix
...
Fix loading of interdependent autoloads
2021-09-13 21:10:34 +02:00
Rémi Verschelde
e8ed252891
Merge pull request #52637 from vnen/gdscript-fix-test-cases
...
Fix GDScript test cases
2021-09-13 20:30:33 +02:00
Ignacio Roldán Etcheverry
875b5fbf17
Merge pull request #52607 from paulloz/improve-cs-method-listing
...
Improve C# method listing
2021-09-13 20:21:48 +02:00
George Marques
e9186cfebf
Fix GDScript test cases
2021-09-13 15:02:01 -03:00
Rémi Verschelde
0c2ab55a58
Merge pull request #52100 from vnen/gdscript-access-outer-constants
...
GDScript: Allow access to outer constant and enum values
2021-09-13 18:04:35 +02:00
Rémi Verschelde
4059cf2f02
Merge pull request #52068 from ThreeRhinosInAnElephantCostume/fixgdscript
...
Fix parse error on statement-less files with only newlines, add a warning for empty files.
2021-09-13 17:30:31 +02: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
George Marques
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 Verschelde
dde48ebed6
Merge pull request #52298 from DeleteSystem32/meshlib-transform
...
implement individual mesh transform for meshlibrary items
2021-09-13 12:19:30 +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
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
Clay John
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 Linietsky
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
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
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
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
Juan Linietsky
6679790fac
Merge pull request #52406 from ellenhp/libvorbis
...
Replace stb_vorbis with libvorbis
2021-09-10 16:24:59 -03:00
Lyuma
aca4b737f1
8 uvs for glTF2, URI decode and Vertex Custom api.
...
Add glTF2 uri decode for paths.
Add vertex custom apis.
Add scene importer api.
Change Color to float; add support for float-based custom channels in SurfaceTool and EditorSceneImporterMesh
Co-authored-by: darth negative hunter
<thenegativehunter2@users.noreply.github.com>
2021-09-10 09:16:48 -07:00
K. S. Ernest (iFire) Lee
c30cffe1b0
Merge pull request #52531 from V-Sekai/remove-gltf-packed-scene
...
Remove packed scene gltf.
2021-09-10 09:13:33 -07:00
K. S. Ernest (iFire) Lee
523b2d9199
Remove packed scene gltf
...
We determined through discussion that composing the packed scene from a node tree was a better design because it removed duplication of code.
2021-09-10 08:39:17 -07:00
George Marques
6423e891a6
Merge pull request #52063 from KoBeWi/double_comma_of_doom
...
Fix crash with consecutive commas in Dictionary
2021-09-10 11:24:51 -03:00
George Marques
6da061faf5
Merge pull request #49897 from Blackiris/fix-dollar-point-crash-on-editor
...
Fix crash when writing $. in the editor
2021-09-10 10:55:11 -03:00
George Marques
0b484c5f5f
Merge pull request #51456 from SaracenOne/super_init_fix
...
Call _init on base class if one does not exist.
2021-09-10 10:40:32 -03:00
kobewi
c7452a9940
Fix crash with consecutive commas in Dictionary
2021-09-10 15:38:24 +02:00
George Marques
11e457e594
Merge pull request #51593 from KoBeWi/if
...
Prevent crash when awaiting in a getter/setter
2021-09-10 10:36:25 -03:00
George Marques
1234c2bdd9
Merge pull request #52081 from ThreeRhinosInAnElephantCostume/fixmatchfreeze
...
Fix gdscript pattern matching expressions
2021-09-10 09:28:18 -03:00
Ellen Poe
f5d9c7b487
Replace stb_vorbis with libogg+libvorbis
2021-09-09 19:39:04 -07:00
Ignacio Roldán Etcheverry
6679be45aa
Merge pull request #52492 from raulsntos/fix-csharp-array-properties
...
Fix properties arrays in C# bindings generator
2021-09-09 20:38:58 +02:00
Vincent
70108fd850
implement individual mesh transform for meshlibrary items
2021-09-09 16:40:16 +02:00