Rémi Verschelde
f7fa5a0e3a
Merge pull request #49600 from vnen/gdnative-api-generator-var-writer
...
GDNative: Use VariantWriter for the API JSON generator
2021-06-14 18:43:54 +02:00
Rémi Verschelde
0610c559ec
Merge pull request #49585 from timothyqiu/oh-unsigned
...
Fix invalid read when using MultiMesh
2021-06-14 18:35:36 +02:00
Rémi Verschelde
0c4e8025ab
Merge pull request #49595 from Faless/js/4.x_npm_update
...
[HTML5] Update eslint and jsdoc dependencies.
2021-06-14 18:33:17 +02:00
Rémi Verschelde
07b8fffa7c
Merge pull request #49458 from JFonS/fix_unwrap_xform
...
Rename get_parent_spatial() to get_parent_node_3d()
2021-06-14 18:32:33 +02:00
George Marques
49ce5e69ee
Fix default value binding in VisualScriptFunctionState
2021-06-14 12:26:05 -03:00
Rémi Verschelde
6c1445bfea
Merge pull request #48847 from JFonS/vis_deps
...
Implement visibility range and dependencies
2021-06-14 17:22:59 +02:00
Rémi Verschelde
47824992d4
Merge pull request #49574 from Blackiris/fix-super-call-with-args
...
Fix "super" call when having at least one argument
2021-06-14 17:17:00 +02:00
Yuri Roubinsky
551fb1c749
Merge pull request #49581 from BastiaanOlij/check_disabled_multiview
2021-06-14 17:34:30 +03:00
George Marques
ad7141703e
GDNative: Use VariantWriter for the API JSON generator
...
Instead of the String representation, which can be finicky to work with.
VariantWriter is more robust since changes to it affects the whole
system thus it's changed less often and it's never ambiguous.
2021-06-14 10:30:58 -03:00
jfons
ee702334a1
Rename get_parent_spatial() to get_parent_node3d()
...
Renames get_parent_spatial() to get_parent_node3d() and changes its
implementation. Before it was not returning a correct pointer if the
node wasn't added to a SceneTree. Now it uses the same implementation as
CanvasItem, which will be correct even for nodes outside a SceneTree.
2021-06-14 14:05:13 +02:00
Fabio Alessandrelli
a1cbb6daa6
[HTML5] Update eslint and jsdoc dependencies.
2021-06-14 13:42:03 +02:00
jfons
3a53ae5d9f
Implement visibility range and dependencies.
...
This commit adds the following properties to GeometryInstance3D: `visibility_range_begin`,
`visibility_range_begin_margin`, `visibility_range_end`, `visibility_range_end_margin`.
Together they define a range in which the GeometryInstance3D will be visible from the camera,
taking hysteresis into account for state changes. A begin or end value of 0 will be ignored,
so the visibility range can be open-ended in both directions.
This commit also adds the `visibility_parent` property to 'Node3D'.
Which defines the visibility parents of the node and its subtree (until
another parent is defined).
Visual instances with a visibility parent will only be visible when the parent, and all of its
ancestors recursively, are hidden because they are closer to the camera than their respective
`visibility_range_begin` thresholds.
Combining visibility ranges and visibility parents users can set-up a quick HLOD system
that shows high detail meshes when close (i.e buildings, trees) and merged low detail meshes
for far away groups (i.e. cities, woods).
2021-06-14 12:17:11 +02:00
Haoyu Qiu
1b122345c2
Fix invalid read when using MultiMesh
2021-06-14 13:19:40 +08:00
Bastiaan Olij
3eae812331
Fixed error spam when XR mode is not enabled and a missed setting rename
2021-06-14 11:05:16 +10:00
Julien Nguyen
d6ae7edd80
Fix "super" call when having at least one argument
2021-06-13 17:46:03 +02:00
Rémi Verschelde
12e0f10c74
Merge pull request #49227 from pycbouh/editor-theme-freeze-changes
...
Prevent `Theme` resource from emitting changes during bulk operations
2021-06-13 15:44:32 +02:00
Rémi Verschelde
4ebf248e1b
Merge pull request #48207 from BastiaanOlij/multiview_stereoscopic
...
Add stereoscopic rendering through multiview
2021-06-13 15:36:55 +02:00
Bastiaan Olij
15c1a76361
Add stereoscopic rendering through multiview
2021-06-13 22:52:20 +10:00
Rémi Verschelde
ef7974f3d9
Merge pull request #49526 from Chaosus/fix_textureregion_errors
2021-06-13 14:44:50 +02:00
Rémi Verschelde
aa51911c69
Merge pull request #49543 from greatmomo/SkeletonModification_bugfix
2021-06-13 14:34:11 +02:00
Rémi Verschelde
600b4c9c7b
Merge pull request #34668 from aaronfranke/to-string
...
[Core] Reformat structure string operators
2021-06-13 11:58:24 +02:00
Rémi Verschelde
f4ab76444f
Merge pull request #49564 from timothyqiu/validate-plugin-params
2021-06-13 11:55:07 +02:00
Rémi Verschelde
de2250d786
Merge pull request #49562 from RandomShaper/fix_mono_build
...
Improve & fix Mono build
2021-06-13 11:45:43 +02:00
Haoyu Qiu
1a9e3edd30
Validate parameters when adding plugins
2021-06-13 17:25:39 +08:00
Pedro J. Estébanez
f59488e94e
Improve & fix Mono build
...
- Fix C++ compile errors about pending variable renames after the `Reference` to `RefCount` change.
- Fix C# compile errors due to the recent rename of `EnablePlugin()` and `Build()`, which are now underscore-prefixed in bindings.
- Additional rename: `godot_icall_Reference_Dtor` to `godot_icall_RefCounted_Dtor`.
2021-06-13 11:21:14 +02:00
Rémi Verschelde
e866a53428
Merge pull request #49559 from timothyqiu/color-index
...
Fix crash when using invalid index in Color.get_named_color
2021-06-13 10:50:27 +02:00
Rémi Verschelde
95932ce4f2
Merge pull request #49558 from timothyqiu/invalid-ref
2021-06-13 10:49:14 +02:00
Rémi Verschelde
2ed9bb7e42
Merge pull request #49555 from timothyqiu/tileset-range
...
Add range check for TileSet::CellNeighbor parameter
2021-06-13 10:44:04 +02:00
Rémi Verschelde
1003054134
Merge pull request #49553 from timothyqiu/viewport-outside-tree
...
Fix Viewport crashes when not in tree
2021-06-13 10:40:37 +02:00
Rémi Verschelde
558f13e4f7
Merge pull request #49554 from timothyqiu/physical-bone-2d-init
...
Initialize PhysicalBone2D::parent_skeleton
2021-06-13 10:32:38 +02:00
Rémi Verschelde
56edf2d2a5
Merge pull request #49546 from KoBeWi/;_;
...
Fix some virtual methods
2021-06-13 10:31:03 +02:00
Rémi Verschelde
b536bac28e
Merge pull request #49556 from timothyqiu/joypad-button-range-check
...
Fix `InputEventJoypadButton::as_text` crash for invalid button index
2021-06-13 10:05:55 +02:00
Haoyu Qiu
a23610ad90
Fix crash when using invalid index in Color.get_named_color
2021-06-13 14:29:32 +08:00
Haoyu Qiu
42ad987bb7
Validate parameter of SkeletonModificationStack2D::add_modification
2021-06-13 14:07:01 +08:00
Haoyu Qiu
c727d40507
Fix InputEventJoypadButton::as_text
crash for invalid button index
2021-06-13 13:53:11 +08:00
Haoyu Qiu
43f9253c53
Add range check for TileSet::CellNeighbor parameter
2021-06-13 13:30:27 +08:00
Haoyu Qiu
80927b7a81
Fix Viewport crashes when not in tree
2021-06-13 12:51:26 +08:00
Haoyu Qiu
9cbf066feb
Initialize PhysicalBone2D::parent_skeleton
2021-06-13 12:10:11 +08:00
Juan Linietsky
ccaefbce55
Merge pull request #49551 from reduz/fix-roughness-limiter2
...
Make shader compile again after roughness limiter fix
2021-06-12 22:01:44 -03:00
reduz
ce783689f8
Make shader compiler again after roughness limiter fix
...
Fix shader compilation error after merging #49549
2021-06-12 21:40:51 -03:00
Juan Linietsky
bb94344937
Merge pull request #49549 from clayjohn/VULKAN-roughness-limiter
...
Fix roughness limiter derivative
2021-06-12 21:29:34 -03:00
Juan Linietsky
6feae6d219
Merge pull request #49547 from reduz/fix-voxelgi
...
Fix VoxelGI (works again).
2021-06-12 21:15:57 -03:00
kobewi
3911e71a52
Fix some virtual methods
2021-06-13 02:02:39 +02:00
clayjohn
9a5e00be6f
Fix roughness limiter derivative
2021-06-12 17:02:05 -07:00
reduz
7513b73902
Fix VoxelGI (works again).
...
It was broken due to #46046 , this makes it work again.
2021-06-12 20:37:56 -03:00
Rémi Verschelde
6d98f84abb
Merge pull request #48746 from KoBeWi/bane_of_all_virtual_compatibility
...
Consistently prefix bound virtual methods with _
2021-06-12 23:00:40 +02:00
Rémi Verschelde
ac73059b56
Merge pull request #49123 from aaronfranke/it-is-time
...
Add a Time singleton
2021-06-12 22:55:25 +02:00
Rémi Verschelde
edee798628
Merge pull request #49544 from akien-mga/variantparser-stringname-compat
...
VariantParser: Fix reading StringNames with '&'.
2021-06-12 22:43:08 +02:00
Rémi Verschelde
2787ee634a
Merge pull request #49520 from pfertyk/issue-46278-empty-texture-crashes-godot
...
Validate texture in RendererStorageRD::free
2021-06-12 22:27:14 +02:00
Rémi Verschelde
02b3adc150
Merge pull request #49541 from Calinou/fix-game-camera-override-tooltip
...
Fix game camera override tooltips being swapped
2021-06-12 22:24:40 +02:00