Commit graph

16211 commits

Author SHA1 Message Date
elasota
4b7885fb1e Fix tiled EXR crash, update tinyexr to head to fix corrupted uncompressed EXR loading 2018-08-27 02:52:12 -04:00
Rémi Verschelde
a543c68959
Merge pull request #21466 from elasota/fix-layered-texture-import
Fix crash when importing layered textures
2018-08-27 08:00:15 +02:00
Rémi Verschelde
98cc2ce1dd
Merge pull request #21433 from AndreaCatania/megafix
Multiple fixes on Physics things
2018-08-27 07:46:40 +02:00
Rémi Verschelde
4226d56ca9 Style: Enable clang-format on GLSL shaders
As of clang-format 6.0.1, putting the `/* clang-format off */` hint
around our "invalid" `[vertex]` and `[shader]` statements isn't enough
to prevent a bogus indent of the next comments and first valid statement,
so we need to enclose that first valid statement in the unformatted chunk.
2018-08-27 07:34:14 +02:00
Michael Alexsander Silva Dias
df4f3aecd8 Fix Members/Help Overview getting their items deselected when a tooltip appears 2018-08-26 23:55:45 -03:00
Leon Krause
92b259ccf1 Fix WebM module for HTML5 platform 2018-08-27 04:08:04 +02:00
elasota
30e20b6278 Partial fixes for 3D texture issues 2018-08-26 20:22:56 -04:00
elasota
02d3d4c2ce Fix crash when importing layered textures 2018-08-26 20:21:27 -04:00
Hein-Pieter van Braam
3d4b7c6c5f When setting an X11 icon fails, try halving the size
When setting an icon that is too large previously Godot would die with a
X Error of failed request:  BadLength error. To avoid this we install an
error handler right before we set an icon. If the error handler triggers
we halve the icon size until it works or until we've reached a 0 size on
either width or height.

We print a warning when this happens to alert developers.

This fixes #19716
2018-08-27 01:28:11 +02:00
Mariano Javier Suligoy
c64ab97063 TileSet editor Fixes
Properly draw navigation and oclusion polygons for SINGLE type tiles. Fixes #21398
Add some checks for TileID validation before accessing to it's properties. Fixes #21397
Fix 'Keep inside region' snap option for tiles with SINGLE_TILE mode. Fixes #21402
Restore hability to asign/unasign an script to a tileset. Fixes #20886
2018-08-26 17:10:01 -03:00
VirtualBox
57f3e89f70 Update UndoRedo.xml 2018-08-26 21:11:17 +02:00
Black Cat!
2fe4c5dda1 Fix error using triplanar UV with detail map
Fixes #18550
2018-08-26 21:58:52 +04:00
Ignacio Etcheverry
db55d8a4b6
Merge pull request #21423 from exts/mono/collections
[Mono] Added Collections namespace to Array & Dictionary
2018-08-26 19:11:45 +02:00
George Marques
de45b18ddb
GDScript: Remove space before colon on type hints 2018-08-26 13:43:13 -03:00
George Marques
4b974a36b7
GDScript: Allow is operator to test built-in types 2018-08-26 13:31:23 -03:00
Rémi Verschelde
282c0483c9
Merge pull request #21411 from Crazy-P/fixes-several-resource-leaks
Fixes several resource leaks listed on coverity
2018-08-26 17:35:32 +02:00
Hein-Pieter van Braam
08f452d1a9 Fall back to GLES2 if GLES3 is not working
This adds a static is_viable() method to all rasterizers which has to be
called before initializing the rasterizer. This allows us to check what
rasterizer to use in OS::initialize together with the GL context
initialization.

This commit also adds a new project setting
"rendering/quality/driver/driver_fallback" which allows the creator of a
project to specify whether or not fallback to GLES2 is allowed. This
setting is ignored for the editor so the editor will always open even if
the project itself cannot run. This will hopefully reduce confusion for
users downloading projects from the internet.

We also no longer crash when GLES3 is not functioning on a platform.

This fixes #15324
2018-08-26 16:40:46 +02:00
Rémi Verschelde
653b4829f1
Merge pull request #21407 from marcelofg55/coreaudio_dfix
Prevent CoreAudio driver failing on finish if Dummy driver was selected
2018-08-26 16:30:57 +02:00
Mel Collins
2d0a55c86c Clarify direction of input event propagation 2018-08-26 15:14:55 +02:00
Andrea Catania
76d02b13a1 Fixed task creation with void chain in SkeletonIK 2018-08-26 12:41:20 +02:00
JFonS
ee06cfe6e5 Fix "Convert To ShaderMaterial" option not working, closes #20891 2018-08-26 12:25:41 +02:00
Andrea Catania
64b5eaf43c Correctly set safe_motion on cast_motion query Fixes: #21212 2018-08-26 12:09:52 +02:00
Andrea Catania
2e722caead Fixed physics bone crash: #20397 2018-08-26 11:55:58 +02:00
Andrea Catania
c2a9cb343b Added deprecated to joints un/used parameters 2018-08-26 09:10:30 +02:00
Crazy-P
e4af39cbc0 Fixes several resource leaks in ...
- gdscript
- gdscript_compiler
- regex
- android/export
- gles3/rasterizer (scene and storage)
2018-08-26 09:19:02 +08:00
exts
035d498af2 Added Collections namespace to Array & Dictionary 2018-08-25 17:19:37 -05:00
elasota
de2a36505a Fix mipmap levels not being initialized 2018-08-25 17:22:53 -04:00
Juan Linietsky
8c435a343e
Merge pull request #16927 from neikeq/rework-refcount-notify
Notify instance binding data api of refcount increment/decrement
2018-08-25 11:01:55 -03:00
Juan Linietsky
7c5883add0
Merge pull request #21390 from MarianoGnu/texture_region
Texture Region: Cache auto-slice information. Fixes #11503
2018-08-25 10:47:53 -03:00
Marcelo Fernandez
5d0622a8de Prevent CoreAudio driver failing on finish if Dummy driver was selected 2018-08-25 10:42:30 -03:00
Mariano Suligoy
1f4a891a9c Texture Region: Cache auto-slice information into the texture. Fixes #11503 2018-08-25 09:02:05 -03:00
Andy Brenneke
6714f73d9e Fix advancing based on condition in AnimationNodeStateMachinePlayback 2018-08-25 03:17:19 -07:00
Rémi Verschelde
12290c172a
Merge pull request #21231 from AlexHolly/filedialog-fix-multi-selection
Check all selected items on OPEN_MANY/OPEN_FILES in FileDialog, also …
2018-08-25 11:13:31 +02:00
Rémi Verschelde
4a5579bf78
Merge pull request #21358 from MidZik/master
Disable ability to copy or cut text from LineEdit if secret mode is enabled.
2018-08-25 11:05:37 +02:00
Rémi Verschelde
19af8a5999
Merge pull request #21382 from hpvb/more-x11-dialog-programs
Support more X11 dialogs for X11::alert()
2018-08-25 10:42:08 +02:00
Rémi Verschelde
db0a2563c1
Merge pull request #21392 from MarianoGnu/tileset_editor
Backward compatibility for autotile setup from Godot 3.0.X
2018-08-25 10:40:34 +02:00
Mariano Javier Suligoy
01d509b165 Backward compatibility for autotile setup from Godot 3.0.X
Fixes #20746
2018-08-24 22:59:08 -03:00
Hein-Pieter van Braam
c8464eb69f Support more X11 dialogs for X11::alert()
Modern distributions such as Fedora do not ship 'xdialog' with their
default deployment. This commit adds support for Gnome's Zenity as well
as KDE's kdialog.
2018-08-25 00:53:45 +02:00
Rémi Verschelde
f72f74486d
Merge pull request #21385 from groud/fix_itemlist_signal
Fix a mistake in itemlist multi_select signal
2018-08-24 23:28:05 +02:00
groud
5b5191ccf0 Fix a mistake in itemlist multiselect signal 2018-08-24 23:05:17 +02:00
Rémi Verschelde
6ce4078c5f
Merge pull request #20586 from AlexHolly/text-edit-auto-completion
text_edit auto_completion
2018-08-24 20:48:01 +02:00
Rémi Verschelde
0b9400d55b
Merge pull request #21380 from elasota/fix-cvtt-vs2015
Fix CVTT compile failure on VS2015 x86
2018-08-24 20:40:20 +02:00
Rémi Verschelde
9df480d68b
Merge pull request #21379 from volzhs/particle-mat
Make ParticlesMaterial included with disable_3d=yes option
2018-08-24 20:38:51 +02:00
Rémi Verschelde
f34690a162
Merge pull request #21376 from akien-mga/particles-speed_scale-0
Particles: Allow speed_scale at 0 in property hint, equivalent to pause
2018-08-24 20:04:06 +02:00
Rémi Verschelde
ff81b2daea
Merge pull request #21375 from akien-mga/msvc-nominmax
SCons: Disable min/max WinDef.h macros on MSVC
2018-08-24 20:02:53 +02:00
volzhs
0e7178a740 Make ParticlesMaterial included with disable_3d=yes option 2018-08-25 02:23:40 +09:00
elasota
2dbd74b3a9 Fix CVTT compile failures in VS2015 2018-08-24 13:18:33 -04:00
Juan Linietsky
62233423c7 Fix generation of env map, closes #18880 2018-08-24 13:31:31 -03:00
Rémi Verschelde
67b0d3c2dc Particles: Allow speed_scale at 0 in property hint, equivalent to pause
Supersedes and closes #21193.
2018-08-24 18:11:35 +02:00
Rémi Verschelde
7238462601 SCons: Disable min/max WinDef.h macros on MSVC
Fixes #21370.
2018-08-24 18:04:18 +02:00