Maganty Rushyendra
69dc9c9417
Fix tile placement preview for rotated, skewed or scaled TileMaps
...
Ensures that the editor preview when placing a tile on a TileMap takes
into account the transformation of the TileMap. Previously, only the
origin of the Tile was transformed, but not its orientation or
scaling.
(cherry picked from commit cf04aabef1
)
2020-08-14 00:32:05 +02:00
Antoine Félix
3211a51be8
Modify the scene only when color changed
...
Editor now changes a color in the inspector only when it is different
from the current one.
Solves fake unsaved changes in editor after using the ColorPicker.
Resolves : #40879
(cherry picked from commit f3626364fc
)
2020-08-14 00:32:05 +02:00
Tomasz Chabora
cea16907bb
Properly disambiguate unsaved scripts
...
(cherry picked from commit 3082def404
)
2020-08-14 00:32:05 +02:00
Andreas Haas
abdcb7d299
DirectInput: use correct joypad id
...
Previously `joypad_count` was used as the index into the d_joypads array when initializing a new gamepad.
This caused the accidental override of an already connected device when a gamepad with a lower id was disconnected and connected again.
fixes #17566
(cherry picked from commit 802a0316c5
)
2020-08-14 00:32:05 +02:00
Christopher Davis
f19bab5165
platform: Update metadata for export platforms
...
Updates the logos of for macOS, Android, and iOS.
Addresses https://github.com/godotengine/godot-proposals/issues/1161
(cherry picked from commit 41d8c0c818
)
2020-08-14 00:32:05 +02:00
Tomasz Chabora
5433b8470c
Improve Vector2.angle() description
...
(cherry picked from commit a09078e64b
)
2020-08-14 00:32:05 +02:00
Hugo Locurcio
0429779835
Improve the project README
...
- Use the SVG version of the logo.
- Mention console support in the first paragraph.
- Point contributors to the `#godotengine-devel` IRC channel.
- Improve formatting for better readability.
- Add more links when needed.
- Fix warnings reported by markdownlint.
(cherry picked from commit b0713e9e6c
)
2020-08-14 00:32:04 +02:00
Hugo Locurcio
c2d7d81ac8
Fix inconsistent indentation in the FreeDesktop MIME type XML
...
(cherry picked from commit 4dc6efc08e
)
2020-08-14 00:32:04 +02:00
bruvzg
b0aabf2c03
[macOS] Fix crash on failed fork
.
...
(cherry picked from commit d6e3a8a137
)
2020-08-14 00:32:04 +02:00
Rémi Verschelde
5972495d99
Revert "Virtual keyboard size adjustment fixes"
...
Also reverts "[3.2] Move PopupWindow logic to GodotEditText on Android".
This reverts commits 69db38742f
and.
ff0ada164b
.
2020-08-14 00:32:04 +02:00
Fabio Alessandrelli
a97b84378c
Remap script path when registering class.
...
Was causing `class_name`-defined scripts to not being loaded in exported
games due to the remap from `*.gd` to `*.gdc`/`*.gde`.
(cherry picked from commit fceb64827e
)
2020-08-14 00:32:04 +02:00
Rémi Verschelde
f732cea0ff
Merge pull request #41231 from lawnjelly/force_inlines_are_evil
...
Removes some superfluous FORCE_INLINES
2020-08-13 23:07:34 +02:00
lawnjelly
e126b941be
Removes some superfluous FORCE_INLINES
...
Compiler is usually in the best position to decide whether to inline functions. Great care must be taken using FORCE_INLINE because it can have unforeseen consequences with recursion, loops and bloat to the executable.
Here some FORCE_INLINES are removed in order to allow the compiler to make best choice and remove a compilation warning where unable to inline during a recursive function.
Fixes #41226
2020-08-13 17:58:47 +01:00
Rémi Verschelde
abf019d810
Merge pull request #41187 from bruvzg/fix_repeat_null_termination
...
Add missing NULL termination to the String::repeat function.
2020-08-11 16:37:01 +02:00
bruvzg
8dab067c01
Add missing NULL termination to the String::repeat function.
2020-08-11 17:23:44 +03:00
Rémi Verschelde
900949b316
i18n: Sync translations with Weblate
2020-08-11 16:07:11 +02:00
Rémi Verschelde
6477481e68
Merge pull request #41131 from totlmstr/3.2-missing-svg
...
[3.2] Add missing #ifdef SVG_ENABLED
2020-08-11 11:52:05 +02:00
Rémi Verschelde
702a16ffc4
Merge pull request #41146 from capnm/capnm-32x-pr41139
...
[3.2] Add option to disable virtual keyboard for TextEdit
2020-08-11 11:48:54 +02:00
Rémi Verschelde
efbeafd08c
Merge pull request #41041 from qarmin/leak_bullet_shape
...
[3.2] Fixes leak when creating bullet shape
2020-08-10 19:47:08 +02:00
Rémi Verschelde
bbb4999292
Merge pull request #41126 from Razoric480/fix-enum-line-number
...
Fix line num of enums reported as the line before
2020-08-10 19:25:01 +02:00
Martin Capitanio
71bad8dba6
Add option to disable virtual keyboard for TextEdit
...
Adding support for disabling virtual keyboard on mobile platforms, in
order to make it consistent with LineEdit.
It allows implementing a custom virtual keyboard.
See: https://github.com/godotengine/godot/pull/41139
2020-08-09 18:22:11 +02:00
totlmstr
f550af9da7
Add missing #ifdef SVG_ENABLED
2020-08-08 14:03:14 -07:00
Francois Belair
e3f16a83dc
Fix line num of enums reported as the line before
2020-08-08 11:52:25 -04:00
Rafał Mikrut
808615ec3e
Fixes leak when creating bullet shape
2020-08-05 10:08:05 +02:00
Rémi Verschelde
23b553ba06
Merge pull request #40914 from akien-mga/3.2-ci-emscripten-1.39.20
...
CI: Pin Emscripten version to 1.39.20 to fix regression
2020-07-31 14:29:22 +02:00
Rémi Verschelde
1244986f98
CI: Pin Emscripten version to 1.39.20 temporarily
...
1.40.0 introduced a regression for us:
https://github.com/emscripten-core/emscripten/issues/11771
This is not necessary in the master branch, presumably because
it doesn't build any WebGL code (yet).
2020-07-31 14:09:33 +02:00
Hugo Locurcio
fc7451204e
Improve JSON-related documentation
...
This closes https://github.com/godotengine/godot-docs/issues/3848 .
(cherry picked from commit 930e10ffff
)
2020-07-31 13:09:21 +02:00
codetorex
3869b82bc1
Added missing information about File.open_encrypted function to docs.
...
(cherry picked from commit 3f6a7c74e3
)
2020-07-31 13:08:59 +02:00
TheDuriel
7e9b7b0462
Clarify TreeItem return values
...
(cherry picked from commit 0ff1ca4655
)
2020-07-31 13:08:40 +02:00
Hugo Locurcio
7c728f0ee4
Add an example for creating a button in the Button class documentation
...
This closes https://github.com/godotengine/godot-docs/issues/3798 .
(cherry picked from commit 8836c7203b
)
2020-07-31 13:08:24 +02:00
Rémi Verschelde
c49be9bf84
Merge pull request #40791 from nekomatata/android-keyboard-cleaning-3.2
...
[3.2] Move PopupWindow logic to GodotEditText on Android
2020-07-31 13:00:50 +02:00
Rémi Verschelde
f4d6830949
Merge pull request #40869 from clayjohn/3.2-polygon-aabb
...
Properly calculate polygon2D AABB with skeleton
2020-07-31 12:55:47 +02:00
clayjohn
32928c2112
Properly calculate polygon2D AABB with skeleton
2020-07-30 16:40:05 -07:00
Hugo Locurcio
78a6a57884
makerst: Add descriptions to method qualifiers
...
This closes https://github.com/godotengine/godot-docs/issues/1753 .
(cherry picked from commit c162a39c7b
)
2020-07-30 22:46:16 +02:00
Marcel Admiraal
c8d8134288
Ensure CSG parent's _make_dirty() is called when entering a tree.
...
(cherry picked from commit 9be7b30f35
)
2020-07-30 22:45:17 +02:00
Hugo Locurcio
2987fb3b45
Improve the EditorInterface.get_editor_viewport()
description
...
This closes https://github.com/godotengine/godot-docs/issues/1109 .
(cherry picked from commit 60d40d8430
)
2020-07-30 16:27:11 +02:00
Hugo Locurcio
2494224f96
Link to Thread-safe APIs in the Thread class documentation
...
This closes https://github.com/godotengine/godot-docs/issues/2276 .
(cherry picked from commit f50a4b8a3b
)
2020-07-30 16:26:55 +02:00
Rémi Verschelde
6d2f8dd827
doc: Sync classref with current source
2020-07-30 16:26:45 +02:00
Rémi Verschelde
19802f7dc0
Merge pull request #33646 from NeoSpark314/gles2_highp
...
Added option to enable high precision float in GLES2
2020-07-30 07:52:29 +02:00
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