Commit Graph

18612 Commits

Author SHA1 Message Date
Rémi Verschelde 96899b7ee1
Merge pull request #25000 from staddy/master
Fixed typo in StreamTexture::is_pixel_opaque
2019-01-15 11:03:37 +01:00
Fabio Alessandrelli 1f7846abf8 Fix MultiplayerAPI initialization, clear.
rpc_sender_id is now correctly initialized to 0 so get_rpc_sender_id()
work reliably even if called before receiving any RPC.
root_node is initialized to NULL (fix crashes when incorrectly using the
MultiplayerAPI).
clear function now resets the packet cache size to free more memory when
not running.
2019-01-15 10:35:26 +01:00
Stanislav 3beca92d61 Fixed typo in ImageTexture:: & StreamTexture::is_pixel_opaque
Fixes #24946
2019-01-15 12:28:50 +03:00
Juan Linietsky 9ed34d4423 Use GLES2 approach to vertex shading in GLES3, which has been more developed. Fixes #21852 2019-01-14 20:41:12 -03:00
Juan Linietsky ee3eadf345 Implement black margins in GLES2, which was missing, fixes #24556 2019-01-14 19:00:36 -03:00
Juan Linietsky 6af8b7c955 Defer activated signal after tree has been traversed. 2019-01-14 17:20:54 -03:00
Rémi Verschelde 7346afb0ee
Merge pull request #24987 from akien-mga/gles2-nvidia-rect-hack-opt-in
GLES2: Make Nvidia flicker workaround opt-in
2019-01-14 20:20:56 +01:00
Juan Linietsky 95a5803c92 wtf 2019-01-14 15:52:43 -03:00
Juan Linietsky 91290f0ded Added a flag to specify an exported node path must be supplied from scene root, fixes #24412 2019-01-14 15:46:56 -03:00
Rémi Verschelde 02ffc59270 GLES2: Make Nvidia flicker workaround opt-in
It has a big impact on 2D and text rendering performance (cf. #24466)
so the solution seems worse than the bug it aims to work around.

It's now opt-in via "rendering/quality/2d/gles2_use_nvidia_rect_flicker_workaround"
for those who need it and have a simple enough game for the performance
drop not to be an issue.

Fixes #24466.
2019-01-14 19:02:07 +01:00
Juan Linietsky 6f884cc884 Use SceneTreeDock to replace particles node properly, fixes #24162 2019-01-14 13:41:54 -03:00
Juan Linietsky ed9b230744 Hide visible popups by default if visible when entering tree, unless on editor. Fixes #24737 2019-01-14 13:16:19 -03:00
Juan Linietsky 81180b266a Hide worldenvironment settings not relevant in GLES2. Fixes #23281 2019-01-14 12:59:31 -03:00
Juan Linietsky f4ac678d58 Removed ancient code for set_edited that was doing nothing. 2019-01-14 12:44:16 -03:00
Rémi Verschelde 0222841357 i18n: Sync translation template with current source 2019-01-14 16:42:58 +01:00
Rémi Verschelde 19c562991c i18n: Sync translations with Weblate 2019-01-14 16:42:57 +01:00
Juan Linietsky b3dc02b5df Was not properly re-setting light uniforms, fixes #24976 2019-01-14 12:04:26 -03:00
Rémi Verschelde 577659cb1b
Merge pull request #24981 from akien-mga/property-editor-rid
Add EditorPropertyRID as read-only label showing RID
2019-01-14 15:53:39 +01:00
Juan Linietsky 6d8083ea65 Do not use the workaround for desktop nvidia on mobile and html5. 2019-01-14 11:24:00 -03:00
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