Rémi Verschelde
c842402ced
Merge pull request #57766 from winterpixelgames/master-faster-script-class-get-parent
2022-02-07 19:21:12 +01:00
Jason Knight
81b6da9d3d
Use ScriptServer::get_global_class_base instead of script_class_get_base in script_class_is_parent.
2022-02-07 11:37:48 -06:00
Rémi Verschelde
d35269ab21
Merge pull request #57764 from timothyqiu/octant-delete
2022-02-07 18:28:27 +01:00
Rémi Verschelde
05bad19a9a
Merge pull request #57752 from Calinou/doc-csg-nodes-performance
2022-02-07 18:27:58 +01:00
Haoyu Qiu
5d4a141c97
Fix GridMap memory leak
2022-02-08 00:27:01 +08:00
Hugo Locurcio
5268786ac0
Document performance limitations with CSG nodes, link to tutorial
2022-02-07 15:55:02 +01:00
Rémi Verschelde
650e218b96
Merge pull request #56768 from YeldhamDev/dock_float_theme
2022-02-07 15:54:32 +01:00
Fabio Alessandrelli
8910d0bcb4
Merge pull request #53704 from Faless/mp/4.x_gdscript_custom_callable
...
[GDScript] Implement RPC custom callable (`my_func.rpc()`)
2022-02-07 15:24:32 +01:00
kobewi
a08fc442a0
Fix script editor errors with CustomCallables
2022-02-07 14:34:42 +01:00
Rémi Verschelde
be1adf491a
Merge pull request #57736 from TechnicalSoup/Patch-3
2022-02-07 13:58:35 +01:00
Michael Alexsander
59e9a8c275
Fix theming for floating window docks
2022-02-07 09:55:25 -03:00
Fabio Alessandrelli
086256431a
[Net] Add type check to GDScriptRPCCallable.
...
It will print an error when using an RPC defined on an object which does
not extend Node.
2022-02-07 13:39:45 +01:00
Fabio Alessandrelli
994638da4f
[Net] Implement GDScript custom RPC callable.
2022-02-07 13:39:10 +01:00
Rémi Verschelde
1694626e03
Merge pull request #57305 from bruvzg/macos_cleanup
2022-02-07 13:36:09 +01:00
Rémi Verschelde
bc1a3d791d
Merge pull request #57490 from Calinou/test-add-animation
2022-02-07 13:27:12 +01:00
Rémi Verschelde
6a56314eab
Merge pull request #57748 from fabriceci/rename-script-template-variable
2022-02-07 13:22:23 +01:00
Rémi Verschelde
6a33d8b93f
Merge pull request #57718 from Faless/js/4.x_pwa_prefer_cache_pr
2022-02-07 13:21:53 +01:00
Rémi Verschelde
88aea70a09
Merge pull request #57749 from timothyqiu/feature-class-props
2022-02-07 13:20:15 +01:00
jfons
dd970482c5
Improvements and fixes to occluders
...
Improvements:
* Occluder3D is now an abstract type inherited by: ArrayOccluder3D, QuadOccluder3D, BoxOccluder3D, SphereOccluder3D and PolygonOccluder3D. ArrayOccluder3D serves the same purpose as the old Occluder3D (triangle mesh occluder) while the rest are primitives that can be used to manually place simple occluders.
* Occluder baking can now apply simplification. The "bake_simplification_distance" property can be used to set a world-space distance as the desired maximum error, set to 0.1 by default.
* Occluders can now be generated on import. Using the "occ" and "occonly" keywords (similar to "col" and "colonly" for colliders) or by enabling on MeshInstance3Ds in the scene's import window.
Fixes:
* Fixed saving of occluder files after bake.
* Fixed a small error where occluders didn't correctly update in the rendering server.
Bonus content:
* Generalized "CollisionPolygon3DEditor" so it can also be used to edit Resources. Renamed it to "Polygon3DEditor" since it was already being used by other things, not just colliders.
* Fixed a small bug in "EditorPropertyArray" where a call to "remove" was left after the "remove_at" rename.
2022-02-07 13:04:51 +01:00
TechnicalSoup
20fb34927d
Fix icons for sub windows
...
Modify the create_sub_window method to set an icon for all sub windows, setting the icon to the same icon as the main window.
Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com>
2022-02-07 23:03:10 +11:00
Rémi Verschelde
bfb75d107c
Merge pull request #57741 from Chaosus/vs_fixes
2022-02-07 12:50:44 +01:00
Haoyu Qiu
d9d12cd352
Don't display empty Class Properties in feature profile
2022-02-07 18:55:17 +08:00
fabriceci
e81ccaf270
rename jump force to jump velocity
2022-02-07 11:46:30 +01:00
Rémi Verschelde
b024602660
Merge pull request #57725 from jmb462/missing-sname-theme-setters
2022-02-07 11:46:25 +01:00
Rémi Verschelde
6f425242dc
Merge pull request #57743 from akien-mga/resource-importer-insert-opt-in
2022-02-07 11:16:27 +01:00
Rémi Verschelde
a6abeb6b20
Merge pull request #57682 from clayjohn/VULKAN-canvas-blur
2022-02-07 10:16:50 +01:00
Rémi Verschelde
404364d4b4
Merge pull request #57684 from KoBeWi/todo_optimize
2022-02-07 09:52:11 +01:00
Rémi Verschelde
ec00283f91
ResourceImporter: Restore default append logic for new importers
...
This was changed in #56943 to allow adding new importers from plugins that
take precedence over built-in ones, but this should be opt-in, not the default
behavior.
Fixes #57730 .
2022-02-07 09:47:16 +01:00
Yuri Roubinsky
a6e280c5de
Add some more fixes to visual shader
2022-02-07 11:28:42 +03:00
Rémi Verschelde
863f2840a5
Merge pull request #57735 from YeldhamDev/popups_and_mirrors
...
Make popups from `MenuButton`, `OptionButton`, and submenus obey the layout direction
2022-02-07 08:19:58 +01:00
Rémi Verschelde
c2a540de51
Merge pull request #57732 from KoBeWi/leftplication
...
Move Replication tab to a fixed position
2022-02-07 08:14:30 +01:00
Rémi Verschelde
602cacae21
Merge pull request #57727 from kleonc/sprite_frames_editor_fix_loading_non_texture_crash
...
`SpriteFramesEditor` Fix crash when selecting non-`Texture2D` file for splitting
2022-02-07 08:00:24 +01:00
Ignacio Roldán Etcheverry
481b05fef1
Merge pull request #57738 from raulsntos/fix-57503
...
Attach mono thread before getting `nativeName` field
2022-02-07 04:58:16 +01:00
Raul Santos
303f0c8626
Attach mono thread before getting nativeName field
...
In order to access the `nativeName` constant field from a C# class, the
mono scope thread must be attached or the mono domain will be null.
2022-02-07 03:43:34 +01:00
Michael Alexsander
8bde86da10
Make popups from MenuButton
, OptionButton
, and submenus obey the layout direction
2022-02-06 23:07:08 -03:00
kobewi
ee3b7bc747
Move Replication tab to a fixed position
2022-02-07 01:06:55 +01:00
Rémi Verschelde
8aa4ed8b5b
Merge pull request #57729 from TechnoPorg/astar-fix-invalid-include
...
Remove a cross include from a_star.cpp
2022-02-07 00:35:42 +01:00
kleonc
803ac608a6
SpriteFramesEditor Fix crash when selecting non-Texture2D file for splitting
2022-02-06 23:39:04 +01:00
Rémi Verschelde
3ae38edc8e
Merge pull request #56844 from Calinou/ssr-fix-background-line-master
...
Fix visible background line in intersections in screen-space reflections
2022-02-06 23:22:15 +01:00
jmb462
a988fad9a0
Add missing SNAME macro optimization to all theme methods call
2022-02-06 23:06:11 +01:00
TechnoPorg
5108af42ad
Remove a cross include from a_star.cpp
2022-02-06 15:05:17 -07:00
Hugo Locurcio
a6e8cdae66
Add a unit test suite for Animation
2022-02-06 21:33:22 +01:00
Rémi Verschelde
61dd3136fc
Merge pull request #57701 from Calinou/contributing-prefer-attachments
...
Recommend using GitHub attachments for minimal reproduction projects
2022-02-06 21:25:42 +01:00
Rémi Verschelde
9cf6e5113b
Merge pull request #57716 from Chaosus/vs_vector_3d
...
Rename `PORT_TYPE_VECTOR` to `PORT_TYPE_VECTOR_3D` in visual shaders
2022-02-06 21:24:47 +01:00
Rémi Verschelde
784b74ef56
Merge pull request #57721 from YeldhamDev/separate_from_separators
...
Better handle icons and checkboxes with separators in `PopupMenu`
2022-02-06 21:24:06 +01:00
Michael Alexsander
989caab0ad
Better handle icons and checkboxes with separators in PopupMenu
2022-02-06 16:05:45 -03:00
Michael Alexsander
21bf23d966
Enhancements and fixes for OptionButton
and PopupMenu
2022-02-06 16:03:18 -03:00
Fabio Alessandrelli
948e66c3d6
[HTML5] Implement JavaScript PWA update callbacks.
...
Allows detecting when a new version of the progressive web app service
worker is waiting (i.e. an update is pending), along a function to force
the update and reload all clients.
2022-02-06 18:53:50 +01:00
Fabio Alessandrelli
3cc72ac03f
[HTML5] Improve editor progressive web app behavior.
...
Ensures early claim for aggressive caching.
Adds a button to update when it detects a new version asking
confirmation due to the necessary reload.
2022-02-06 18:46:42 +01:00
Fabio Alessandrelli
cc4612277b
[HTML5] PWA service worker prefers cached version.
...
Use an offline first approach, where we prefer the cached version over
the network one.
This forces games using PWA to always re-export the project and not just
the PCK, so that the service worker version gets updated correctly, and
the end-user cache is correctly cleared on update.
2022-02-06 18:46:22 +01:00