Commit graph

31900 commits

Author SHA1 Message Date
Rémi Verschelde
eb5c2e1067
Merge pull request #55439 from KoBeWi/random_programming_ftw 2021-11-29 14:55:45 +01:00
kobewi
820f7c9d15 Fix right alignment in RichTextLabel 2021-11-29 14:33:12 +01:00
Rémi Verschelde
0bf78feb46
Merge pull request #55416 from pycbouh/textedit-position-from-linecol-3.x 2021-11-29 14:28:35 +01:00
Rémi Verschelde
2f0bf70172
Merge pull request #55412 from Rubonnek/fix-animation-node-blend-tree-menu-3x 2021-11-29 14:03:24 +01:00
Rémi Verschelde
c9208704de
Merge pull request #54614 from aaronfranke/3.x-math-api 2021-11-29 12:57:25 +01:00
Rémi Verschelde
99fd8ac3c9
Merge pull request #54615 from aaronfranke/3.x-cs-operator-docs 2021-11-29 09:52:51 +01:00
Yuri Sizov
ba747e2a26 Add methods to get position from column and line in TextEdit 2021-11-29 00:06:16 +03:00
Wilson E. Alvarez
1a2153eb0a
Fix 'Add Node...' menu entries in AnimationNodeBlendTreeEditor 2021-11-28 09:08:02 -05:00
Aaron Franke
1d8cef8236
[3.x] Backport some APIs in math structs 2021-11-27 01:19:45 -06:00
Aaron Franke
5ec0a8df5e
[3.x] Add documentation to operators for math types 2021-11-27 01:15:43 -06:00
Fabio Alessandrelli
eb19618fd1
Merge pull request #55354 from Faless/js/3.x_no_asm_old_emcc
[HTML5] Use compatibility function for glGetBufferSubData.
2021-11-27 03:58:47 +01:00
Fabio Alessandrelli
bbfe054175 [HTML5] Use compatibility function for glGetBufferSubData.
The "webgl/webgl2.h" include provides that function, but it's not
available in emscripten versions < 2.0.17 .

Since we need to support emscripten 1.39.9 (mono builds), this commit
adds a JS function in library_godot_display.js as a compatibility layer
for it, and implement glGetBufferSubData by funneling the call to that
function (so we don't have name collisions JS-side with recent emcc).

All those hacks are now moved to the platform directory instead of being
ifdefs inside the drivers implementations.
2021-11-26 15:58:04 +01:00
Fabio Alessandrelli
f11bed249b
[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.

(cherry picked from commit 63e2db2499)
2021-11-26 10:42:56 +01:00
Rémi Verschelde
81d1d5a30f
Merge pull request #55324 from akien-mga/3.x-cherrypicks 2021-11-25 23:49:09 +01:00
kobewi
420c351592
Ignore override.cfg when in editor
(cherry picked from commit 7dc97d6558)
2021-11-25 22:48:20 +01:00
kobewi
de365200bb
Clarify get_indexed in relation to Nodes
(cherry picked from commit 4ea6709558)
2021-11-25 22:48:20 +01:00
Hugo Locurcio
c3f4d3afbe
Print a warning with unknown SCons variables to ease troubleshooting
When disabling specific modules, misspellings can occur. Additionally,
when switching between the `3.x` and `master` branches frequently,
it's possible to forget about renamed modules such as `lightmapper_cpu`
versus `lightmapper_rd`.

(cherry picked from commit 69b2d3f791)
2021-11-25 22:24:49 +01:00
Gergely Kis
0ba1d8d8bd
Fix debug build for iphone
printf() does not have a version that accepts std::string
as format string parameter.

(cherry picked from commit a1a3e79ea5)
2021-11-25 22:24:31 +01:00
Hugo Locurcio
f6725f8089
Document the engine's use of internal groups in Node
(cherry picked from commit f8d9e4afdb)
2021-11-25 22:24:12 +01:00
kobewi
5caab0a8ef
Correct the doc about ease()
(cherry picked from commit 44e6655924)
2021-11-25 22:23:53 +01:00
kobewi
a7d950ab8e
Mention that replace_by doesn't free the node
(cherry picked from commit 58a3ea5453)
2021-11-25 22:20:27 +01:00
bruvzg
2ef2879d7b
Add Input.is_physical_key_pressed method.
(cherry picked from commit 9877d91c4a)
2021-11-25 22:19:33 +01:00
Haoyu Qiu
420ec1f84a
Fix Theme Editor crash when clicking the element picker
(cherry picked from commit abd41dedb0)
2021-11-25 22:06:15 +01:00
Haoyu Qiu
9442114013
Fix crash when executing PackedDataContainer._iter_init
(cherry picked from commit 8253a45a1a)
2021-11-25 22:05:48 +01:00
kobewi
b8af671a95
Improved some editor checkboxes
(cherry picked from commit 5dc7346ab4)
2021-11-25 22:03:59 +01:00
Rémi Verschelde
888f8cea9f
Merge pull request #52457 from kleonc/image-fill-rect-3x 2021-11-24 16:34:15 +01:00
Rémi Verschelde
00342b7d36
Merge pull request #55235 from Giwayume/bugfix/atlas_cutoff_edge_3.x
[3.x] Atlas import 1px missing from right side of non-cropped image.
2021-11-24 08:03:05 +01:00
Rémi Verschelde
5194c612a3
Merge pull request #47568 from Calinou/add-boot-splash-image-setting-3.x 2021-11-23 19:26:33 +01:00
Hugo Locurcio
e5593212e2
Add a project setting to disable the boot splash image
This allows disabling the boot splash image while keeping the
background color.
2021-11-23 19:06:54 +01:00
kleonc
16baa9bb9a Image Use memcpy() in fill(), fill_rect(), _put_pixelb(), _get_pixelb()
Co-authored-by: Lightning_A <aaronjrecord@gmail.com>
2021-11-23 17:59:08 +01:00
kleonc
4f446c8b9e Add Image::fill_rect method 2021-11-23 17:59:08 +01:00
Giwayume
88c1411051 Fix edge case where 1px cut off from right of image
Backward loop should remain -1
2021-11-23 11:03:00 -05:00
Rémi Verschelde
902911e3af
Merge pull request #55261 from kleonc/tile_set_editor_plugin-fix-next_prev-subtile-selection 2021-11-23 16:39:57 +01:00
kleonc
97e9165de4 TileSetEditor Fix selecting next/previous subtile 2021-11-23 14:49:37 +01:00
Rémi Verschelde
c0403b2ebe
Merge pull request #55250 from Chaosus/shader_fix_return_3.x 2021-11-23 10:59:30 +01:00
Rémi Verschelde
2bfa14db73
Merge pull request #55246 from jitspoe/3.x.gltf_export_missing_skin_crash_fix 2021-11-23 10:56:49 +01:00
Yuri Roubinsky
5928cc90f8 [3.x] Prevent return statement from using in block in shader main func 2021-11-23 10:40:47 +03:00
jitspoe
734b4a46bc Fix crash when exporting gltf mesh that has no skin.
(cherry picked from commit 209ac9569c4c5180aea4b330ed7f6d2a572d5e82)
2021-11-22 22:46:53 -05:00
Camille Mohr-Daurat
3970f28f67
Merge pull request #55096 from lawnjelly/bvh_expanded_leaf
BVH - add option for expanded AABBs in leaves
2021-11-22 09:37:16 -07:00
Rémi Verschelde
c3606a87fe
Merge pull request #55224 from KoBeWi/ΔV_even_when_paused 2021-11-22 14:09:56 +01:00
Rémi Verschelde
dc5cee74bd
Merge pull request #55197 from timothyqiu/bookmark-gutter 2021-11-22 13:00:42 +01:00
kobewi
5b55599211 Show tooltips even when paused or time_scale is 0 2021-11-22 12:54:05 +01:00
Rémi Verschelde
451bba967a
Merge pull request #55158 from m4gr3d/add_oculus_openxr_config_3x 2021-11-22 10:29:49 +01:00
Rémi Verschelde
4a4def06b2
Merge pull request #42712 from madmiraal/fix-19290-3.2 2021-11-22 08:37:53 +01:00
Rémi Verschelde
86fd7da7a3
Merge pull request #54899 from clayjohn/MultiMesh-update 2021-11-22 08:30:49 +01:00
Fredia Huya-Kouadio
6920aa11b7
Merge pull request #55210 from madmiraal/fix-android-orientation-3.x
[3.x] Fix Android `get_screen_orientation()` not returning valid values
2021-11-21 17:46:00 -08:00
clayjohn
b54d4a93be Update CanvasItem when MultiMesh instance transform changes 2021-11-21 12:27:22 -08:00
Haoyu Qiu
eb6f74855f Allow toggle TextEdit bookmark gutter 2021-11-21 21:34:30 +08:00
Marcel Admiraal
05744ee0e2 Fix Android get_screen_orientation() not returning valid values 2021-11-21 12:14:29 +00:00
Marcel Admiraal
216fb38da1 Add shape data to area overlap data. 2021-11-21 07:18:49 +00:00