Vasiliy Makarov
d3422f8cf7
Fix pvrtc encoder
...
Always resize image to square of power2
Enable mipmaps only if original texture has it enabled
Fix #28534 , #28541
(cherry picked from commit 4009d26022
)
2019-09-24 09:00:46 +02:00
Michael Alexsander Silva Dias
e40293942d
Regression fixup to the theme editor
...
(cherry picked from commit b7c2bcff76
)
2019-09-24 09:00:46 +02:00
Michael Alexsander Silva Dias
7ff607290a
Minor fixups to the theme editor
...
(cherry picked from commit 1c872c75db
)
2019-09-24 09:00:46 +02:00
Ken Paulson
f0039bd18b
Added TranslationServer::get_loaded_locales to return an array of all locales with a loaded Translation
...
(cherry picked from commit 6b117c44fb
)
2019-09-24 09:00:46 +02:00
Chaosus
9953b2ab43
Disallow loopback connection in visual scripts and visual shaders
...
(cherry picked from commit 21ca9f6c7c
)
2019-09-24 09:00:46 +02:00
Rémi Verschelde
6cd6d3aa16
Also disable C and C++ specific warnings in thirdparty code
...
Move the `Append` up to make sure that the keys exist and avoid the
need to check `if CPPFLAGS in self`, etc.
(cherry picked from commit 8d867cf7c5
)
2019-09-24 09:00:45 +02:00
qarmin
49bbec08e2
Disable Project Export button after deleting preset
...
(cherry picked from commit 2fc2d82465
)
2019-09-24 09:00:45 +02:00
Carsten Klein
693f3c9d62
Call minimum_size_changed() on redo/undo if expand_to_text_length is true
...
Fixes #28241
(cherry picked from commit da2a0a3814
)
2019-09-24 09:00:45 +02:00
Andrii Doroshenko (Xrayez)
f6c0078264
Fix TGA indexed images loaded with flipped color table
...
This fixes incorrect color table lookup where red and blue channels were flipped.
(cherry picked from commit d0f0f1f1cb
)
2019-09-24 09:00:45 +02:00
Michael Alexsander Silva Dias
660acc3913
Fix 'LineEdit' offset limit not accounting for the right/clear icon width
...
Fully fixes #28242 .
(cherry picked from commit ac1c523989
)
2019-09-24 09:00:45 +02:00
Michael Alexsander Silva Dias
8e7f5c8628
Fix 'LineEdit' contents not ending before the clear button if no right icon was set
...
Fixes #28242 .
(cherry picked from commit d84acb98d0
)
2019-09-24 09:00:45 +02:00
Kenneth Lee
aa36c0c56c
Fixes build for Windows cross-compilation
...
Fixes #28299
(cherry picked from commit 5c5c3a590a
)
2019-09-24 09:00:45 +02:00
KLee1248
2e5fa9f043
Use SHGetKnownFolderPath instead of SHGetFolderPathW.
...
When getting system directories for Windows, we currently use
SHGetFolderPathW. This is a deprecated function and doesn't support
"Downloads" folders.
As a replacement, this commit uses the newer SHGetKnownFolderPath
function, which is supported since Windows Vista. Godot 3.0 only
supports Windows 7+, so we don't need to use SHGetFolderPathW for
backwards compatibility.
Fixes #26876
(cherry picked from commit 3d908f57d8
)
2019-09-24 09:00:45 +02:00
Vasiliy Makarov
3cb47c9b66
Make Xcode recursive search frameworks in project dir
...
(cherry picked from commit 641922782e
)
2019-09-24 09:00:45 +02:00
Matheus Lima Cunha
1e5709265c
Move vertex along a single axis while editing and holding shift
...
(cherry picked from commit 0110a88547
)
2019-09-24 09:00:45 +02:00
Hugo Locurcio
614dbe74e2
Scale animation track editor line widths on hiDPI displays
...
(cherry picked from commit c0959f00a0
)
2019-09-24 09:00:45 +02:00
Anders Stenberg
e18f18dbec
Proper passing of the "transform_key_request"
...
signal from SpatialEditorViewport to InspectorDock
(cherry picked from commit 645c656571
)
2019-09-24 09:00:45 +02:00
Jean Dao
b6ab75504b
Fix: use function in SceneTree::call_group
...
When calling call_group from C++, the function name is not passed on to
call_group_flags, resulting in first argument being mistakenly used
instead of function.
(cherry picked from commit 7240701ec9
)
2019-09-24 09:00:45 +02:00
ShyRed
a849625813
Fix missing re-activation of bullet physics sleep feature
...
Adds the missing option of re-enabling the sleep feature in bullet physics once a body had the sleep feature disabled.
(cherry picked from commit 0877cf6419
)
2019-09-24 09:00:45 +02:00
hbina085
8c2e10c393
Many fallthrough switch cases now have the FALLTHROUGH macro to tell the compiler that this is intended.
...
(cherry picked from commit 9f0c6a6009
)
2019-09-24 09:00:45 +02:00
Rémi Verschelde
fc18d637a8
Fix -Wimplicit-fallthrough warnings from GCC 8
...
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional.
Can be replaced by `[[fallthrough]]` if/when we switch to C++17.
The warning is now enabled by default for GCC on `extra` warnings level
(part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet,
but we could enable it manually once we switch to C++11. There's no
equivalent feature in MSVC for now.
Fixes #26135 .
(cherry picked from commit fc370b3feb
)
2019-09-24 09:00:45 +02:00
qarmin
3b703d6707
Small fixes, mostly dupicated code
...
(cherry picked from commit 856a8226a5
)
2019-09-24 09:00:45 +02:00
Theis Egeberg
a2cf479f07
Removed extra division by format channels causing sounds to get halved.
...
(cherry picked from commit e630591aea
)
2019-09-24 09:00:45 +02:00
Theis Egeberg
330c7a2fb4
Fix end pops when trimming wav files
...
-Added trim limit constant at top of file, defining at which db trimming should occur (moved from being in the code itself)
-Added fade out frames constant at top of file, defining how many frames should have fade out applied (to avoid pops at the end of trim)
-Rewrote parts of the trimming logic to use an average of volume across all channels instead of any particular channel
-Added fade-out to trimming
(cherry picked from commit 26cc521d55
)
2019-09-24 09:00:44 +02:00
Guilherme Felipe
21d3ad2e52
Continuation of #27562
...
[AnimationTree] Fix scale interpolation
(cherry picked from commit dbda5b6700
)
2019-09-24 09:00:44 +02:00
Tomasz Chabora
25074c734d
Use filename for scene root of imported models
...
(cherry picked from commit 82fadde680
)
2019-09-24 09:00:44 +02:00
Paul Trojahn
f5def1329e
Support UTF-8 in TextEdit and LineEdit navigation
...
This allows jumps over whole non ASCII words with Ctrl+Left/Right in
a LineEdit or TextEdit.
Fixes #25681
(cherry picked from commit 8851e16f75
)
2019-09-24 09:00:44 +02:00
Paul Trojahn
af3b157517
Support UTF-8 input action names
...
Fixes #26380
(cherry picked from commit a7430a9d06
)
2019-09-24 09:00:44 +02:00
Ibrahn Sahir
78a7f945e4
Removed an unused and leaked CheckButton instance in theme editor plugin
...
(cherry picked from commit cbf2d3cdc4
)
2019-09-24 09:00:44 +02:00
Michael Alexsander Silva Dias
28d48a0886
Enhance theme preview
...
(cherry picked from commit 5dfbdbcd0b
)
2019-09-24 09:00:44 +02:00
Bojidar Marinov
ef6807b34c
Fix remote scene tree root folding
...
Fixes #25487
(cherry picked from commit 72472bef05
)
2019-09-24 09:00:44 +02:00
Guilherme Felipe
6319d662af
[StateMachine] Fix play position
...
Continuation of 771fbd282a
(cherry picked from commit 0fcbf4da8f
)
2019-09-24 09:00:44 +02:00
Guilherme Felipe
be47e0546d
Show play position of sub state machine
...
Sub state machine now show the play position of the current state
playing.
(cherry picked from commit 771fbd282a
)
2019-09-24 09:00:44 +02:00
UziMonkey
cb0e500d27
Add sub-resource name when available to script editor
...
(cherry picked from commit 7056c825a3
)
2019-09-24 09:00:44 +02:00
Mateus Felipe C. C. Pinto
8946ac9616
Make AnimatedSprite.animation complain when invalid animation name
...
(cherry picked from commit 2933ef42f7
)
2019-09-24 09:00:44 +02:00
mellondill
3078f723a8
https://github.com/godotengine/godot/issues/31297 - HTML5: this.rtenv.callMain is not a function when using latest-upstream backend
...
Added needed changed for normal compiling with emscripten 1.38.41 and later
(cherry picked from commit 3c176827d6
)
2019-09-24 09:00:44 +02:00
Emmanuel Barroga
45e4f467e7
Fix ProgressBar Wrong Value with Border
...
Closes : #30969
The FG rectangle of the progressbar is incorrect when dealing with a non-zero border. This issue stems from wrong order of operations when drawing the rectangle: int p = r * get_size().width - mp;
(cherry picked from commit 7db96e22dd
)
2019-09-24 09:00:44 +02:00
Rémi Verschelde
b7e2266dc5
jpgd.h: Backport security vulnerabilities fixes from Google Android
...
Squashed version of https://github.com/richgel999/jpeg-compressor/pull/10
with the line endings fixed (DOS to Unix).
See https://github.com/richgel999/jpeg-compressor/pull/10 and #30952
for details. Relates to CVE-2017-0700.
Fixes #30952 .
(cherry picked from commit 5c333270ed
)
2019-09-24 09:00:44 +02:00
Fabio Alessandrelli
2a837d525f
Add NULL-terminator the string passed to strtol.
...
This is actually expected by the function although it was apparently
working in GCC without the terminator, it breaks (at least some) clang
versions.
(cherry picked from commit 2f91e250f6
)
2019-09-24 09:00:44 +02:00
Rémi Verschelde
8acaac10b6
Merge pull request #30864 from enzogupi/patch-1
...
HTML5 default loader: small bugfix
2019-09-03 13:32:40 +02:00
Rémi Verschelde
0db32ced78
Merge pull request #31712 from volzhs/fix-vibrate-3.1
...
Suppress MissingPermission warning for Android vibration
2019-08-27 17:42:24 +02:00
volzhs
3178dee53c
Suppress MissingPermission warning for Android vibration
...
It does check its permission every `vibrate_handheld()` calls.
Vibrate permission is added by checking it on export settings.
And there are some changes for deprecated method.
2019-08-27 22:02:22 +09:00
Enzo Ferrari
a5a413c7e9
Fixed javascript code to remove animateStatusIndeterminate callback when the game is loaded.
2019-08-23 21:33:18 +02:00
Rémi Verschelde
2c63c27ef1
Merge pull request #31438 from volzhs/vibrate-mobile-3.1
...
Support vibration for Android and iOS
2019-08-21 21:10:46 +02:00
volzhs
081751172a
Support vibration for Android and iOS
2019-08-22 00:05:11 +09:00
Rémi Verschelde
bac75bf0c2
Merge pull request #31493 from aaronfranke/mono-3.1-serial-ign
...
[3.1] [Mono] Backport serializable attributes and backport gitignore files
2019-08-20 13:04:11 +02:00
Aaron Franke
3a7aa3a0e4
[3.1] [Mono] Make all structs serializable
...
Manually cherrypicked from https://github.com/godotengine/godot/pull/31191
2019-08-19 19:23:18 -04:00
Aaron Franke
329817edad
[3.1] [Mono] Backport gitignore files
...
This avoids seeing files generated on master when switching to the 3.1 branch.
2019-08-19 19:19:21 -04:00
Rémi Verschelde
76776d181f
Update AUTHORS and DONORS list
...
New contributors added to AUTHORS:
@Anutrix, @hbina, @santouits
Thanks to all contributors and donors for making Godot possible!
(cherry picked from commit 6d6b9ccc9a
)
2019-08-02 09:44:54 +02:00
Rémi Verschelde
d84e9f2948
Update AUTHORS and DONORS list
...
New contributor added to AUTHORS:
@aqnuep
Thanks to all contributors and donors for making Godot possible!
(cherry picked from commit ab1cb10317
)
2019-08-02 09:44:50 +02:00