Commit Graph

41642 Commits

Author SHA1 Message Date
lawnjelly
1485924a2b Float literals - fix main primitives to use real_t casting
Uses (real_t) casting to ensure appropriate calculations are done in 32 bit where real_t is compiled as 32 bit.
2022-02-24 08:15:10 +00:00
Rémi Verschelde
cfc7c78732
Merge pull request #58474 from darrylryan/master 2022-02-23 21:25:09 +01:00
Darryl Ryan
3ce5cceef9 Filament specular fix. Clamp dot product between normal and view vectors. Fixes #58459. 2022-02-23 18:16:52 +00:00
Rémi Verschelde
565823c562
Merge pull request #58472 from groud/fix_llvm_compilation 2022-02-23 19:12:55 +01:00
Gilles Roudière
f045c97218 Fix llvm compilation by adding missing override 2022-02-23 18:07:02 +01:00
Rémi Verschelde
b28a83ef3d
Merge pull request #58448 from novaplusplus/wow-more-string-docs 2022-02-23 17:54:30 +01:00
Nova
f159e7e5ab Added or improved documentation to a few more String methods 2022-02-23 10:50:33 -05:00
Rémi Verschelde
607e0cc49f
Merge pull request #58134 from timothyqiu/shortcut-zoom-mouse-pos 2022-02-23 14:59:29 +01:00
Rémi Verschelde
e3b70f3582
Merge pull request #58244 from V-Sekai/typed_fail_case_return 2022-02-23 14:12:14 +01:00
Haoyu Qiu
33ad21d2ed Utilize mouse position when zooming with shortcuts in 2D editor 2022-02-23 20:45:44 +08:00
Rémi Verschelde
1f3916e0b6
Merge pull request #56394 from BastiaanOlij/OpenXR_Core4 2022-02-23 13:36:07 +01:00
Rémi Verschelde
2fd17df2ce
Merge pull request #58354 from timothyqiu/gridmap-export 2022-02-23 13:05:26 +01:00
Rémi Verschelde
65fdba1464
Merge pull request #58444 from lawnjelly/giprobe_gizmo_fix4 2022-02-23 13:05:10 +01:00
Rémi Verschelde
96261838c5
Merge pull request #57956 from Eoin-ONeill-Yokai/audio_stream_hotfix 2022-02-23 13:04:47 +01:00
Rémi Verschelde
95783f7bfc
Merge pull request #58415 from V-Sekai/cyclic_assignment_gdscript_fixes 2022-02-23 12:09:44 +01:00
Bastiaan Olij
a78a9fee71 Implementing OpenXR driver 2022-02-23 12:02:24 +01:00
Bastiaan Olij
65bae5a341 Add OpenXR 1.0.22 to thirdparty libraries
Will be compiled and used in the next commit.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-02-23 11:50:45 +01:00
Rémi Verschelde
fcf8c2006d
Merge pull request #58411 from cbscribe/rename_motion_velocity 2022-02-23 09:48:58 +01:00
Chris Bradfield
849d34ba8e Rename motion_velocity to velocity 2022-02-22 23:31:33 -08:00
Rémi Verschelde
2b8a6c14df
Merge pull request #51716 from clayjohn/VULKAN-optimized-GGX
Use Filament specular model and parametrization
2022-02-23 07:38:27 +01:00
clayjohn
fe49244611 Use Filament specular models and parametrization 2022-02-22 19:39:41 -08:00
Eoin O'Neill
ded9dc1e82 Add missing binding to AudioStream class
This allows for the extension of AudioStream where you can call
`instance_plackback` on child AudioStream instances within gdscript,
much like the implementation of some child classes in C++.

See `AudioStreamRandomPitch` for an example of how this can be used.
2022-02-22 18:11:40 -08:00
Rémi Verschelde
002ab10608
Merge pull request #57664 from skyace65/TriangulateInfo
Add more information on triangulate polygon
2022-02-22 22:06:16 +01:00
Rémi Verschelde
e17c29ab80
Merge pull request #58440 from novaplusplus/novas-doc-stuff
Fix incorrect surfacetool example in class docs
2022-02-22 20:06:58 +01:00
Rémi Verschelde
e0d18071a6
Merge pull request #58442 from novaplusplus/docs-string-humanize-size
Document String's humanize_size static method
2022-02-22 20:06:07 +01:00
lawnjelly
bb070af610 Fix GIProbe gizmo out of bounds crash
The GIProbe gizmo was writing values in 3 dimensions to Vector2s. This error was previously being masked by the Vector2 accessor, but now results in a crash or ERR_FAIL message.

This PR removes the Vector2s as they were unused.
2022-02-22 19:01:18 +00:00
Nova
b2b2e0606f Document String's humanize_size static method 2022-02-22 13:12:29 -05:00
Nova
b5f7910ca0 Fix incorrect SurfaceTool example in class docs 2022-02-22 12:46:01 -05:00
Rémi Verschelde
872e8a43ca
Merge pull request #58343 from aaronfranke/negative-shape-warning 2022-02-22 15:35:18 +01:00
Rémi Verschelde
f880414b6a
Merge pull request #58426 from akien-mga/ci-mono-static 2022-02-22 14:41:04 +01:00
Rémi Verschelde
ce09a47db4 CI: Use mono_static=yes for Mono builds
This removes the dependency on shared libmonosgen installed locally
and makes the artifacts usable as standalone for testing without
needing a full Mono install.
2022-02-22 13:49:37 +01:00
Rémi Verschelde
0beb721c70
Merge pull request #58344 from TokageItLab/fix-cubic-interpolate-with-loop 2022-02-22 12:18:08 +01:00
Rémi Verschelde
6836db05a5
Merge pull request #57538 from floppyhammer/fix-gpu-particles-2d-offset 2022-02-22 11:54:47 +01:00
Rémi Verschelde
ca5cc8bc66
Merge pull request #58420 from bruvzg/fix_borderless_minimize 2022-02-22 11:27:27 +01:00
floppyhammer
0d5472dd1a Fix GPUParticles2D emission offset in global coords 2022-02-22 17:50:01 +08:00
bruvzg
d39ec5b9ed [Windows] Fix borderless window flag toggle and restoring minimized borderless window. 2022-02-22 10:56:58 +02:00
Rémi Verschelde
c77348b468
Merge pull request #58419 from clayjohn/Vulkan-anisotropy-crash 2022-02-22 09:09:16 +01:00
Rémi Verschelde
bbde473284
Merge pull request #58418 from clayjohn/Vulkan-cubemap-proughness 2022-02-22 09:08:43 +01:00
Rémi Verschelde
e6c11e4dfd
Merge pull request #58331 from poiati/fix-extension-registration-order-2 2022-02-22 09:07:28 +01:00
clayjohn
2da35d2b94 Fix shader compilation error with anisotropy 2022-02-21 22:58:33 -08:00
clayjohn
9d104ad839 Use properly use non-perceptual roughness when filtering radiance 2022-02-21 22:53:12 -08:00
SaracenOne
b6aa4ed55d Fixes cyclic detection from variables assigning themselves to themselves in autocomplete, and restricts initialization of variables from other variables which have not been declared above it in class body 2022-02-22 01:21:21 +00:00
Rémi Verschelde
256069eaf0
Merge pull request #58399 from Sauermann/fix-bresenham-usage
Use bresenham_line() in EditorAtlasPacker::chart_pack
2022-02-21 22:19:53 +01:00
Rémi Verschelde
4e5cc1f653
Merge pull request #58376 from novaplusplus/master
Fixed issue with godot's changes to polypartition third-party code
2022-02-21 21:32:04 +01:00
Rémi Verschelde
7e9047f378
Merge pull request #58400 from Faless/mp/4.x_repl_path_stopgap
[Net] Fix multi-peer path-only replication, optimize single peer object cache.
2022-02-21 21:20:54 +01:00
Rémi Verschelde
773656e907
Merge pull request #58304 from BastiaanOlij/fix_queue_submit
vkQueueSubmit needs pWaitDstStageMask sized to waitSemaphoreCount
2022-02-21 21:16:29 +01:00
Rémi Verschelde
2f1f7e26f7
Merge pull request #58397 from Calinou/editor-font-preload-fix-typo
Fix typos in editor font preload dialog warning messages
2022-02-21 20:24:02 +01:00
Nova
36ae916c09 Fixed issue with Godot modifications to polypartition.cpp third-party file 2022-02-21 14:10:15 -05:00
Fabio Alessandrelli
f1dc6cc9e4 [Net] Optimize object cache notification send for single peer.
It used to always cycle all the peers when checking which one needed to
be notified, now it only does that when the target is multiple (i.e.
broadcast or exclusion).
2022-02-21 19:55:07 +01:00
Markus Sauermann
b35e9155d0 Use bresenham_line() in EditorAtlasPacker::chart_pack 2022-02-21 19:52:47 +01:00