Commit Graph

46463 Commits

Author SHA1 Message Date
Rémi Verschelde
03cfdf8cc7 Merge pull request #55451 from Calinou/scene-tree-dock-fix-icon-theme-change
Fix scene tree dock icon not switching colors on theme change
2021-11-29 23:48:20 +01:00
Gilles Roudière
aa74494ab9 Merge pull request #55445 from fazil47/master
Right-clicking with copied tiles cancels it
2021-11-29 21:33:55 +01:00
ator-dev
8c2b7ea537 Prevent hidden tab close buttons from intercepting input [4.0] 2021-11-29 20:25:42 +00:00
Fazil Babu
61c2d397d6 Right-clicking with copied tiles cancels it 2021-11-30 00:23:44 +05:30
Hugo Locurcio
9c6032b46a Fix scene tree dock icon not switching colors on theme change
This fixes the "three vertical dots" button at the right of the
scene tree dock when switching from a dark theme to a light theme
or vice versa.
2021-11-29 19:42:06 +01:00
Rémi Verschelde
9d3875dde7 Merge pull request #55408 from madmiraal/fix-54517 2021-11-29 17:30:13 +01:00
Rémi Verschelde
76fb6f1927 Merge pull request #55443 from Calinou/doc-spritebase3d-modulate-material-override 2021-11-29 16:59:01 +01:00
Rémi Verschelde
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 Verschelde
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 Verschelde
2771bced6b Merge pull request #55341 from ator-dev/fix-line-deletion 2021-11-29 14:48:56 +01:00
Rémi Verschelde
cae5615a22 Merge pull request #55417 from ekumlin/issue-54856 2021-11-29 14:46:01 +01:00
Rémi Verschelde
d2ac4bb48e Merge pull request #55052 from RPicster/master-particles-visibility-rect 2021-11-29 14:30:58 +01:00
Rémi Verschelde
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 Verschelde
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 Verschelde
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 Headphone
8a6c6d5329 progress_offset now added to reference cross draw function 2021-11-28 17:59:00 +05:30
Rémi Verschelde
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 Verschelde
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 Verschelde
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 Roubinsky
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 Verschelde
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 Verschelde
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 Roubinsky
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 Verschelde
1b9fb5c969 Merge pull request #55342 from Faless/js/4.x_input_fix_focus_iframe 2021-11-26 10:42:06 +01:00