Commit graph

39500 commits

Author SHA1 Message Date
Gilles Roudière
4fc0fb826a Change gdnative interface so that Godot object initialization should be triggered from the extension side 2021-11-30 16:55:48 +01:00
Rémi Verschelde
2d118bd8b8
Merge pull request #55466 from Faless/js/4.x_input_fix_touch 2021-11-30 12:20:00 +01:00
Fabio Alessandrelli
470496d8d4 [HTML5] Fix multi-touch input handling.
The code to populate the input data for WebAssembly was incorrectly
overriding values when multiple touches were present due to wrong
indexing.
2021-11-30 11:10:21 +01:00
Rémi Verschelde
75d1ae4dac
Merge pull request #55427 from zacryol/tab-container-clarify 2021-11-30 10:56:13 +01:00
Rémi Verschelde
2f7988cd2f
Merge pull request #55177 from Calinou/add-4.0-dev-changelog 2021-11-30 10:01:42 +01:00
zacryol
5c645d510f Clarify usage of TabContainer
Makes it more clear that TabBar is separate from TabContainer, and that the container draws the tabs itself.
2021-11-29 18:01:09 -07:00
Rémi Verschelde
cf67f18ce9
Merge pull request #55454 from ator-dev/block-hidden-tab-close-4.0
Prevent hidden tab close buttons from intercepting input [4.0]
2021-11-30 00:15:33 +01:00
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
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
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
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
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
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
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
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
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
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 Verschelde
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 Verschelde
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
Rémi Verschelde
2681d93b8a
Merge pull request #55316 from Chaosus/win32_restore_console_window 2021-11-26 00:14:33 +01:00
Rémi Verschelde
a5f878d884
Merge pull request #55325 from Calinou/fsr-use-warn-print 2021-11-26 00:14:23 +01:00