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
Yuri Roubinsky
db18faf660
Rename PORT_TYPE_VECTOR
to PORT_TYPE_VECTOR_3D
2022-02-06 20:15:28 +03:00
Rémi Verschelde
95719930a8
Merge pull request #57672 from fire-forge/fix-image-drop-nodes
2022-02-06 18:11:12 +01:00
Fabio Alessandrelli
6583797305
[Debugger] Move servers-related behaviours to ServersDebugger.
...
Forcing draw during debug break is now handled by ServersDebugger, and
only happens when the proper message is sent from the EditorDebugger
("servers:draw").
In a similar way, briging the window in foreground is now also handled
by ServersDebugger upon receiving "servers:foreground" which is sent by
the EditorDebugger when resuming from a break ("continue").
2022-02-06 17:36:48 +01:00
Fabio Alessandrelli
87f4bbd668
[Debugger] Move most profilers to ServersDebugger.
...
Also splits bandwidth/rpc profiler (RPCProfiler is now in
SceneDebugger).
2022-02-06 17:36:48 +01:00
Fabio Alessandrelli
789e648f4d
[Debugger] New extensible EngineProfiler class.
...
Uses GDExtension, replaces old Callable system for profilers, and is
also used internally.
2022-02-06 17:33:45 +01:00
Rémi Verschelde
79a4d782a5
Merge pull request #57709 from jmb462/missing-sname-optimization
2022-02-06 17:03:11 +01:00
Rémi Verschelde
e38df41de8
Merge pull request #57607 from reduz/fix-variant-vec-integer-float-mul-div
2022-02-06 16:40:59 +01:00
Rémi Verschelde
762a31169d
Merge pull request #57633 from jordigcs/x11-snap-refresh-rate
2022-02-06 16:40:48 +01:00
Rémi Verschelde
fb6cf1e3b7
Merge pull request #57689 from NeilKleistGao/master
2022-02-06 16:39:42 +01:00
jmb462
1ce81dc5f2
Add missing SNAME macro optimization in some function calls
2022-02-06 15:54:04 +01:00
Hugo Locurcio
7721e19ccc
Tweak default SDFGI settings for better quality
...
- Enable Read Sky Light to get proper outdoors lighting out of the box.
- Set bounce feedback to 0.5 by default to get a better quality result.
- Higher values may cause infinite feedback with bright surfaces.
- Increase the number of frames to converge to improve quality
at the cost of latency. Most scenes are fairly static after all.
- Use 75% Y scale by default as most scenes are not highly vertical.
- Reorder the Y scale enum to go from the lowest Y scale to the highest.
Also rename the "Disabled" setting to "100%" for clarity.
2022-02-06 15:28:59 +01:00
Hugo Locurcio
b9cfc74f29
Decrease the default number of SDFGI cascades to 4
...
This improves rendering performance noticeably, especially when the
camera moves fast.
On a medium-sized test scene on a GTX 1080 in 2560×1440, going
from 6 to cascades saves 0.5 ms of frame time while looking visually
identical (as most of the scene fits within the 4 cascades).
2022-02-06 15:01:25 +01:00
reduz
8c7268664d
Fix integer vector mul/div operators and bindings.
...
* Vector2i and Vector3i mul/div by a float results in Vector2 and Vector3 respectively.
* Create specializations to allow proper bindings.
This fixes #44408 and supersedes #44441 and keeps the same rule of int <op> float returnig float, like with scalars.
2022-02-06 13:34:41 +01:00
jordi
635da44ef8
Snap refresh rate to hundreths place on X11
2022-02-06 13:24:57 +01:00
Hugo Locurcio
01c1667836
Recommend using GitHub attachments for minimal reproduction projects
...
Third-party file hosts can have their files expire or be removed
by the owner. In comparison, GitHub attachments are more resilient.
This also fixes the link to create a bug report.
2022-02-06 12:33:40 +01:00
NeilKleistGao
729c1f056b
Edit font properties on multiple objects at once
2022-02-06 18:32:55 +08:00
Rémi Verschelde
fd0d2dcabf
Merge pull request #57694 from Chaosus/shader_fix-for_loop
...
Fix unknown identifier error in for loop
2022-02-06 11:18:20 +01:00
Yuri Roubinsky
a2484c3293
Fix unknown identifier error in for loop
2022-02-06 08:38:33 +03:00
FireForge
871b9fc352
Fix node types in image drag-and-drop and add node icons
2022-02-05 21:01:29 -06:00
kobewi
ab5b5e1577
Rework CanvasItem visibility propagation
2022-02-06 00:26:28 +01:00
clayjohn
60d8df3fee
Optimize and fix backbuffer gaussian blur
2022-02-05 15:03:39 -08:00
Rémi Verschelde
9d1626b4d7
Merge pull request #57017 from godotengine/string-name-static-false-unclaimed
2022-02-05 20:26:34 +01:00
Rémi Verschelde
bd32dd4a48
Merge pull request #56943 from V-Sekai/override-import
...
Make add_importer and add_post_importer_plugin override existing importers.
2022-02-05 19:50:37 +01:00
Rémi Verschelde
5f42e0d0ab
Merge pull request #57646 from Faless/mp/4.x_interfaces
...
[Net] Move RPC, Node cache out of MultiplayerAPI.
2022-02-05 18:26:04 +01:00
Rémi Verschelde
eb4b4a317b
Merge pull request #57649 from Faless/net/4.x_ws_queue_hostres
...
[Net] Non-blocking WebSocket hostname resolution.
2022-02-05 18:23:11 +01:00
skyace65
bcc4d26c48
Add more information on triangulate polygon
2022-02-05 10:49:25 -05:00
Rémi Verschelde
feb34dfb2e
Merge pull request #57385 from madmiraal/update-mouse-pointer-definitions
...
Update definitions of get_mouse_position methods
2022-02-05 16:09:52 +01:00
Rémi Verschelde
eac1883791
Merge pull request #57657 from lawnjelly/err_macros_flush
...
Add fflush to error macros
2022-02-05 16:08:41 +01:00
Rémi Verschelde
aecff478b7
Merge pull request #48006 from KoBeWi/incognito_layer
...
Add visibility to CanvasLayer
2022-02-05 16:05:53 +01:00
Rémi Verschelde
69d7d1ec52
Merge pull request #57655 from reduz/remove-get-rid-by-index
...
Remove RID_Owner.get_rid_by_index
2022-02-05 14:38:56 +01:00
Rémi Verschelde
dd9426d14b
Merge pull request #56503 from gerhean/Add-shortcut_cell-double-click-functionality
...
Add shortcut_cell double click functionality
2022-02-05 14:36:33 +01:00
kobewi
189dab2d76
Add visibility to CanvasLayer
2022-02-05 14:02:21 +01:00
lawnjelly
9963c4f0d3
Add fflush to error macros
...
CRASH_NOW macros would previously crash before outputting any error messages. This PR ensures calling fflush for stdout before terminating.
2022-02-05 12:31:54 +00:00
Ger Hean
8acc8838c4
Add shortcut_cell double click functionality
2022-02-05 19:06:54 +08:00
reduz
74adf0bf2e
Remove RID_Owner.get_rid_by_index
...
* Implementing this function efficiently is not really possible.
* Replaced by an option to get all RIDs into a buffer for performance.
2022-02-05 11:59:34 +01:00
Stijn Hinlopen
31824420e4
Center when scrolling to tree item.
2022-02-05 10:59:33 +01:00
Rémi Verschelde
df1724470d
Merge pull request #49775 from fire/faster-cvtt
...
Faster CVTT by lowering default quality
2022-02-05 10:28:07 +01:00
Rémi Verschelde
2e44778cd2
Merge pull request #57635 from jmb462/fix-template-optionbutton
...
Fix OptionButton in create script dialog doesn't select the correct template
2022-02-05 10:18:21 +01:00
Rémi Verschelde
eb371dee01
Merge pull request #57651 from theoniko/theoniko-effects_rc.cpp
...
Fix copy paste bug in renderer_rd/effects_rd.cpp
2022-02-05 10:15:38 +01:00
Rémi Verschelde
2511d63215
Merge pull request #57614 from Chaosus/shader_for_fixes
...
Few more fixes to for loop in shaders
2022-02-05 10:15:16 +01:00
Rémi Verschelde
a0c87d4c11
Merge pull request #57620 from Haydoggo/expression-exp-fix
...
Fix Expression's parsing of positive exponent literals
2022-02-05 10:14:10 +01:00