Commit graph

18710 commits

Author SHA1 Message Date
Juan Linietsky 4333a68ca0 Do not use shadow cubemaps if depth write is not supported to avoid errors, closes #25219 2019-01-22 11:07:26 -03:00
Juan Linietsky e081cec69f Fix collision margin being wrongly read by default, fixes #25181 2019-01-22 10:15:18 -03:00
Juan Linietsky 46af4b0a4b Changes to GLES2 renderer to not use cube shadows if not available, fixes #25132 2019-01-22 10:05:23 -03:00
Rémi Verschelde 6ab16512eb
Merge pull request #25223 from akien-mga/base64-return-long
base64.h: Fix return type mismatch
2019-01-22 13:59:52 +01:00
Rémi Verschelde 8a276a896e
Merge pull request #25222 from santouits/webgl-depth
WebGL1 some changes
2019-01-22 13:03:57 +01:00
Rémi Verschelde b21b0ff236 base64.h: Fix return type mismatch
Fixes #25220.
2019-01-22 12:47:11 +01:00
santouits 3c1cd2873b WebGL1 some changes
glRenderBufferStorage doesn't accept the _DEPTH_COMPONENT24_OES so I changed it to GL_DEPTH_COMPONENT16
https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/renderbufferStorage
https://www.khronos.org/registry/webgl/extensions/rejected/OES_depth24/

Enabled ext_shader_texture_lod extension. I guess it does the same like the GL_ARB_shader_texture_lod extension, but in WebGL1
https://www.khronos.org/registry/webgl/extensions/EXT_shader_texture_lod/

And last WebGL1 doesn't allow indexes not constant, so I changed it into a loop reading this:
https://stackoverflow.com/questions/19529690/index-expression-must-be-constant-webgl-glsl-error
2019-01-22 13:40:28 +02:00
Rémi Verschelde b86f16ed40
Merge pull request #25178 from marxin/sanitizr-options
Rename sanitizer option names.
2019-01-22 12:20:32 +01:00
Rémi Verschelde 4a184a79e0
Merge pull request #25215 from akien-mga/scripteditor-goto-line
Fix going to script line on VisualScript errors
2019-01-22 12:19:15 +01:00
Rémi Verschelde 7c8f55f857
Merge pull request #25207 from clayjohn/cpu_particle_2d_aligny_bug
Fix bug with CpuParticles2D AlignY
2019-01-22 12:19:00 +01:00
Rémi Verschelde 8cc83accd3
Merge pull request #25195 from YeldhamDev/texregion_editor_sprite3d
Make the Texture Region Editor able to edit regions of Sprite3Ds
2019-01-22 11:44:12 +01:00
Rémi Verschelde 79a4c41b22 Fix going to script line on VisualScript errors
Fixes #18103, which was a regression from #16888.
2019-01-22 10:55:55 +01:00
Rémi Verschelde 34d0585618
Merge pull request #25208 from clayjohn/angular_velocity_cpu_2d
Properly initialize angular_velocity in cpuparticles2d
2019-01-22 07:45:00 +01:00
clayjohn af92ade728 properly initialize angular_velocity in cpuparticles2d 2019-01-21 21:00:00 -08:00
clayjohn fbde851641 fix bug with cpu_particle_2d_align_y 2019-01-21 20:11:48 -08:00
Ignacio Etcheverry 0b0dba38c7
Merge pull request #25200 from neikeq/oo
Mono: Add assembly reloading to running games
2019-01-21 23:07:34 +01:00
Rémi Verschelde 3548b6b6b2
Merge pull request #25196 from santouits/webgl-backslashes
webgl1 in firefox doesn't like backslashes in #define directive
2019-01-21 23:02:32 +01:00
Ignacio Etcheverry 077e489773 Mono: Add assembly reloading to running games
Add environment variable to specify a custom --debugger-agent for mono.
2019-01-21 22:44:09 +01:00
Juan Linietsky 6fa632b821 Add function to obtain filesystem type from DirAccess.
Change EditorFileSystem to not use directory modification times on FAT32, fixes #20946
2019-01-21 18:06:14 -03:00
santouits e7e9a7cc6c webgl1 doesn't like backslashes in #define
According to
https://www.khronos.org/registry/OpenGL/specs/es/2.0/GLSL_ES_Specification_1.00.pdf
, backslashes aren't necessary supported as line continuation characters
in preprocessor directives
2019-01-21 21:41:39 +02:00
Rémi Verschelde 100154a131 i18n: Sync translation template with current source 2019-01-21 20:36:37 +01:00
Rémi Verschelde f1f65d9c05 i18n: Sync translations with Weblate 2019-01-21 20:35:16 +01:00
Rémi Verschelde 9f464c4418
Merge pull request #25192 from akien-mga/export-ttr
ExportDialog: Make error messages translatable
2019-01-21 20:12:12 +01:00
Juan Linietsky 3eb0757552 Modified code generation to be more friendly to previews, fixes #25094 2019-01-21 16:10:23 -03:00
Michael Alexsander Silva Dias f1cd587bbd Make the Texture Region Editor able to edit regions of Sprite3Ds 2019-01-21 16:52:57 -02:00
Rémi Verschelde 2323464f5e ExportDialog: Make error messages translatable
Also fix missing newlines that caused #24202.
2019-01-21 18:34:53 +01:00
Rémi Verschelde 26cf4fed6e
Merge pull request #25163 from ankitpriyarup/master
Disable autowrap for export dialog errors
2019-01-21 18:07:35 +01:00
Rémi Verschelde 055456d5fc
Merge pull request #25064 from homer666/itemlist-adjust-ui_select-precedence
ItemList: ignore `ui_select` action if Select Mode is not "Multi"
2019-01-21 17:45:30 +01:00
Rémi Verschelde d4ab9d1d6e
Merge pull request #25115 from marxin/fix-19633-proper
Fix #19633 by proper store to &ubo_data.shadow_matrix[1234].
2019-01-21 17:40:56 +01:00
Rémi Verschelde ad633b6c9c
Merge pull request #25117 from dragmz/patch-6
Replace CreateThread with QueueUserWorkItem
2019-01-21 16:18:58 +01:00
Rémi Verschelde 52f9cb37ca
Merge pull request #25188 from akien-mga/sync-controller-db
Sync controller mappings DB with SDL2 community repo
2019-01-21 16:06:32 +01:00
Rémi Verschelde 3c288f1052 Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@c5af5d58f4.
Closes #25138.
2019-01-21 15:48:31 +01:00
Ankit Priyarup 7e6edee193 Disable autowrap for export dialog errors
Fixes #25065
2019-01-21 18:01:40 +05:30
Rémi Verschelde 769341e180 Cleanup after @reduz :)
Fixes #25172.
2019-01-21 11:12:55 +01:00
Rémi Verschelde bef383985e
Merge pull request #25168 from eska014/html5-autoplay
Deal with Google's HTML5 autoplay policy
2019-01-21 10:57:49 +01:00
Rémi Verschelde 38a5a23a12
Merge pull request #25175 from Calinou/make-export-debug-more-visible
Make "Export with Debug" more visible in the Export dialog
2019-01-21 10:56:00 +01:00
Rémi Verschelde a0730652fc
Merge pull request #25180 from AndreaCatania/arov
Fixed area overlaps if not move
2019-01-21 10:39:41 +01:00
Rémi Verschelde cef99771f3
Merge pull request #25182 from akien-mga/travis-fix-android
Travis: Fix accepting Android SDK licenses
2019-01-21 10:06:33 +01:00
Rémi Verschelde 8a5a24c6dd Travis: Fix accepting Android SDK licenses
It has been failing since a few days, apparently `sdkmanager --licenses`
is no longer sufficient to accept all licenses, the `platform-tools` install
triggers another license dialog. Now saying yes to all just in case.
2019-01-21 09:40:30 +01:00
Andrea Catania a9214bcee7 Fixed area overlaps if not move 2019-01-21 08:30:49 +01:00
marxin e558773e21 Rename sanitizer option names.
Make the sanitizer names more explicit (use_ubsan, use_asan, use_lsan).
Comment has been adjusted to include GCC as supported compiler for these
and exclude -fno-omit-frame-pointer option (should not cause any
problems).
2019-01-21 08:10:15 +01:00
Ignacio Etcheverry 0babbca67e
Merge pull request #25177 from neikeq/nn
Workaround for bug with Mono's MSBuild and BaseIntermediateOutputPath
2019-01-21 01:32:07 +01:00
Ignacio Etcheverry 0ac5be8368 Fix C# script metadata creation error due to missing directory 2019-01-21 00:57:03 +01:00
Ignacio Etcheverry ca8100f29f Workaround for bug with Mono's MSBuild and BaseIntermediateOutputPath
BaseIntermediateOutputPath seems to be empty by default. The workaround is to explicitly set it.

Also fixed passing char instead of char[] to String.Split. Why was this even working with Mono?
2019-01-21 00:38:28 +01:00
Hugo Locurcio f9d0bc1858
Make "Export with Debug" more visible in the Export dialog
This swaps out the CheckButton with a CheckBox, which has two benefits:

- The checkbox icon appears to the left of the text, which moves it
  closer from the text. This makes it more easily noticeable, as
  it also appears below the "File:" text now.
- It follows the UI convention of using checkboxes for options that
  do not bear an immediate effect, unlike CheckButtons which are
  expected to have an immediate effect when toggled.

This closes #25170.
2019-01-20 23:53:42 +01:00
Leon Krause 8f1669e771 Deal with Google's HTML5 autoplay policy
Resume audio context after mouse, touch or key input.
2019-01-20 14:25:15 +01:00
Rémi Verschelde 09e4d7e9eb
Merge pull request #25136 from Demiu/doc-tilemap
Docs: Fix TileMap::world_to_map description
2019-01-20 11:58:54 +01:00
Rémi Verschelde 08417c8597
Merge pull request #25135 from CakHuri/fix-capabilites
Fixed a typo in 'uwp_device_capabilites'
2019-01-20 11:58:26 +01:00
Rémi Verschelde f0035b7cc7
Merge pull request #25150 from eska014/html5-warning
Fix HTML5 build warning
2019-01-20 09:25:21 +01:00
Rémi Verschelde 35728e41ba
Merge pull request #25149 from eska014/html5-gamepad-sampling
Fix HTML5 gamepad sampling
2019-01-20 09:17:24 +01:00