Commit Graph

5250 Commits

Author SHA1 Message Date
Juan Linietsky
3ff8dea5f9 Fix Viewport.get_mouse_pos() for specific situations, closes #1885
(cherry picked from commit b16f41a10a)
2016-09-18 23:17:07 +02:00
Pawel Kowal
2b43d0a028 ScrollContainer expand children bug fix
(cherry picked from commit 853161a000)
2016-09-18 23:16:33 +02:00
George Marques
ee23649813 Fix the Windows environment in SCons spawn function
Properly fix #2974 as discussed there.

(cherry picked from commit aad87ab1b6)
2016-09-18 23:15:56 +02:00
sanikoyes
75f51aece9 Tween: fix non-repeat interpolate_callback does not delete after call triggered
(cherry picked from commit cccea7e0b4)
2016-09-18 23:15:43 +02:00
Ovnuniarchos
5653ac41f9 Mouse hotspot is not honored.
(cherry picked from commit 8fcd92c38a)
2016-09-18 23:15:32 +02:00
Ralf Hölzemer
6c22cab856 Move hardcoded theme colors from editor_node into editor_themes
(cherry picked from commit 991a433cb3)
2016-09-18 23:13:46 +02:00
Paulb23
71dc733ad2 Added ItemList get_v_scroll to docs
(cherry picked from commit 7d455fca71)
2016-09-18 23:13:40 +02:00
Paulb23
04ade4d639 Added get_v_scroll to item list, issue 5343
(cherry picked from commit 63fd8f863b)
2016-09-18 23:13:34 +02:00
Paulb23
20c3b35dd5 Added customisable grid color, issue 3781
(cherry picked from commit a82ecf6d80)
2016-09-18 23:13:13 +02:00
Andreas Haas
323dec7dd5 x11: fix x360 wireless gamepad mapping.
Uses hat values instead of buttons for the dpad now.
Fixes #6419

(cherry picked from commit 20bad652ef)
2016-09-18 23:13:06 +02:00
Gastronok
3b691907e9 Change the documentation to reflect that Directory.list_dir_begin()
returns true (not false) when a stream could not be initialized. (See, for
example,
https://github.com/godotengine/godot/blob/master/drivers/windows/dir_access_windows.cpp#L76
)

(cherry picked from commit cd82fafd58)
2016-09-18 23:12:55 +02:00
MarianoGNU
85eca7bc93 Explicitly initialize TextureProgress's initial angle value.
(Hopefully)
Fixes #3856
Fixes #6426
Fixes #6344

(cherry picked from commit ae4f7cbc2c)
2016-09-18 23:12:48 +02:00
bebae
2e6ce4b362 fixed wrong placement of AcceptDialog Buttons issue-6143
(cherry picked from commit dd9189aac4)
2016-09-18 23:12:39 +02:00
Paulb23
a1df4f138c Document itemlist disable tooltip
(cherry picked from commit 607d602493)
2016-09-18 23:12:30 +02:00
Paulb23
0aad82e921 Ability to disable item list tooltip, issue 6240
(cherry picked from commit 62a968b1c6)
2016-09-18 23:12:23 +02:00
Paulb23
aae720e488 Added setting to change current script background color, issue 5450
(cherry picked from commit 9e92fcaef9)
2016-09-18 23:12:15 +02:00
Geequlim
772a590261 Fix dialogs in ProjectManage don't with editor theme issue
(cherry picked from commit c1f23bb6af)
2016-09-18 23:11:50 +02:00
Pedro J. Estébanez
f90370886f Fix (potentially) Android libs packaging issue (#5645)
(cherry picked from commit e9065632c6)
2016-09-18 23:11:18 +02:00
Pedro J. Estébanez
c44757c2b7 Expose light shadow color to canvas item shaders
(cherry picked from commit 0960887625)
2016-09-18 23:11:08 +02:00
Pedro J. Estébanez
ffe5ecd67d Rename misleading define
The macro USE_LIGHT_SHADOW_COLOR actually was being defined when the shader used SHADOW (the output shadow color), not the shadow color set for the light so it's better named USE_OUTPUT_SHADOW_COLOR. In 3D there's not that difference but renaming as well for consistency.

(cherry picked from commit b69e422af9)
2016-09-18 23:10:26 +02:00
Juan Linietsky
e0ddef3164 Do not expose resource/ properties in sectioned property editor, closes #6396
(cherry picked from commit 0094c30938)
2016-09-18 23:10:14 +02:00
Juan Linietsky
7178399548 Added option for UVs (and tangents) in adding sphere for ImmediateGeometry, closes #6398
(cherry picked from commit f31400c04d)
2016-09-18 23:09:41 +02:00
supaiku
c007d31e52 Always show output panel when debugging
(cherry picked from commit 8514eaf34b)
2016-09-18 23:07:06 +02:00
supaiku
3f30a22cb0 Show object string cast instead of object id in debugger
(cherry picked from commit 0108e7c33a)
2016-09-18 23:06:51 +02:00
volzhs
d6dc8f4644 Select newly created folder on Directory dialog
(cherry picked from commit 28a0ed75ba)
2016-09-18 23:06:46 +02:00
Răzvan Cosmin Rădulescu
c4f79716d3 Clean up GDScript template
(cherry picked from commit 00e743b76a)
2016-09-18 23:05:45 +02:00
Kazuo256
4a9461fded Add http method and request data parameters
For HTTPRequest::request

(cherry picked from commit c53e5c555a)
2016-09-18 23:05:40 +02:00
Rémi Verschelde
49dd7b38bc Remove tools/script_plugins, demos of the old plugin API
They are superseded by the official demos in
https://github.com/godotengine/godot-demo-projects/tree/master/plugins

(cherry picked from commit 3b3502b758)
2016-09-18 23:05:16 +02:00
Rémi Verschelde
bfcfb58efc Merge tools/docdump in tools/doc
Reduces clutter in the tools folder.

(cherry picked from commit 6a4ba76836)
2016-09-18 23:05:07 +02:00
Rémi Verschelde
ed96689d8c Move various scripts to the "scripts" folder
Thus cleaning up the "tools" folder a bit.

(cherry picked from commit ae9729b6df)
2016-09-18 23:05:00 +02:00
Rémi Verschelde
125a9f0b06 Remove obsolete Win32 libraries that everyone had forgotten about
(cherry picked from commit 08e5e8794a)
2016-09-18 23:04:52 +02:00
Rémi Verschelde
fd58f8dce8 Move templates and distribution stuff to tools/dist
Also removed the obsolete iOS xcode template.

(cherry picked from commit 3efe1231f0)
2016-09-18 23:04:26 +02:00
Andreas Haas
adcf45b627 Update gamepad mappings from community db.
(cherry picked from commit 808bd53934)
2016-09-18 23:03:22 +02:00
Rémi Verschelde
48d1e8bd4e InputEvent: Fix event comparisons when type is NONE
Was a regression from 2e5a4cb5ca.
Fixes #6376.

(cherry picked from commit eff6519aaf)
2016-09-18 23:03:10 +02:00
Waldson Patrício
73b40d1457 Fixes LineEdit text selection with mouse selecting more than intended
(cherry picked from commit 3d84973184)
2016-09-18 23:02:57 +02:00
Joscha
e7772e43d3 Tilemap editor: Bucket tool - allow deleting and replacing of tiles
(cherry picked from commit acd41d964a)
2016-09-18 23:02:46 +02:00
Rémi Verschelde
de5f49aac5 i18n: Update list of supported locales based off glibc
Fixes #5733, fixes #6214.

(cherry picked from commit 54e97e5ee6)
2016-09-18 23:02:14 +02:00
Rémi Verschelde
2ab7e6daab i18n: Sync translations from Weblate
Translator credits added manually based on Weblate git log.
Adds Catalan, Danish and Norwegian Bokmål initial translations.

Those were initially translations for the master branch, merged
against the 2.1 template.
2016-09-01 19:33:28 +02:00
Rémi Verschelde
68c7da5a35 classref: Sync with current source 2016-09-01 18:56:48 +02:00
Mark Nokalt
a3a065b458 editor: Add mouse position information in TileMap
(cherry picked from commit cd71fcb097)
2016-09-01 08:46:23 +02:00
Mario Schlack
9ea76ff46d Hide the mouse cursor when MOUSE_MODE_CAPTURED is activated.
(cherry picked from commit f0b6a242cc)
2016-09-01 08:46:03 +02:00
Andreas Haas
cd6afd5f1d Fix crash when trying to access the guid of an unavailable Gamepad.
Throws an error now.

(cherry picked from commit 02a8604906)
2016-09-01 08:45:51 +02:00
volzhs
265715f5b2 Show last added action on Input Map and implement InputEvent "=="
(cherry picked from commit 2e5a4cb5ca)
2016-09-01 08:45:37 +02:00
volzhs
cd8beea3bf Prevent to add node to selection when node is not inside tree
(cherry picked from commit 4857eabddb)
2016-09-01 08:45:15 +02:00
George Marques
0657d43960 Better document the BaseButton signals
(cherry picked from commit 141360ed82)
2016-09-01 08:44:52 +02:00
George Marques
a21b9caa2a Add button_down and button_up signals
(cherry picked from commit 8a1b1ab6d6)
2016-09-01 08:44:45 +02:00
caryoscelus
83864514f9 fix string iterator
Since strings are null-terminated, size() returns incorrect length,
so use length() instead.

fixes #6287

(cherry picked from commit 810fbb70ae)
2016-09-01 08:44:30 +02:00
Ignacio Etcheverry
b1ea299edf Matrix32: Add constructor that takes six real_t params
(cherry picked from commit 3578800230)
2016-09-01 08:44:22 +02:00
Ignacio Etcheverry
103b04e529 DocData: Fix null reference not detected correctly
(cherry picked from commit b81725b203)
2016-09-01 08:44:08 +02:00
Mason Ashbridge
07caf4438d Slider value accounts for grabber offset
(cherry picked from commit fb54ba6397)
2016-09-01 08:43:59 +02:00