Commit Graph

19835 Commits

Author SHA1 Message Date
Juan Linietsky 6b8b1cabae Add a warning when using plain Container, as many users seem to misunderstand what this is. 2019-03-03 16:00:56 -03:00
Rémi Verschelde 9357d691a2
Merge pull request #26496 from MadEqua/fix-filesystem-dock-icon
Fix grid view button icon not showing on filesystem dock.
2019-03-03 19:58:48 +01:00
Juan Linietsky 34dd772054 Properly redraw if something animated is visible 2019-03-03 13:43:54 -03:00
Daniel Rakos 582f62c2b2 Fixed TextureArray and Texture3D issues
- Texture arrays and 3D textures weren't working previously due to an
  incorrect number of calls to glTexImage3D with incorrect level parameters.
  This change fixes that.
- Fixed the incorrect calculation of the byte size of layered textures.
- Added the layer count to the debugger info when viewing video memory usage.
2019-03-03 16:40:48 +01:00
Juan Linietsky 2f32a75d2e Skeletons can now choose between using local or world coords for processing, fixes #26468 2019-03-03 12:24:00 -03:00
Bruno Lourenço ed7534a6aa Fix grid view button icon not showing on filesystem dock. 2019-03-03 15:02:51 +00:00
George Marques 9db96d9f81
Merge pull request #26528 from bojidar-bg/26047-gdscript-object-argument
Allow parameters passed to GDScript functions to be nulled
2019-03-03 11:39:25 -03:00
George Marques bf2c6680ac
Merge pull request #26521 from bojidar-bg/25408-gdscript-constant-bug
Fix GDScript checking for assigning to a constant only in release
2019-03-03 11:31:27 -03:00
Bojidar Marinov f0efc7521e
Allow parameters passed to GDScript functions to be nulled
Previous version resulted in confusing (but actually right) errors about converting "from Object to Object", since CallError
does not include information about the actual types involved.
2019-03-03 15:24:06 +02:00
Rémi Verschelde af6217e1b1
Merge pull request #26523 from akien-mga/export-etc-check
Improve VRAM texture compression checks for mobile/web
2019-03-03 14:12:03 +01:00
Rémi Verschelde 86f4fabd46
Merge pull request #26446 from QbieShay/root_node_from_escn
Importer for scenes only overrides the base Node if differently specified by the user
2019-03-03 13:51:09 +01:00
Rémi Verschelde 88e0bed081
Merge pull request #26514 from clayjohn/hide_properties_gles2
Hide hdr and shadow_contact in gles2
2019-03-03 13:43:43 +01:00
Rémi Verschelde dd5376f9df
Merge pull request #25934 from mrcdk/pool_int_real_color_interpolate
Added PoolIntArray, PoolRealArray and PoolColorArray interpolate
2019-03-03 13:30:43 +01:00
Rémi Verschelde 9d002442b2 Improve VRAM texture compression checks for mobile/web
For HTML5, we need to support S3TC if running on desktop,
and ETC or ETC2 for mobile, so make this explicit.

Add logic to check for ETC2 support on GLES3,
and remove incorrect ETC feature for GLES3 on Android.

Fix ETC check invalidating templates on HTML5.
Fixes #26476.
2019-03-03 13:24:08 +01:00
Rémi Verschelde 467f18b738 Fix style issues from recent commits 2019-03-03 12:45:20 +01:00
Bojidar Marinov f207b2fe0e
Fix GDScript checking for assigning to a constant only in release 2019-03-03 12:36:27 +02:00
Rémi Verschelde c0e1c66e3d
Merge pull request #26385 from MarianoGnu/tileset_editor
TileSetEditor: Improvements and fixes
2019-03-03 11:24:16 +01:00
Carter Anderson 839ed2d092 Add mono log profiler support 2019-03-02 23:32:03 -08:00
clayjohn 95837049e8 hide hdr and shadow_contact in gles2 2019-03-02 19:01:26 -08:00
Rémi Verschelde 56520d7bd6
Merge pull request #26505 from marcelofg55/input_buffer_crashfix
Fix possible crash on AudioDriver::input_buffer_write
2019-03-02 23:51:24 +01:00
Marcelo Fernandez f529649cec Fix possible crash on AudioDriver::input_buffer_write 2019-03-02 19:41:45 -03:00
Mariano Suligoy 7b933d70a8 TileSetEditor: Allow to toggle Convex/Concave collisions. Alternative fix to #24003 2019-03-02 19:40:56 -03:00
Rémi Verschelde bf6398ae24
Merge pull request #26502 from psuhas77/patch-2
mentioned possible use of property:component syntax
2019-03-02 22:12:15 +01:00
psuhas77 52125af7a0 mentioned possible use of property:component syntax
Referencing #26466  , added possible use of property:component syntax for functions like interpolate_property, follow_property,etc.. in the class description.
2019-03-03 01:26:54 +05:30
Rémi Verschelde 4bd9135eee
Merge pull request #26482 from ptrojahn/missingpreview
Fix preview in file dialog
2019-03-02 19:04:13 +01:00
Juan Linietsky c00429c33b Removed some prints 2019-03-02 12:15:48 -03:00
Juan Linietsky 1b8f56c099 Clean up and fix some situations where triangulation may fail, closes #26366 2019-03-02 12:04:24 -03:00
Juan Linietsky 6dc2669361 Remove some windows prints 2019-03-02 11:58:42 -03:00
Juan Linietsky 90038a4eef Fixed a case of broken loop due to wrapping on the edge, closes #25245 2019-03-02 11:07:13 -03:00
Paul Trojahn 6e865d1e11 Fix preview in file dialog
If the preview is already cached, queue_ressource_preview calls
_thumbnail_done immediately, so preview_waiting is never set to false
again. The progress wheel isn't rendered, because the WaitPreview icons
don't exist. This should probably be Progress.
Fixes #25749
2019-03-02 13:43:29 +01:00
Ilaria Cislaghi b6fe7a794d Importer for scenes only overrides the base Node if differently specified by the user 2019-03-02 13:31:11 +01:00
Juan Linietsky b84b015225 Make query checks less agressive, fixes #24694 2019-03-02 08:48:47 -03:00
Rémi Verschelde a42549b8f7
Merge pull request #26474 from akien-mga/scons-silence-x11
SCons: Reduce spam from x11:can_build
2019-03-02 10:48:42 +01:00
Rémi Verschelde 2fa5bb6be7
Merge pull request #26473 from akien-mga/scons-opus-fixed
SCons: Move platform-specific Opus config to its module
2019-03-02 10:48:30 +01:00
Rémi Verschelde c77c4ef3b1 SCons: Reduce spam from x11:can_build
When cross-compiling for non-X11 on Linux, it used to be quite spammy.
Now it will only print errors if you miss more than just pkg-config and x11.
2019-03-02 10:39:20 +01:00
Rémi Verschelde 1807e0f135 SCons: Move platform-specific Opus config to its module 2019-03-02 10:30:25 +01:00
Rémi Verschelde e930fb9a6e Fix typo in 7bad170
And cleanup.
2019-03-02 00:45:01 +01:00
Juan Linietsky 7bad1706c2 -Fix prepass state not being reset, closes #26348
-Send zero values for shader if no default exists
2019-03-01 19:28:24 -03:00
Rémi Verschelde 78fcbb80c5
Merge pull request #26455 from hpvb/fix-21141
Scale quickhull tolerance with mesh size
2019-03-01 22:39:33 +01:00
Juan Linietsky 834a984b08 Fixed RGTC (and other compressed) texture supports in GLES2. Fixes #26414 an probably others. 2019-03-01 18:18:55 -03:00
Juan Linietsky 4b679f7f16 Remove old method that makes no sense today, fixes #25566 2019-03-01 18:02:45 -03:00
Hein-Pieter van Braam 33c6b0ec1a Scale quickhull tolerance with mesh size
Taken from three.js's implementation. Tested with a wide variety of
meshes.
2019-03-01 20:58:39 +00:00
Juan Linietsky ff34cd58ff Skeleton was not providing prober AABB in GLES2, fixed. 2019-03-01 17:41:15 -03:00
Juan Linietsky 51b80f6857 Fixed some crashers, closes #26393 2019-03-01 17:24:57 -03:00
Juan Linietsky 8a9119ad7f Fix non initialized variable. 2019-03-01 16:45:38 -03:00
Juan Linietsky abbca3b3cc Flush stuff pending on visual server thread when exiting, fixes #24669 2019-03-01 16:34:03 -03:00
Rémi Verschelde 856c36cb89
Merge pull request #26451 from ptrojahn/modified
Fix misleading modified status of scenes
2019-03-01 20:20:50 +01:00
Rémi Verschelde 351a2fa41c
Merge pull request #26353 from ivanarh/android_hide_keyboard_crash
Android: Fixed a possible crash in keyboard hide method.
2019-03-01 20:19:48 +01:00
Rémi Verschelde 03862d43ad
Merge pull request #26441 from QbieShay/fix_sigill_when_no_parent_escn
Engine does not crash anymore if a non root node in escn is missing a parent.
2019-03-01 20:18:59 +01:00
Rémi Verschelde 3ece0004fa Remove unused include from previous commit 2019-03-01 20:12:35 +01:00