Commit Graph

13288 Commits

Author SHA1 Message Date
ShyRed bc1522e268 Use fake audio playing property in editor
It appears that some time ago users were supposed to be able to include the playback of sound effects in their animations by placing keys on the "playing" property. Back then the key frame editor took the value of the checkbox in the property_editor.

Somewhere / Sometime this behaviour changed and the key frame editor is now reading the actual value from the object instead of relying on the property editor.

This commit introduces a fake active field that is returned when reading the playing property in the editor. While the actual active flag is changed when playback is finished the fake one will stay the same thus allowing the user to take their time with setting the key in the animation editor.
2018-03-16 15:26:23 +01:00
Rémi Verschelde 8ded15b035
Merge pull request #16485 from poke1024/vector2-cross
Bring back Vector2.cross()
2018-03-08 08:50:20 +01:00
Rémi Verschelde 079b919b41
Merge pull request #17341 from poke1024/fix16461
Fix unselectable flipped sprites (fixes 16461)
2018-03-08 08:40:49 +01:00
Rémi Verschelde 0b600fde3f
Merge pull request #17189 from CodeAndWeb/master
Fixes Selection of Sprites using AtlasTexture
2018-03-08 08:37:22 +01:00
Rémi Verschelde 938469157f
Merge pull request #17340 from eska014/gridcontainer-divisionbyzero
Prevent division by zero in GridContainer
2018-03-08 08:35:00 +01:00
Rémi Verschelde acacba3fdc
Merge pull request #17343 from eska014/wasm-webgl1
Reinstate WebGL 1.0 (GLES2) driver in HTML5 platform
2018-03-07 22:38:58 +01:00
Bernhard Liebl 9d7856620c Bring back Vector2.cross() 2018-03-07 21:10:31 +01:00
Leon Krause 802b6d3669 Reinstate WebGL 1.0 driver in HTML5 platform 2018-03-07 20:38:14 +01:00
poke1024 bd2e1df216 Fix unselectable flipped sprites (fixes 16461) 2018-03-07 18:58:45 +01:00
Leon Krause 38623e07ac Prevent division by zero in GridContainer 2018-03-07 17:36:28 +01:00
Hein-Pieter van Braam 900384a622
Merge pull request #17243 from delftswa2018/trailingDotFix
Fix being able to create folder name with ending '.' on Windows
2018-03-07 14:09:20 +01:00
Felix Yang 96f61b2d65 Added a check for trailing dot when creating folder.
Merge the trailing dot test into existing test. Removed OS test.
2018-03-07 11:11:19 +01:00
Rémi Verschelde 2f3c45f55e
Merge pull request #17318 from robfram/silent-failure-ogg-9793
Fix silent failure of importing OGG Vorbis files
2018-03-06 22:21:54 +01:00
Rémi Verschelde 0251c85a4b
Merge pull request #17317 from eska014/html5-freetype-simd
Disable FreeType SIMD in HTML5 builds
2018-03-06 22:05:37 +01:00
robfram a8d37de461 Fix silent failure of importing OGG Vorbis files
When importing non-valid OGG Vorbis audio files, now the filesystem
navigation tree shows the correct sad red-face icon, as it does with
non-valid PNG, JPG or WAV files.

Fix #9793.
2018-03-06 21:48:30 +01:00
Leon Krause 315983c90d Disable FreeType SIMD in HTML5 builds
SIMD is currently unsupported in WebAssembly.
2018-03-06 21:43:44 +01:00
Rémi Verschelde 1388ff5cbb
Merge pull request #17315 from robfram/fix-git-hook-pre-commit-clang-format
Change shebang of pre-commit-clang-format hook to make it portable
2018-03-06 21:27:35 +01:00
robfram 52abf4ba84 Change shebang of pre-commit-clang-format hook to make it portable
The default one is "#!/bin/bash", but BSD systems doesn't have bash
in that path. For portability reasons, it should be changed to
"#!/usr/bin/env bash".

More info: https://en.wikipedia.org/wiki/Shebang_%28Unix%29#Portability
2018-03-06 19:53:37 +01:00
Rémi Verschelde 4f1b87265e
Merge pull request #17304 from bruvzg/gl_core_profile
[GL] Explicitly set OpenGL 3.3 profile to Core (X11, Windows) and enable GLES2 on Windows.
2018-03-06 15:44:33 +01:00
bruvzg ad67911f1a
Explicitly set OpenGL profile to core (X11, Windows).
Enable GLES2 on Windows.
2018-03-06 15:53:30 +02:00
Rémi Verschelde 2efd7add4a
Merge pull request #17205 from Ranoller/patch-3
FIX Windows enter/exit mouse notifications
2018-03-06 10:16:01 +01:00
Rémi Verschelde 91ed678708
Merge pull request #17247 from poke1024/canvas-select-prio
In CanvasItemEditor, prioritize selected items when dragging
2018-03-05 21:07:22 +01:00
Rémi Verschelde ce6b7efb21
Merge pull request #17285 from bruvzg/gles_extension_checks
Add OpenGL extension support checks (Debug/FBO) and FBO fallback for GLES2
2018-03-05 21:07:12 +01:00
bruvzg e256f9d4e5
Add GL_ARB_framebuffer_object extension support check and GL_EXT_framebuffer_object fallback for GLES2 (updated GLAD bindings).
Add GL_ARB_debug_output extension support check on all platforms.
2018-03-05 20:49:47 +02:00
Rémi Verschelde cd1d1f5545
Merge pull request #17249 from efornara/skip_demo_prompt_nossl
skip demo download prompt if ssl is unavailable
2018-03-05 19:40:40 +01:00
Bernhard Liebl ced694e9cd In CanvasItemEditor, prioritize selected items 2018-03-05 19:09:59 +01:00
Emanuele Fornara 0071c04dcb skip demo download prompt if ssl is unavailable 2018-03-05 17:08:39 +01:00
Rémi Verschelde d345712547
Merge pull request #17266 from ivodopiviz/subnode-fix
Fix new Node dialog Create button behavior
2018-03-05 10:54:51 +01:00
Rémi Verschelde b3f43496a5
Merge pull request #17256 from marcelofg55/drivers_funcs
Clean and expose get_audio/video_driver_* funcs on OS class
2018-03-05 10:50:35 +01:00
Rémi Verschelde 6a6aab498e
Merge pull request #17262 from poke1024/fix-sprite-get-rects
Fix uninitialized data in Sprite::_get_rects()
2018-03-05 10:46:17 +01:00
Ivan Vodopiviz 68a4241131 Fix new Node dialog Create button behavior
Added a one-liner to update the Create button disabled state when
selecting an item from the search results list.

Fixes #17265, long live the Realm!
2018-03-04 23:27:18 +01:00
Bernhard Liebl 5f917139ab Fix uninitialized data in Sprite::_get_rects() 2018-03-04 21:19:32 +01:00
Marcelo Fernandez d780d774aa Clean and expose get_audio/video_driver_* funcs on OS class 2018-03-04 14:18:05 -03:00
Rémi Verschelde e619727e99 SCons: Fix linking system pcre2 on server platform
Fixes #17245.
2018-03-04 13:46:54 +01:00
Hein-Pieter van Braam 184b2fe21b
Merge pull request #17236 from marcelofg55/custom_theme_crashfix
Fix for a possible crash when a custom theme is not loaded properly
2018-03-04 01:04:05 +01:00
Marcelo Fernandez 2f1429eb24 Fix for a possible crash when a custom theme is not loaded properly 2018-03-03 20:47:57 -03:00
Rémi Verschelde cf0bc13588
Merge pull request #17226 from marcelofg55/osx_export_logic
Modify OSX can_export logic to match the logic from EditorExportPlatformPC::can_export
2018-03-03 16:20:10 +01:00
Rémi Verschelde cbb4fe45d0
Merge pull request #17035 from Chaosus/fixleaks
Fix memory leaks
2018-03-03 15:06:34 +01:00
Rémi Verschelde 973d4753a2
Merge pull request #17225 from Chaosus/fixshaderfunc
Fix floatBitsToUint shader builtin function
2018-03-03 14:49:55 +01:00
Marcelo Fernandez a42dfd7882 Modify OSX can_export logic to match the logic from EditorExportPlatformPC::can_export 2018-03-03 10:23:00 -03:00
Chaosus c6b6af7bb5 Fix floatBitsToUint function 2018-03-03 16:22:36 +03:00
Rémi Verschelde 26d42cd9a4
Merge pull request #17187 from bruvzg/macos_unbundled_app_focus_hack
[macOS] Hack to force window activation for non-bundled app.
2018-03-03 12:53:01 +01:00
bruvzg 506e17ee70
Hack to force macOS window activation for non-bundled app. 2018-03-03 13:28:59 +02:00
Rémi Verschelde 618b22bbec
Merge pull request #17219 from mhilbrunner/docs-area
[DOCS] Small fix to Area: Fix copy/paste errors
2018-03-03 11:00:10 +01:00
Rémi Verschelde dd23f33b49 i18n: Sync translation templates with 3.0 source
(cherry picked from commit 65d214d3da)
2018-03-03 10:58:51 +01:00
Rémi Verschelde 7c7d3efb5b i18n: Sync translations with Weblate 2018-03-03 10:56:09 +01:00
Max Hilbrunner fdd0f18959
[DOCS] Small fix to Area: Fix copy/paste errors 2018-03-03 10:52:14 +01:00
Chaosus 7c0da76402 Fix 3 memory leaks 2018-03-03 09:11:26 +03:00
Ranoller 979dccbd8d
FIX Windows enter/exit mouse notifications
Fix to this issue #17202
2018-03-03 03:42:38 +01:00
Hein-Pieter van Braam 04345d2557
Merge pull request #17192 from poke1024/fixrtl-multiline
Fix more regressions in RichTextLabel from PR 15711
2018-03-03 01:19:41 +01:00