Holger Dammertz
efe6b50f17
Added option to enable high precision float in GLES2
...
An additional project setting under rendering/gles2/compatibility with the name
enable_high_float.Android is introduced that enables #define USE_HIGHP_PRECISION
in GLES2 shader on Android when it is supported by the shader compiler.
This fixes #33633 and #32813 and also https://github.com/GodotVR/godot_oculus_mobile/issues/60
and https://github.com/GodotVR/godot_oculus_mobile/issues/68 on devices that
support the highp (high precision) modifier.
2020-07-30 05:40:15 +02:00
Fabio Alessandrelli
e36c100365
Fix crash in ENet changing refuse_new_connections
...
When the host is not started.
(cherry picked from commit e5f3159a23
)
2020-07-29 18:24:12 +02:00
Hugo Locurcio
4a0568b609
Document how to perform advanced string splitting using RegEx
...
This closes https://github.com/godotengine/godot-docs/issues/3607 .
(cherry picked from commit 5f2b6bd476
)
2020-07-29 18:24:00 +02:00
Hugo Locurcio
bd76fcd43b
Add an example to the CanvasItem.draw_string()
documentation
...
This closes https://github.com/godotengine/godot-docs/issues/3374 .
(cherry picked from commit 0c7735be5b
)
2020-07-29 18:23:45 +02:00
Hugo Locurcio
b3effe5faa
Fix incorrect key name in the Animation documentation code sample
...
This closes https://github.com/godotengine/godot-docs/issues/3841 .
(cherry picked from commit 4257aa5c5c
)
2020-07-29 18:23:31 +02:00
Wilson E. Alvarez
4f9ca00294
Check if global class file still exists before registering it
...
(cherry picked from commit e264ae20d2
)
2020-07-29 18:23:03 +02:00
Rémi Verschelde
36b746d903
Merge pull request #40822 from Calinou/doc-canvasitem-draw_multiline_colors-antialiased
...
Document `CanvasItem.draw_multiline_colors()` not supporting width and AA
2020-07-29 12:45:17 +02:00
Hugo Locurcio
39ec3ad2e5
Document CanvasItem.draw_multiline_colors()
not supporting width and AA
2020-07-29 11:45:49 +02:00
PouleyKetchoupp
ff0ada164b
[3.2] Move PopupWindow logic to GodotEditText on Android
2020-07-28 21:03:55 +02:00
Rémi Verschelde
fe4aa393f0
Merge pull request #40803 from aaronfranke/3.2_revert-dir
...
[3.2] Revert "Fix Directory" PRs
2020-07-28 20:48:34 +02:00
Nathan Franke
b9e1db7e03
Revert "Fix Directory Open Check"
...
This reverts commit 3f898f5207
.
2020-07-28 13:54:13 -04:00
Nathan Franke
9de0439a45
Revert "Follow-Up Fix Directory Open"
...
This reverts commit ec787f0134
.
2020-07-28 13:53:57 -04:00
Nathan Franke
4c100a593f
Revert "Fix Directory make_dir and make_dir_recursive"
...
This reverts commit 9b36357544
.
2020-07-28 13:53:30 -04:00
Rémi Verschelde
ac2e7d87d1
Merge pull request #40786 from akien-mga/3.2-cherrypicks
...
Cherry-picks for the 3.2 branch (future 3.2.3) - 5th batch
2020-07-28 13:06:31 +02:00
Rémi Verschelde
ed20772c09
i18n: Sync translations with Weblate
2020-07-28 12:07:45 +02:00
Rémi Verschelde
e82e9588fd
doc: Sync classref with current source
2020-07-28 11:50:39 +02:00
Rémi Verschelde
10544f1cf7
Revert "Move Bullet physics query flush from Bullet space pre-tick callback to"
...
This reverts commit e7d8464f87
.
Fixes #40508 regression.
This will be re-applied and the regression fixed for a future 3.2.x release.
2020-07-28 11:42:04 +02:00
ConorLPBoyle
ba3f0fa971
Fixed reload_goal not being called when SkeletonIK3D::start is invoked with p_one_time = true
...
(cherry picked from commit fa4d9c9446
)
2020-07-28 11:28:34 +02:00
Aaron Franke
40d118ce4a
Fix incorrect comments in file formatting script
...
(cherry picked from commit 05a418f9e6
)
2020-07-28 11:27:27 +02:00
Nhiqill
8d5dab5a05
Pop from front to avoid infinite loop with nested classes
...
(cherry picked from commit 42d1b4f389
)
2020-07-28 00:57:27 +02:00
Yuri Sizov
44ff9cdea5
Fix errors saving a 2D scene preview when the 2D editor was never opened
...
(cherry picked from commit e2b85b74a2
)
2020-07-28 00:56:20 +02:00
Fabio Alessandrelli
31c21b9750
Implement HTML5 cancel/ok button swap on Windows.
...
Platform is detected on init via the `navigator.platform` string.
(cherry picked from commit 0b286a287c
)
2020-07-28 00:55:46 +02:00
Hugo Locurcio
451648c34d
Improve visibility documentation for CanvasItem and Node3D
...
This closes https://github.com/godotengine/godot-docs/issues/3840 .
(cherry picked from commit 27b09dfc44
)
2020-07-28 00:53:16 +02:00
Marcel Admiraal
cdb3712992
Clarify the difference between contacts and collisions.
...
(cherry picked from commit 6f1c99e5b4
)
2020-07-28 00:52:07 +02:00
Hugo Locurcio
b717a61903
Improve the Object, Reference and Resource class documentations
...
(cherry picked from commit 4275e6aad5
)
2020-07-28 00:48:33 +02:00
Rémi Verschelde
518f109927
Script editor: Don't open dominant script in external editor
...
Fixes #13429 .
(cherry picked from commits b5f110c77e
,
6b3f013a82
, and
e016859c3b
)
2020-07-28 00:47:24 +02:00
bruvzg
a2f034d3ab
[macOS] Refocus last key window after DisplayServer::alert
is closed.
...
(cherry picked from commit a05776e20d
)
2020-07-28 00:45:06 +02:00
Tomasz Chabora
cd01cda143
Fix ultra long node names
...
(cherry picked from commit d3f2062d86
)
2020-07-28 00:43:37 +02:00
Marcel Admiraal
5692bb4c81
Ensure Bullet HeightMapShape3D data width and depth are at least 2.
...
(cherry picked from commit 236857c92a
)
2020-07-28 00:42:32 +02:00
Rémi Verschelde
4b9bb50176
Style: Fix code format scripts compat with non-GNU Unices
...
It's too hard to get compatibility between GNU and BSD sed,
so let's just use perl oneliners.
And improve it to also remove trailing tabs, not just spaces.
(cherry picked from commit c71e189efd
)
2020-07-28 00:41:52 +02:00
Andrii Doroshenko (Xrayez)
6abaf4d0eb
Skip internal scripts for breakpoints without printing an error
...
This removes:
```
ERROR: get_breakpoints: Condition ' base.begins_with("local://")
```
while running a project with blank scripts caused by deleting
or moving, or built-in scripts which are not yet saved within a scene
on running a project.
(cherry picked from commit 1c70a33d9c
)
2020-07-28 00:40:20 +02:00
Wilson E. Alvarez
993a421333
Show errors on Object.call_deferred
...
(cherry picked from commit 1cd02ef600
)
2020-07-28 00:40:07 +02:00
Hugo Locurcio
508388a9fd
Document an example dictionary returned by TileSet.tile_get_shapes()
...
(cherry picked from commit 60bb80505f
)
2020-07-28 00:39:49 +02:00
Daniel Ting
6f71bc2a06
Evenly distribute stretched Nodes in BoxContainer
...
Add any leftover fractional pixels to an error accumulator. When the
accumulator is greater or equal to one, add one pixel to the current
Node's size and subtract one from the accumulator.
Closes #36522
(cherry picked from commit 04ea6ec88d
)
2020-07-28 00:39:21 +02:00
Rémi Verschelde
400a780050
Revert "Allow Area2D and 3D mouse events without a collision layer"
...
This reverts commit 15850687a8
.
2020-07-27 22:46:04 +02:00
Rémi Verschelde
37bac7d75d
Merge pull request #40672 from nekomatata/virtual-keyboard-height-fix-3.2
...
[3.2] Virtual keyboard size adjustment fixes
2020-07-27 08:57:52 +02:00
Rémi Verschelde
a2edf04fd2
Merge pull request #40469 from nekomatata/virtual-keyboard-enter-fixes-3.2
...
[3.2] Fix Return key events in LineEdit & TextEdit on Android
2020-07-26 20:26:02 +02:00
Rémi Verschelde
77bb081123
Merge pull request #40727 from akien-mga/3.2-ci-ios-github-actions
...
CI: Replace Travis iOS build by GitHub Actions
2020-07-26 16:48:51 +02:00
Rémi Verschelde
8fdb21f454
CI: Replace Travis iOS build by GitHub Actions
...
Last step of the migration from Travis/AppVeyor to GitHub Actions.
`werror=yes` should be enabled once outstanding warnings have been fixed.
2020-07-26 16:31:19 +02:00
Rémi Verschelde
db6d7499c0
Merge pull request #40723 from naithar/fix/ios-touch-events-master-3.2
...
[3.2] Fix for iOS touch recognition
2020-07-26 15:42:59 +02:00
Sergey Minakov
16f9ff5866
iOS: added delay gesture recognizer
...
This gesture recognizer will prevent GLView from processing unwanted gestures.
Emulates UIScrollView behavior
Fires delayed touches on significant movement
2020-07-26 15:49:09 +03:00
Rémi Verschelde
b3d46d4809
Merge pull request #40675 from Calinou/doc-texturerect-viewporttexture
...
Document ViewportTexture flipping in TextureRect
2020-07-24 23:32:46 +02:00
Hugo Locurcio
5589529cf3
Document ViewportTexture flipping in TextureRect
2020-07-24 22:30:58 +02:00
PouleyKetchoupp
69db38742f
Virtual keyboard size adjustment fixes
...
1. Disable virtual keyboard focus adjustment on Android
The default adjustment setting was causing the view to pan down in order
to adjust the focus on the text content.
We don't need any focus adjustment since we're using a fixed size window
for our application.
Documentation:
https://developer.android.com/reference/android/view/WindowManager.LayoutParams#SOFT_INPUT_ADJUST_NOTHING
2. Fix virtual keyboard height regression
Disabling virtual keyboard focus adjustement caused get_keyboard_height
to always return 0 because it was calculated when the view is resized.
In order to fix it, a PopupWindow is now created on top of the main view
and is set for focus adjustments so the keyboard size can be calculated
based on this popup without affecting the main view.
2020-07-24 18:26:20 +02:00
Rémi Verschelde
a24e30abd7
Bump version to 3.2.3-rc
2020-07-24 14:10:13 +02:00
Rémi Verschelde
8b8364cc9e
Merge pull request #40653 from akien-mga/3.2-cherrypicks
...
Cherry-picks for the 3.2 branch (future 3.2.3) - 4th batch
2020-07-24 11:13:42 +02:00
Rémi Verschelde
b40f3f9740
Style: Sync other changes from new fix_style.sh and clang_format.sh
2020-07-24 10:39:18 +02:00
Rémi Verschelde
eda03831d6
Style: Add missing newlines to SVGs
2020-07-24 10:39:18 +02:00
Rémi Verschelde
4567eee79e
CI: Backport GitHub Actions setup from master
...
Removes AppVeyor and all Travis jobs but the iOS one, which hasn't been ported
to GitHub Actions yet (should be done soon).
Backports new style scripts from `master` branch too to do the same checks.
2020-07-24 10:39:17 +02:00
Tomasz Chabora
307bac0757
Keep transition value when replacing key
...
(cherry picked from commit e1a1bb0a6e
)
2020-07-24 10:31:57 +02:00