Commit Graph

20218 Commits

Author SHA1 Message Date
Rémi Verschelde 291c281fcf
Merge pull request #26957 from nekomatata/vs-natvis-fix
Fixed & improved Visual Studio custom debugger visualization
2019-03-12 14:03:27 +01:00
Sebastian Hartte 7bab7fd777 Don't crash when the saved editor state contains fewer viewports than currently supported. 2019-03-12 12:17:17 +01:00
Rémi Verschelde ac483345c4 GLES2: Convert unsupported float texture types to 8-bit types 2019-03-12 12:14:37 +01:00
bruvzg 1b6330b125
[macOS] Fix hiDPI scaling support in `OS.get_real_window_size` and `OS.set_window.size` functions. 2019-03-12 11:41:41 +02:00
PouleyKetchoupp fac0f76b7a Fixed & improved Visual Studio custom debugger visualization 2019-03-12 08:59:30 +01:00
Will Nations c1b247e4d5 Add EditorInspector getter. Update Sub-Inspectors. 2019-03-12 02:15:15 -05:00
Rémi Verschelde 6d86450a83
Merge pull request #26941 from JFonS/add_gizmos_priority
Add priority to gizmos and fix small issues
2019-03-12 01:19:39 +01:00
JFonS 2658e5d03d Add priority to gizmos and fix small issues
User defined gizmos will haave higher preference than editor gizmos by
default. Also fixed some inconsistencies in the gizmos menu when using
custom gizmos.
2019-03-12 00:30:50 +01:00
Rémi Verschelde 3ebde6fac3 GLES2: Fix comments in previous commit that broke rendering (!)
Do NOT use "[vertex]" in a comment...

Kids, don't try to learn OpenGL on a production branch right before
a stable release.
2019-03-12 00:26:56 +01:00
Rémi Verschelde 7452f5c619
Merge pull request #26936 from akien-mga/gles2-revert-texture2DLodEXT
GLES2: Revert wrong extension checks from #26928 and #26932
2019-03-11 23:35:47 +01:00
Rémi Verschelde 74e224f2c7 GLES2: Add comments around EXT_shader_texture_lod check
To avoid reintroducing bugs as I did in #26928 and #26932.

texture2DLodEXT and textureCubeLodEXT are only for the fragment shader with
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_shader_texture_lod.txt
In the vertex shader, texture2DLod and textureCubeLod are built-in.
2019-03-11 23:18:21 +01:00
Rémi Verschelde 764671d2d0 Revert "GLES2: Ensure extension checks for texture2DLod"
This reverts commit f5f565e3e4.
2019-03-11 23:12:49 +01:00
Rémi Verschelde 4cdb2d0502 Revert "GLES2: Fix regression on texture2DLod extension checks"
This reverts commit 8c2d38152f.
2019-03-11 23:12:39 +01:00
qarmin 825a870f06 Show in tabs non default class icons 2019-03-11 22:54:23 +01:00
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
qarmin 2e5b6b5bde Fix perspective button hide when it should be actually disabled 2019-03-11 18:10:00 +01:00
Pedro Ciambra e8fe174616 Implement source lookup for class_name defined classes
Previous to this, classes defined with class_name had no
behavior when ctrl-clicked in the editor.

Fixes #26882
2019-03-11 12:52:17 -03:00
Rémi Verschelde f1b01c96b9 HTML5: Fix ETC export for GLES2 fallback on mobile 2019-03-11 16:49:33 +01:00
Daniel Rakos 1cf7ca87ce Fix skeleton reparenting to also work when the skeleton node is not a bone
Existing code only did the reparenting when the parent node was a bone. This
change fixes that, plus the reparenting code itself, which used the index of
the skin instead of the skin index itself to address the skeleton array.
2019-03-11 16:26:45 +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
xDGameStudios ffc5f360e8 Fixed optional idx argument in add_item (OptionMeny & PopupMenu) 2019-03-11 11:54:12 +00: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
Martin Wallin ed06ed38fb Display vertex number when hovering point in collision polygon 2019-03-11 10:42:55 +01:00
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