Commit Graph

19828 Commits

Author SHA1 Message Date
Rémi Verschelde 546cab6f29
Merge pull request #26932 from akien-mga/gles2-fix-extensions-check
GLES2: Fix regression on texture2DLod extension checks
2019-03-11 22:11:23 +01:00
Rémi Verschelde 8c2d38152f GLES2: Fix regression on texture2DLod extension checks
These can't be done after any non-preprocessor token.
2019-03-11 21:59:20 +01:00
Rémi Verschelde bc3c6338cf
Merge pull request #26928 from akien-mga/gles2-texture2DLod-ext-check
GLES2: Ensure extension checks for texture2DLod
2019-03-11 20:51:36 +01:00
Juan Linietsky d9235be54b Enable seamless cubemap only if extension is present. 2019-03-11 16:49:04 -03:00
Rémi Verschelde f5f565e3e4 GLES2: Ensure extension checks for texture2DLod
In canvas.glsl and scene.glsl, we were using texel2DFetch from stdlib.glsl,
which uses texture2DLod. In both cases, the stdlib.glsl include came before
the define of texture2DLod.

Might fix issues for drivers that don't support GL_EXT_shader_texture_lod.
2019-03-11 19:34:31 +01:00
Rémi Verschelde 292c037f9b
Merge pull request #26921 from akien-mga/html5-etc-gles2-fallback
HTML5: Fix ETC export for GLES2 fallback on mobile
2019-03-11 19:34:21 +01:00
Juan Linietsky 0eb61c3106 Undo #25557 (was not right anyway), fixes #26258 2019-03-11 14:58:51 -03:00
Rémi Verschelde f1b01c96b9 HTML5: Fix ETC export for GLES2 fallback on mobile 2019-03-11 16:49:33 +01:00
Rémi Verschelde 7b67c5857f
Merge pull request #26901 from KidRigger/anim_crash
Prevents a Null Reference in deleting Animations.
2019-03-11 16:19:14 +01:00
Rémi Verschelde 154b6f0133
Merge pull request #26898 from clayjohn/radiance_map_gles2
Increase size of radiance map in gles2
2019-03-11 16:18:45 +01:00
Rémi Verschelde 0deb3921e3
Merge pull request #26911 from KidRigger/pr-fix
Fixes segfault on opening incompatible files in GDNative videodecoder.
2019-03-11 12:46:35 +01:00
Anish d6e4a08c61 Prevents a Null Reference in deleting Animations.
A null Animation would cause a crash by accessing restricted memory.
Solved by checking if the animation track is null before using the
animation.

Fixes: #26829
2019-03-11 17:04:02 +05:30
Anish bd22b1cbe6 Fixes segfault on opening incompatible files.
If a file cannot be opened by the plugin connected, the engine
would crash. This has been fixed by quitting the open_file() method
early.
2019-03-11 16:41:30 +05:30
clayjohn 13eee31461 increase size of radiance map in gles2 2019-03-10 22:08:08 -07:00
Ignacio Roldán Etcheverry 91d3ea0d1f
Merge pull request #26874 from neikeq/issue-26731
Mono: Some assembly referencing changes and cleanup
2019-03-10 21:30:32 +01:00
Ignacio Etcheverry e9e7aab8eb Mono: Some assembly referencing changes and cleanup
Apparently we don't need to call mono_debug_close_image ourselves and we can call mono_image_close right away as it's not our duty to keep that reference.
2019-03-10 18:55:31 +01:00
Rémi Verschelde 59aa79f218
Merge pull request #26867 from bojidar-bg/26816-graphnode-title
Fix cursor going to start while editing GraphNode's title
2019-03-10 11:50:49 +01:00
Rémi Verschelde 61771ad39b doc: Fix style for vararg in makerst 2019-03-10 11:31:27 +01:00
Bojidar Marinov 964152ed71
Fix cursor going to start while editing GraphNode's title
Fixes #26816
2019-03-10 12:22:15 +02:00
Rémi Verschelde 7052ddd706
Merge pull request #26859 from JFonS/fix_cpuparticles_resetting
Fix resetting of CPUParticles (2D and 3D)
2019-03-10 11:09:36 +01:00
Rémi Verschelde 43184375b2 i18n: Sync translation template with current source 2019-03-10 11:04:59 +01:00
Rémi Verschelde 9a2fdef1fa i18n: Sync translations with Weblate 2019-03-10 11:03:26 +01:00
JFonS c13ac398f6 Fix resetting of CPUParticles (2D and 3D) 2019-03-10 00:33:08 +01:00
Rémi Verschelde 69ea7da766
Merge pull request #26856 from neikeq/issue-26834
Mono: Fix assemblies path String incorrectly constructed from utf8
2019-03-09 23:11:46 +01:00
Ignacio Etcheverry 4299332ecc Mono: Fix assemblies path String incorrectly constructed from utf8
Also fixed a wrong ifdef that was causing Mono to never be initialized if mscorlib was not found (which was the case with the utf8 assemblies path bug this commit fixes).
This condition was meant for exported projects only, not for the editor only.
2019-03-09 23:00:03 +01:00
Rémi Verschelde 03664e26c5
Merge pull request #26687 from QbieShay/hang_server_build_fix
Removed the resource preview thread from the server build
2019-03-09 22:59:24 +01:00
Rémi Verschelde 8598641b15
Merge pull request #26845 from clayjohn/gles2_transparent_viewport_bug
GLES2 reallocate texture when transparent is set
2019-03-09 22:51:25 +01:00
Rémi Verschelde bba854bac6
Merge pull request #26851 from RandomShaper/fix-26460-fake-event-flood
Fix fake null-motion mouse event flood
2019-03-09 22:40:53 +01:00
Rémi Verschelde 86c5f31dd5
Merge pull request #26853 from groud/fix_ui_navigation
Fixes UI navigation with joysticks
2019-03-09 22:29:44 +01:00
Pedro J. Estébanez f757460ec8 Fix fake null-motion mouse event flood
This commit also improves a bit the code quality by making the intent of fake events (and themselves) more explicit.

Fixes #26460.
2019-03-09 22:04:17 +01:00
Gilles Roudière ede5306d7c Fixes UI navigation with joysticks 2019-03-09 21:09:20 +01:00
clayjohn 63bb6808e6 gles2 reallocate texture when transparent is set 2019-03-09 10:56:51 -08:00
Rémi Verschelde d41cd57595
Merge pull request #26842 from karroffel/gdnative-singleton-crash
[GDNative] fix crash at shutdown when using singleton libraries and NativeScript
2019-03-09 18:20:12 +01:00
karroffel 9786b51601 [GDNative] fix crash at shutdown when using singleton libraries and NativeScript
When a singleton library was exposing NativeScript functionality,
the NativeScriptLanguage would attempt to terminate the library at
shutdown.

Since the GDNative module itself handles singleton libraries,
it closes all singleton libraries at shutdown as well. This double free
could cause a crash, since the library referenced would no longer be alive.
2019-03-09 18:01:08 +01:00
Rémi Verschelde 362b42787b
Merge pull request #26784 from humblers/fix-cpuparticles2d
Prevent invisible/inactive cpupparticles2d to redraw
2019-03-09 16:28:34 +01:00
Rémi Verschelde 0d728123c6
Merge pull request #26818 from vnen/class_name-inheritance
Allow class_name scripts to have nested inheritance
2019-03-09 14:27:43 +01:00
Rémi Verschelde 9d36ce25e8
Merge pull request #26807 from akien-mga/editor-hint-gles2-fallback
Set editor hint early for Project Manager and Editor
2019-03-09 12:36:42 +01:00
George Marques 25f9aee005
Allow class_name scripts to have nested inheritance 2019-03-09 00:47:27 -03:00
Daeil Kim 1edc2134c9 Prevent invisible/inactive cpuparticles to redraw(3d) 2019-03-09 10:50:44 +09:00
Rémi Verschelde d462e5153d Set editor hint early for Project Manager and Editor
We need it in setup() already before initializing the renderer,
as it's used to force fallback to GLES2 if GLES3 fails.

Fixes #26806.
2019-03-09 01:04:55 +01:00
Rémi Verschelde 86d6a72c97
Merge pull request #26738 from samH-FIT/MeshColor
Fixed MeshInstance2d copying Line2d's default color
2019-03-08 23:44:39 +01:00
samHFIT fbaee40b1d Added default color to mesh render 2019-03-08 18:26:58 +01:00
Rémi Verschelde 60d910b191
Merge pull request #26756 from marcelofg55/android_rec_perm
Request Android record permission when needed
2019-03-08 18:22:38 +01:00
Juan Linietsky 95c6d9caba Fix crash in texture previeer, closes #26749, probably others 2019-03-08 14:18:12 -03:00
DESKTOP-3H3MR3A\eloisa b22cf46fdb Request Android record permission when needed 2019-03-08 12:38:36 -03:00
Rémi Verschelde 241a85de7c
Merge pull request #26791 from Calinou/fix-typo-gdscript-warning
Fix typo in GDScript narrowing conversion warning message
2019-03-08 14:51:04 +01:00
Hugo Locurcio 5a574a4f29
Fix typo in GDScript narrowing conversion warning message
This closes #26790.
2019-03-08 14:28:33 +01:00
Rémi Verschelde a38bf5287a
Merge pull request #26781 from YeldhamDev/editfilediag_favdir_fix
Fix "Favorite" button not being toggled when navigating to a faved folder manually
2019-03-08 08:26:55 +01:00
Rémi Verschelde a1f5d2529c
Merge pull request #26767 from qarmin/fix_text_entered_error
Fix error when trying to enter to folder/node directly via address bar
2019-03-08 08:21:38 +01:00
Daeil Kim 608af1a786 Prevent invisible/inactive cpupparticles2d to redraw 2019-03-08 16:05:00 +09:00