Commit Graph
51458 Commits
Author SHA1 Message Date
Rémi VerscheldeandGitHub 76fb6f1927 Merge pull request #55443 from Calinou/doc-spritebase3d-modulate-material-override 2021-11-29 16:59:01 +01:00
Rémi VerscheldeandGitHub 9c116fcf0a Merge pull request #55377 from RedHeadphone/patch-1 2021-11-29 16:24:14 +01:00
Hugo Locurcio 1b59818fb3 Remove redundant SpriteBase3D opacity property
The `opacity` property is superseded by the GeometryInstance3D
`transparency` property. It works the opposite way (0.0 is opaque,
1.0 is fully transparent), but provides the same behavior in a more
universal manner.
2021-11-29 16:13:55 +01:00
Hugo Locurcio 4868331897 Document using SpriteBase3D's modulate property with material override 2021-11-29 16:07:21 +01:00
Marcel Admiraal 272b3c3728 Enable sorting of operator methods in class documentation. 2021-11-29 14:51:44 +00:00
Rémi VerscheldeandGitHub e4a7ee0da9 Merge pull request #55437 from KoBeWi/show_tooltips_only_when_node_is_not_paused_and_when_it's_paused_don't_show_master_edition 2021-11-29 15:40:54 +01:00
Rémi VerscheldeandGitHub 2771bced6b Merge pull request #55341 from ator-dev/fix-line-deletion 2021-11-29 14:48:56 +01:00
Rémi VerscheldeandGitHub cae5615a22 Merge pull request #55417 from ekumlin/issue-54856 2021-11-29 14:46:01 +01:00
Rémi VerscheldeandGitHub d2ac4bb48e Merge pull request #55052 from RPicster/master-particles-visibility-rect 2021-11-29 14:30:58 +01:00
Rémi VerscheldeandGitHub a76be272b9 Merge pull request #55413 from Rubonnek/fix-animation-node-blend-tree-menu-master 2021-11-29 14:03:19 +01:00
kobewi dc5f6ac4cf Don't show tooltips for paused controls 2021-11-29 13:23:28 +01:00
Rémi VerscheldeandGitHub 89a4ab6c11 Merge pull request #48717 from Faless/debugger/4.x_custom_res_fix 2021-11-29 13:13:13 +01:00
SaracenOne 3eec759e87 Check for nullptr expression in parse_precedence function 2021-11-29 11:29:15 +00:00
Rémi VerscheldeandGitHub d6d20d0926 Merge pull request #55378 from Chaosus/fix_particles_builtins 2021-11-29 12:13:47 +01:00
Yuri Roubinsky 5b4d8545ed Fix INDEX built-in in a process function of particle shader 2021-11-29 12:54:24 +03:00
Yuri Roubinsky 6e80e97b0f Fix built-in(PI, TAU, E) assignment to a global constant in a shader 2021-11-29 10:32:36 +03:00
Hugo Locurcio 36106dba3b Remove unused struct fields in VoxelGIData
This reduces the struct size from 112 bytes to 96 bytes.
2021-11-28 23:09:51 +01:00
Hugo Locurcio 0beacf2ce8 Remove unused code in GI shaders 2021-11-28 22:58:54 +01:00
Raffaele Picca 37cfa56db3 Visibility rect only shown when a GPUParticle2D is selected to reduce visual clutter in scenes with a lot of Particle nodes. 2021-11-28 19:42:42 +01:00
Hugo Locurcio 565f9c0448 Use 16-bit depth to improve dynamic VoxelGI performance
In a complex scene with several dynamic emissive objects, this
saves over 1 ms of GPU time on a GTX 1080 in 2560×1440.
2021-11-28 18:51:36 +01:00
Wilson E. Alvarez 697d9e3cbf Fix 'Add Node...' menu entries in AnimationNodeBlendTreeEditor 2021-11-28 09:08:34 -05:00
Red HeadphoneandRedHeadphone 8a6c6d5329 progress_offset now added to reference cross draw function 2021-11-28 17:59:00 +05:30
Rémi VerscheldeandGitHub 69a194f051 Merge pull request #55239 from zacryol/find-world-2d-description-fix
Fix description of Viewport `find_world_2d()` method.
2021-11-28 10:37:14 +01:00
zacryol 81c1d5197e Fix description of Viewport find_world_2d() method.
The doc now states that the method searches for a World2D among ancestor Viewports as well, differentiating it from the get_world_2d() getter.

and also find_world_3d()
2021-11-27 13:49:03 -07:00
Silc 'Tokage' Renew d54919945f Fixed odd behavior when Skeleton3DEditor is re-generated 2021-11-28 04:03:15 +09:00
Hugo Locurcio 989a7d9270 Allow disabling the depth prepass in the Vulkan Clustered backend
In scenes that have little to no overdraw, disabling the depth prepass
can give a small performance boost. Nonetheless, in most other scenarios,
the depth prepass should be left enabled as it improves performance
significantly.
2021-11-27 17:54:45 +01:00
Rémi VerscheldeandGitHub 52b7d5fa34 Merge pull request #55333 from pablodp606/fix-offset-drag
Fix offset in CanvasItem drag movement
2021-11-27 09:16:16 +01:00
Nathan Franke dd30253cdc PackedByteArray, Array slice end exclusive, rename subarray to slice 2021-11-26 22:13:12 -06:00
Pablo Dobarro cfacd9c057 Fix offset in Viewport drag movement
The initial offset was using the mouse position when the threshold
was reached instead of the initial click position. This was adding
the drag threshold distance as an extra offset to the final
transformation.

Now the offset is calculated from the initial click position.
2021-11-27 01:32:02 +01:00
Rémi VerscheldeandGitHub e734a7a2d8 Merge pull request #55371 from TokageItLab/fixed-playbackdata-in-animationplayer
Fixed PlaybackData in AnimationPlayer
2021-11-27 01:14:30 +01:00
Silc 'Tokage' Renew 0569930280 Fixed PlaybackData in AnimationPlayer 2021-11-27 07:53:48 +09:00
kleonc 4038bc0c36 Fix Image.blit_rect/blend_rect() for negative p_dest point 2021-11-26 22:23:04 +01:00
Hugo Locurcio 3135c6f03e Emit node configuration warnings for GeometryInstance3D distance fade
The visibility range begin/end margin properties must be set above 0.0
for the fade transition to be visible.
2021-11-26 21:46:32 +01:00
Aaron Franke 7a096b216e Remove default_env.tres from generating in new projects 2021-11-26 14:37:27 -06:00
Yuri RoubinskyandGitHub b43281c8ab Merge pull request #55356 from Chaosus/shader_fix_particles_time 2021-11-26 19:53:18 +03:00
Yuri Roubinsky 0f1f002e74 Fix TIME using in custom functions of particle shader 2021-11-26 19:03:01 +03:00
Rémi VerscheldeandGitHub 80e292b3e0 Merge pull request #55350 from Ev1lbl0w/fix_default_value_inspector 2021-11-26 16:01:37 +01:00
Ricardo Subtil 93396b3e51 Fix wrong comparison with default values 2021-11-26 14:04:13 +00:00
Yuri Roubinsky 93bb34cfb4 Prevent crash when passing empty array to MeshEmitter 2021-11-26 16:07:09 +03:00
Rémi VerscheldeandGitHub 8f0c6ce726 Merge pull request #55347 from Faless/js/4.x_scons_emcc_abspath 2021-11-26 13:41:16 +01:00
Fabio Alessandrelli eaedc92c61 [HTML5] Use absolute path for JS lib/pre/externs.
Ensure better compatibility when emcc which may run some tools from
different paths (e.g. closure compiler).

This fixes externs include issues with modern emcc using the closure
compiler.
2021-11-26 12:44:51 +01:00
Yuri RoubinskyandGitHub ab6e370a9e Merge pull request #55344 from Chaosus/repair_error_func 2021-11-26 14:06:00 +03:00
Yuri Roubinsky a4b7de6b23 Fix console colors on Windows 2021-11-26 13:10:55 +03:00
Rémi VerscheldeandGitHub 1b9fb5c969 Merge pull request #55342 from Faless/js/4.x_input_fix_focus_iframe 2021-11-26 10:42:06 +01:00
Fabio Alessandrelli 63e2db2499 [HTML5] Fix focus (again) in Firefox's iframes.
This actually makes sense(?), when running inside an iframe the active
element might be our canvas, while the iframe itself is not active in
the parent window. Since we consume the event, the iframe does not get
focused in Firefox (but does in Chromium-based browsers), so we must
always call focus to handle such occasions.
2021-11-26 09:44:00 +01:00
ator-dev 3237950216 Make delete_lines work correctly regardless of the selection 2021-11-26 08:28:58 +00:00
Rémi VerscheldeandGitHub 4813abc6e7 Merge pull request #55311 from Chaosus/fix_uniform_array
Fix uniform array alignment to fix a bug
2021-11-26 08:25:14 +01:00
Rémi VerscheldeandGitHub 3a0a935fcc Merge pull request #54345 from floppyhammer/fix-circular-texture-progress
Fix nine patch of circular TextureProgressBar
2021-11-26 08:23:45 +01:00
Raffaele Picca 459e2a4b6f Fixed texture animation speed when using random lifetime ( Particle2D gpu + cpu) as mentioned here: https://github.com/godotengine/godot/issues/54993 2021-11-26 01:12:23 +01:00
Hugo Locurcio 4e593b3e9a Fix VoxelGIData dynamic range property being treated as integer
Floating-point values are accepted as dynamic range settings.

This also clamps the lowest value to 1.0, as there's no practical
use case for going below 1.0 (it introduces clipping without
improving precision).
2021-11-26 00:47:31 +01:00