Commit graph

16139 commits

Author SHA1 Message Date
Maykeye 40562a67c8 Changed A* exit condition, added 2 tests for it
A* now exits when next node from open set with least cost happens to be end_point,
not when node with least cost has end_point as a neigbour.

Added two tests for astar:
* ABC tests case where start and end node are
neigbours
* ABCX tests case with intermediate nodes
2018-08-28 19:48:07 +06:00
Juan Linietsky 2428ec6205
Merge pull request #21453 from BlackCatter/triplanar-detail-fix
Fix error using triplanar UV with detail map
2018-08-27 13:04:47 -03:00
Juan Linietsky 02d2676dc9
Merge pull request #21405 from SneakyMax/fix-animation-condition-advancing
Fix advancing based on condition in AnimationNodeStateMachinePlayback
2018-08-27 13:04:02 -03:00
Rémi Verschelde 1fe6ad6a9d
Merge pull request #21400 from rfht/master
log to console if falling back to dummy audio driver
2018-08-27 18:03:52 +02:00
Rémi Verschelde 9df5ddae29
Merge pull request #21456 from MarianoGnu/tileset_editor
TileSet editor Fixes
2018-08-27 17:49:02 +02:00
Rémi Verschelde 66778eae71
Merge pull request #21420 from elasota/fix-last-mipmap
Fix uninitialized mipmap levels
2018-08-27 17:48:41 +02:00
Rémi Verschelde f06b7d40c8
Merge pull request #21449 from vnen/gdscript-builtin-is
Allow `is` operator to test built-in types
2018-08-27 17:48:11 +02:00
Rémi Verschelde 5b87864385
Merge pull request #21369 from Noshyaar/exportflag
Deprecating bit flags export with no hint text
2018-08-27 17:47:21 +02:00
Rémi Verschelde 573d03d888
Merge pull request #21489 from godotengine/revert-21236-windows-graceful-close
Revert "Try closing gracefully before terminating process"
2018-08-27 17:33:27 +02:00
Rémi Verschelde 72996df656
Revert "Try closing gracefully before terminating process" 2018-08-27 17:32:43 +02:00
Rémi Verschelde c1f687c681
Merge pull request #21387 from hpvb/fix-15324
Fall back to GLES2 if GLES3 is not working
2018-08-27 16:54:22 +02:00
Ignacio Etcheverry 78bb53f85d
Merge pull request #21205 from KellyThomas/c-sharp-feature-parity-quat
[Mono] Quat - add some missing constructors and methods
2018-08-27 16:18:09 +02:00
Rémi Verschelde 35fbb11cec
Merge pull request #21484 from Omicron666/patch-1
Typo in text string
2018-08-27 16:16:57 +02:00
Omicron 71397e0e17
Typo in text string
reported by Yuri Chornoivan on weblate
2018-08-27 16:12:48 +02:00
Juan Linietsky eb25cd0737
Merge pull request #21483 from godotengine/revert-21467-fix-3d-textures
Revert "Fix some 3D texture issues"
2018-08-27 10:12:39 -03:00
Juan Linietsky bca706b361
Revert "Fix some 3D texture issues" 2018-08-27 10:12:07 -03:00
Rémi Verschelde 87725e891d
Merge pull request #21481 from BastiaanOlij/bind_mesh_methods
Bound get surface functions on mesh
2018-08-27 15:06:45 +02:00
thfrwn d37e9ef95d log to console if falling back to dummy audio driver 2018-08-27 05:35:59 -07:00
Bastiaan Olij ca677090ff Bound get surface functions on mesh 2018-08-27 21:49:27 +10:00
Rémi Verschelde 2928091ce2
Merge pull request #21477 from akien-mga/tile_set_shape_offset
TileSet: Bind tile_set_shape_offset and getter
2018-08-27 13:39:40 +02:00
Rémi Verschelde 439e562b1a
Merge pull request #21474 from elasota/fix-cvtt-scalar
Fix CVTT scalar version not compiling
2018-08-27 13:36:23 +02:00
Rémi Verschelde fa2c5bea3c TileSet: Bind tile_set_shape_offset and getter
Fixes #21476.
2018-08-27 11:09:11 +02:00
Rémi Verschelde 49cf675ef4
Merge pull request #21450 from vnen/gdscript-type-space
Remove space before colon on type hints
2018-08-27 10:42:19 +02:00
elasota 0fe3bda9af Fix CVTT scalar version not compiling 2018-08-27 04:15:52 -04:00
Rémi Verschelde 3dc63a710f
Merge pull request #21469 from akien-mga/glsl-clang-format
Style: Enable clang-format on GLSL shaders
2018-08-27 10:12:24 +02:00
Rémi Verschelde ddfef86836 Fix build after c2a9cb34
`return` statements were missing, and those warnings do not need to be
behind #ifdefs, they do not expose any deprecated API.
2018-08-27 10:10:40 +02:00
Rémi Verschelde 3c0ea513de
Merge pull request #21460 from hpvb/fix-19716
When setting an X11 icon fails, try halving the size
2018-08-27 10:03:47 +02:00
Rémi Verschelde 0ba84b3f23
Merge pull request #21467 from elasota/fix-3d-textures
Fix some 3D texture issues
2018-08-27 09:51:05 +02:00
Rémi Verschelde 2131f101b6
Merge pull request #21470 from elasota/fix-tiled-exr
Fix tiled EXR import
2018-08-27 09:46:57 +02:00
Rémi Verschelde fc1d464f1f
Merge pull request #21381 from YeldhamDev/members_help_overview_fix
Fix Members/Help Overview getting their items deselected when a tooltip appears
2018-08-27 09:43:00 +02:00
Rémi Verschelde 0f4ba4481a
Merge pull request #21432 from JFonS/fix_material_convert
Fix "Convert To ShaderMaterial" option not working, closes #20891
2018-08-27 08:55:41 +02:00
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
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
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
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