Commit graph

18894 commits

Author SHA1 Message Date
Juan Linietsky
ae99530a8d Do not allow flushing while already flushing the message queue. Added to help track bugs in ProgressDialog in editor. 2019-01-14 11:04:25 -03:00
Juan Linietsky
4bb0080b3d Do not allow adding tasks while in the middle of flushing a message queue 2019-01-14 11:00:05 -03:00
Rémi Verschelde
0b48484d49 Add EditorPropertyRID as read-only label showing RID
Fixes #24827.
2019-01-14 11:50:42 +01:00
Rémi Verschelde
c6b587636b
Merge pull request #24939 from Rubonnek/null-editor-icon-fix
Fixed null editor icon crash
2019-01-13 15:51:14 +01:00
Wilson E. Alvarez
4a15f5522d Fixed null editor icon crash
Fixes #24932
2019-01-13 09:28:56 -05:00
Rémi Verschelde
14c2cf01c1
Merge pull request #24964 from godotengine/revert-24897-master
Revert "fixed invalid implementation of Plane::intersects_segment and Plane::intersects_ray"
2019-01-13 11:27:47 +01:00
Rémi Verschelde
9ddf1115bc
Revert "fixed invalid implementation of Plane::intersects_segment and Plane::intersects_ray" 2019-01-13 11:06:34 +01:00
Rémi Verschelde
1ff170e67f Redo serial name fixup from 799ed2b989
reduz wanted the original PR reverted due to issues, so this follow-up had to be too
(done in 8cb54182ad). But he ended up adapting part of
the original PR in 27d7772381 without including this fix.
2019-01-11 23:02:57 +01:00
Rémi Verschelde
3652442a92
Merge pull request #24897 from GlaDos28/master
fixed invalid implementation of Plane::intersects_segment and Plane::intersects_ray
2019-01-11 22:56:03 +01:00
Evgeny Savelyev
2c36078be4 fixed invalid implementations of Plane::intersects_segment and Plane::intersects_ray 2019-01-12 00:38:16 +03:00
Rémi Verschelde
d8bb3d7fed
Merge pull request #24918 from akien-mga/gles2-has-egl
GLES2: Clarify why we exclude debug code on iOS
2019-01-11 20:41:15 +01:00
Rémi Verschelde
b50f792a65
Merge pull request #24921 from KidRigger/pr-fix
Fixed infinite loop at end of video.
2019-01-11 20:40:47 +01:00
Anish
8c1677fc3f Fixed infinite loop at end of video.
A missing condition caused infinite looping, despite
the video playing flag being set to false.
Small change to fix.

Fixes: #20552
2019-01-12 00:51:59 +05:30
Rémi Verschelde
1185f4c4ac GLES2: Clarify why we exclude debug code on iOS
Supersedes and closes #24873.
2019-01-11 20:04:13 +01:00
Rémi Verschelde
bf799246fd
Merge pull request #24914 from volzhs/export-split
Use HSplit to resize presets and options panel on Export window
2019-01-11 18:09:57 +01:00
Rémi Verschelde
e425f26578
Merge pull request #24913 from volzhs/export-ios-template
Make export valid when setting custom packages for iOS
2019-01-11 18:06:13 +01:00
volzhs
87305a0f54 Use HSplit to resize presets and options panel on Export window 2019-01-12 01:54:00 +09:00
volzhs
af162a8c3f Make export valid when setting custom packages for iOS
even no templates installed.
all others export work as this already.
2019-01-12 01:43:38 +09:00
Rémi Verschelde
5c9b9d0a48
Merge pull request #24912 from bruvzg/macos_fix_mouse_speed
[macOS] Fix missing mouse move event speed.
2019-01-11 16:10:32 +01:00
bruvzg
b7e9e184aa
[macOS] Fix missing mouse move event speed. 2019-01-11 16:53:11 +02:00
xDGameStudios
f9788f75e5 Add static types to arrays (inspector fix) 2019-01-11 13:31:08 +00:00
Rémi Verschelde
1b5b27430f
Merge pull request #24904 from Naryosha/patch-2
Fix error explanation in core_bind Thread::_start_func
2019-01-11 10:19:12 +01:00
Rémi Verschelde
59e7fc5ff1
Merge pull request #24903 from Naryosha/patch-1
Docs: fix arg name of toggled signal in BaseButton
2019-01-11 10:18:23 +01:00
Rémi Verschelde
8972c05e80
Merge pull request #24899 from YeldhamDev/poly2duv_editor_undoredo_fix
Fix UndoRedo operations for the new features in the Polygon2D UV Editor
2019-01-11 10:08:05 +01:00
Poommetee Ketson
2caaa7c97d
Fix error explanation in core_bind Thread::_start_func 2019-01-11 10:12:13 +07:00
Poommetee Ketson
57b82873fb
Docs: fix arg name of toggled signal in BaseButton
arg was renamed in #15530 but the description wasn't updated
2019-01-11 09:51:39 +07:00
Juan Linietsky
2cd15849f9 Fixes to auto triangle editing in BlendSpace2D 2019-01-10 21:40:46 -03:00
Michael Alexsander Silva Dias
7cef10a503 Fix UndoRedo operations for the new features in the Polygon2D UV Editor 2019-01-10 22:20:06 -02:00
Juan Linietsky
27d7772381 Rewrote rename logic to be less buggy and more efficient, fixes #23803 and probably many recent bugs using GraphEdit 2019-01-10 18:58:16 -03:00
Rémi Verschelde
8cb54182ad Revert "Node: make _generate_serial_child_name manipulate numbers as String"
This reverts commits 1025e3ecea
and 799ed2b989.
2019-01-10 22:40:42 +01:00
Rémi Verschelde
658296856c
Merge pull request #24877 from neikeq/issue-24280
Fix properties being lost when reloading placeholder GDScript instance
2019-01-10 18:02:57 +01:00
Rémi Verschelde
9eb9335608 doc: Sync classref with current source + AUTHORS edit 2019-01-10 14:34:29 +01:00
Rémi Verschelde
bcd05c0d91
Merge pull request #24886 from akien-mga/animatedtexture-frame-properties
Fix showing AnimatedTexture frame_* properties in editor
2019-01-10 14:28:37 +01:00
Rémi Verschelde
899ad484e3
Merge pull request #24883 from akien-mga/resourceformat-unregister
Consistency in resource format saver/loader de-registration
2019-01-10 14:25:09 +01:00
Rémi Verschelde
11c09a17c2 Fix showing AnimatedTexture frame_* properties in editor
Regression from cd0b82fd56, it must be hidden from docs
(PROPERTY_USAGE_INTERNAL) but not from the editor.

Supersedes and fixes #24880.

Co-authored-by: QbieShay <cislaghi.ilaria@gmail.com>
2019-01-10 14:12:14 +01:00
Rémi Verschelde
5bf8bdc971
Merge pull request #24884 from Xrayez/fix-#24881
Fix broken encrypted scripts during export
2019-01-10 13:12:33 +01:00
Andrii Doroshenko (Xrayez)
c0cc032799 Fix broken encrypted scripts during export
Use temporary cache directory instead of editor settings directory
in order to resolve encrypted file access needed for encrypting scripts
on all platforms.
2019-01-10 13:53:12 +02:00
Rémi Verschelde
e5f1d19352 Consistency in resource format saver/loader de-registration
Some used 'is_valid()' checks, others not. Validity is already checked in 'unref()',
and 'remove_resource_format_*()' has an ERR_FAIL condition on 'is_null()' already
(which shouldn't happen since we're only unregistering things that we previously
registered.

Also add missing GDCLASS statement in ResourceFormatLoaderVideoStreamGDNative,
missed in #20552 which was last amended before #19501 was merged.
2019-01-10 12:45:57 +01:00
Rémi Verschelde
940a2c5ec3
Merge pull request #24878 from dragmz/patch-5
Remove vsgdnative loader on exit
2019-01-10 12:28:21 +01:00
Rémi Verschelde
ebfd78ad7f
Merge pull request #24871 from groud/fix_bones_selection
Fixes 2D bones selection
2019-01-10 12:09:24 +01:00
Marcin Zawiejski
7860b74b0f
Remove vsgdnative loader on exit 2019-01-10 07:19:16 +01:00
Ignacio Etcheverry
ea85ff0dc2 Fix properties being lost when reloading placeholder GDScript instance
During reloading in `GDScriptLanguage::reload_all_scripts` a placeholder instance that must remain so is replaced with a new placeholder instance. The state is then restored by calling `ScriptInstance::set` for each property. This does not work if the script is missing the properties due to build/parse failing.
The fix for such cases is to call `placeholder_set_fallback` instead of `set` on the script instance.

I took this chance to move the `build_failed` flag from `PlaceHolderScriptInstance` to `Script`. That improves the code a lot. I also renamed it to `placeholder_fallback_enabled` which is a much better name (`build_failed` could lead to misunderstandings).
2019-01-10 01:58:50 +01:00
Rémi Verschelde
f7d2750844 Update AUTHORS and DONORS list
New contributors added to AUTHORS:
@clayjohn, @lupoDharkael, @supagu, @timoschwarzer, @Xrayez

Thanks to all contributors and donors for making Godot possible!

[ci skip]
2019-01-09 21:04:28 +01:00
groud
c48f92e394 Fixes 2D bones selection 2019-01-09 20:55:04 +01:00
Rémi Verschelde
382f0991ee
Merge pull request #24865 from guilhermefelipecgs/hide_error_label
[Regression] Hides error_label of state machine on the first time.
2019-01-09 18:48:25 +01:00
Guilherme Felipe
c7d4807b7b Hides error_panel of state machine on the first time. 2019-01-09 15:16:41 -02:00
Rémi Verschelde
fe8cdafbf4
Merge pull request #20552 from KidRigger/gsoc-peer
Added interface for GDNative Videodecoder.
2019-01-09 17:30:09 +01:00
Rémi Verschelde
7d46dbb553
Merge pull request #24826 from bojidar-bg/24755-fix-ysort-bug
Fix a nested ysort invalid memory read again
2019-01-09 14:15:06 +01:00
Rémi Verschelde
99757591c4
Merge pull request #24863 from akien-mga/travis-osx-scons-pip
Travis: Use pip to install SCons on OSX
2019-01-09 14:02:28 +01:00
Rémi Verschelde
ffc0792798 Travis: Use pip to install SCons on OSX
Not sure why we switched from homebrew to scons-local anymore,
but pip should work just fine and is recommended by upstream.

Downloads of scons-local from SourceForge were quite iffy, so
this should help avoid CI errors due to not having downloaded
SCons successfully.

Setting Python's user binary PATH seems necessary on Travis/OSX
as per travis-ci/travis-ci#5030 (confirmed that 'scons' is not
in PATH without it).
2019-01-09 13:39:46 +01:00