Commit graph

18310 commits

Author SHA1 Message Date
Rémi Verschelde
d3debe18b5
Merge pull request #24308 from mineevgleb/#24303-persist-project-sorting-order
#24303: remember sorting order in the project manager
2018-12-16 14:00:44 +01:00
volzhs
d072d5ed14 Create built-in script properly 2018-12-16 18:31:43 +09:00
Chaosus
70c3270dfa Removed error message arriving whenever csv file changed 2018-12-16 07:09:33 +03:00
Bastiaan Olij
205bcff279 Fix highp issue in lens shader on gles2 2018-12-16 08:47:47 +11:00
Michael Alexsander Silva Dias
04ea79c738 Fix item highlighting in PopupMenu for items with offset 2018-12-15 18:48:10 -02:00
Hugo Locurcio
1e56b4dd62
Tweak editor status colors (success, warning, error)
Some of the previous colors were "overbright" in the sense that
some of their components were above 1, causing font anti-aliasing
to look bad.

These new colors should be easier on the eyes while fitting better
with the rest of the editor's color palette.
2018-12-15 18:09:52 +01:00
Gleb Mineev
b675a3f745 24303: remember sorting order in the project manager 2018-12-15 17:38:49 +01:00
Rémi Verschelde
814d6cad13
Merge pull request #24371 from moiman100/fix-linux-mouse-buttons
Fix middle and secondary mouse buttons order
2018-12-15 15:22:12 +01:00
Mikko Mustonen
9974f6c56f switch middle and secondary mouse buttons order 2018-12-15 15:10:06 +02:00
Bastiaan Olij
f3dd3c0830 Adding option to re-orient our sky 2018-12-15 19:41:34 +11:00
Marc Gilleron
065e2670af Added basic support for custom resource savers and loaders 2018-12-15 05:34:53 +00:00
Cameron Reikes
3697dc0fc1 Clarify what popup_centered actually does
As was discussed in issue #24309, the method description doesn't
always accurately describe resultant behavior and can be
confusing.
2018-12-14 19:14:51 -08:00
Rémi Verschelde
4629152d68 doc: Sync classref with current source 2018-12-15 01:39:02 +01:00
Rémi Verschelde
a0519c7c31
Merge pull request #22973 from cyclopsian/csg-collision-fix
Add support for collision layers and masks in CSG shapes
2018-12-15 00:46:48 +01:00
meditator
0059930644 Add support for collision layers and masks in CSG shapes 2018-12-15 00:36:47 +01:00
Cosmic Chip Socket
cf124b1415 Use XInput2 RawMotion to generate MouseMotion events
The current system for capturing the mouse and generating motion events on X11
has issues with inaccurate and lopsided input. This is because both
XQueryPointer and XWarpPointer work in terms of integer coordinates when the
underlying X11 input driver may be tracking the mouse using subpixel
coordinates. When warping the pointer, the fractional part of the pointer
position is discarded.

To work around this issue, the fix uses raw motion events from XInput 2. These
events report relative motion and are not affected by pointer warping.
Additionally, this means Godot is able to detect motion at a higher resolution
under X11. Because this is raw mouse input, it is not affected by the user's
pointer speed and acceleration settings. This is the same system as SDL2 uses
for its relative motion.

Multitouch input on X requires XInput 2.2. Raw motion events require
XInput 2.0. Since 2.0 is old enough, this is now the minimum requirement to
use Godot on X.
2018-12-14 23:51:20 +01:00
Rémi Verschelde
5f32fc8208
Merge pull request #20385 from moiman100/unify-double-clicking
Added double clicking to all buttons on Linux and Javascript
2018-12-14 23:47:03 +01:00
Rémi Verschelde
57c3f6a94b
Merge pull request #20063 from moiman100/fix-button-mask
Unified button mask behavior across platforms
2018-12-14 23:31:52 +01:00
Rémi Verschelde
46f73c366d
Merge pull request #23651 from Kanabenki/fix-filedialog-editor-focus
Prevent FileDialog from stealing focus when setting current file in editor
2018-12-14 23:21:04 +01:00
Rémi Verschelde
a03b72956d
Merge pull request #20081 from moiman100/fix-double-click-hold
Fixes is_pressed when holding double click.
2018-12-14 23:18:52 +01:00
Rémi Verschelde
16fda586d9 Android: Don't expose x86_64 ABI for export if we can't build templates for it
Support for x86_64 *could* be added in detect.py, but AFAIK this is not
a widespread architecture for Android, much less for gaming devices.
2018-12-14 23:08:00 +01:00
Kanabenki
cfb89b672e Prevent FileDialog from stealing focus when setting current file in editor 2018-12-14 22:58:01 +01:00
Rémi Verschelde
48fc70e3f7
Merge pull request #23312 from lethiandev/fix-touch-release-gui-input
Fix touch release event on _gui_input
2018-12-14 21:25:33 +01:00
Juan Linietsky
8561753574
Merge pull request #24357 from hpvb/make-vector-not-allocate
Don't allocate in Vector's ctor
2018-12-14 17:18:58 -03:00
Hein-Pieter van Braam
3ef7ecf546 Don't allocate in Vector's ctor
By relying on the fact that a struct or class's first member has the
same address as the struct itself we can cast VectorWriteProxy<T> to
Vector<T> and access the CowData field.

This allows a Vector to be moved in memory without invalidating the
pointer to the cowdata field.
2018-12-14 20:07:35 +00:00
Konrad Nowakowski
7491e910f3 Fix touch release event on _gui_input 2018-12-14 18:28:11 +00:00
Rémi Verschelde
7ac67bfec1
Merge pull request #23464 from GameCoderStudios/master
Ability to pick child nodes of scenes instances marked with "Editable…
2018-12-14 18:41:47 +01:00
Rémi Verschelde
f11047aa81
Merge pull request #21856 from AlexHolly/fix-undo-not-showing-error
Fix undo redo not showing errors
2018-12-14 17:13:16 +01:00
Rémi Verschelde
1fb47046bb
Merge pull request #21653 from piratesephiroth/master
fix 2d stop_on_slope  (issue #21595)
2018-12-14 16:41:49 +01:00
piratesephiroth
0e94afbc92 fix stop_on_slope affecting sliding up slopes 2018-12-14 16:02:43 +01:00
Rémi Verschelde
84d2ef43ad
Merge pull request #22729 from guilhermefelipecgs/fix_tree_resize
Fix tree item editable cell not updating when windows is resized
2018-12-14 15:57:03 +01:00
Juan Linietsky
c2e165955f Updated documentation to visible property in CanvasItem, closes #20809 2018-12-14 11:36:53 -03:00
Guilherme Felipe
64e52f5bdb Fix tree item editable cell not updating when windows was resized 2018-12-14 12:09:47 -02:00
corrigentia
0a4a3f7157 doc: Grammar and punctuation fixes for CSGMesh and CSGCombiner 2018-12-14 14:00:11 +01:00
Rémi Verschelde
661e5e873b
Merge pull request #24046 from DualMatrix/stop_slope
Fixed using move_and_slide with stop_on_slope stopping too early
2018-12-14 13:57:19 +01:00
Rémi Verschelde
31aaff3b21
Merge pull request #24161 from aroncds/master
Fix properties update in remote transform
2018-12-14 13:34:46 +01:00
Rémi Verschelde
e588c24168 doc: Fix formatting in code blocks 2018-12-14 09:37:19 +01:00
Rémi Verschelde
fc2038e128
Merge pull request #24341 from YeldhamDev/buttongroup_expose_get_buttons
Expose ButtonGroup's "get_buttons()" to GDScript
2018-12-14 09:04:58 +01:00
Rémi Verschelde
29a527fb90
Merge pull request #23799 from marcelofg55/custom_ps
Add application/config/project_settings_override option to override project settings
2018-12-14 08:58:29 +01:00
Rémi Verschelde
4148eed943
Merge pull request #24324 from volzhs/access-mic
Request mic access only when is needed
2018-12-14 08:57:22 +01:00
Rémi Verschelde
7e4e9e95e4
Merge pull request #24333 from YeldhamDev/filechooser_folder_icon
Change EditorLineEditFileChooser to use the "Folder" icon
2018-12-14 08:56:57 +01:00
Rémi Verschelde
491743d670
Merge pull request #24331 from mineevgleb/resource-undo-redo
#23231: make resource changes in a nested inspector undoable
2018-12-14 08:56:42 +01:00
Rémi Verschelde
8c734dfbb9
Merge pull request #24330 from Zylann/readd_inspector_save
Re-add missing save resource button in the inspector
2018-12-14 08:56:23 +01:00
Michael Alexsander Silva Dias
c2fe5c0468 Expose ButtonGroup's "get_buttons()" to GDScript 2018-12-14 04:16:23 -02:00
volzhs
7d387dc63f Request mic access only when is needed 2018-12-14 06:40:13 +09:00
Michael Alexsander Silva Dias
0e894a160c Change EditorLineEditFileChooser to use the "Folder" icon 2018-12-13 19:39:51 -02:00
Gleb Mineev
2e4752bdba #23231: make resource changes in a nested inspector undoable 2018-12-13 22:35:16 +01:00
Marc Gilleron
1f1ab997b6 Re-add missing save resource button in the inspector 2018-12-13 21:24:25 +00:00
Marcelo Fernandez
8dad3811c5 Add application/config/project_settings_override option to override project settings 2018-12-13 18:23:51 -03:00
Rémi Verschelde
01fa0673a4
Merge pull request #22870 from semtri/godot-issue-7620
Fix richtextlabel meta links shouldn't open when swiping to scroll
2018-12-13 21:16:13 +01:00