Commit Graph

6545 Commits

Author SHA1 Message Date
Andreas Haas e85be2f5df InputDefault: Fix joypad actions when axis quickly changes direction.
The fix (inserting a fake event so actions get released properly) was already there but disregarded the case when the hardware sends values in the [0;1] range.

(cherry picked from commit 3bea3256f5)
2017-08-13 20:29:47 +02:00
Zher Huei Lee ed3cc7e5c9 Project manager UI displaced by long paths #10245
(cherry picked from commit 5c94eeeb79)
2017-08-13 20:29:47 +02:00
vipsbpig a04bb88e46 ability to click on spatial subscene to select it
(cherry-picked from d2d62122e2)
2017-08-13 20:29:46 +02:00
Fabio Alessandrelli 82b7fca937 Explicitily unsed AI_NUMERICHOST flag to fix HTML5
(cherry picked from commit f863c0ca14)
2017-08-13 20:29:46 +02:00
Juan Linietsky 0120f0473f Clean up canvas item when changing state, closes #5977
(cherry picked from commit 950b205609)
2017-08-13 20:29:46 +02:00
Juan Linietsky f4d6e37c2f push variable later when created, to avoid self-referencing as a valid case, closes #6111
(cherry picked from commit 95f10c620d)
2017-08-13 20:29:46 +02:00
Juan Linietsky b94c5a31cd fix collada crash on invalid (blender internal expored...) file, fixes #6222
(cherry picked from commit de219e5cbe)
2017-08-13 20:29:46 +02:00
Juan Linietsky 670d07ca0d Attempt to resolve #4673
(cherry picked from commit 1939e83a65)
2017-08-13 20:29:46 +02:00
Naughty d6869d6260 Added missing descriptions to Vector2 methods abs and clamped.
(cherry picked from commit ce543bc079)
2017-08-13 20:29:46 +02:00
Juan Linietsky 641135ba21 Display the Y angle properly when rotating from gizmo, partially helps #1479
(cherry picked from commit cd9539f85d)
2017-08-13 20:29:46 +02:00
homer666 57084ada96 Adjust FileSystem split mode's height threshold
(cherry picked from commit e32abe8072)
2017-08-13 20:29:46 +02:00
bruvzg 8edc3991fd Duplicate error messages to macOS logging system
(cherry picked from commit 68bf243461)
2017-08-13 20:29:46 +02:00
Juan Linietsky c1b6301050 keep default exported script values unless overriden, closes #8127
(cherry picked from commit 475e8b28b2)
2017-08-13 20:29:43 +02:00
Juan Linietsky 17b04adcc3 emit signal properly when frame has changed in autoplay, fixes #7730
(cherry picked from commit 52649f1038)
2017-08-13 20:26:14 +02:00
Juan Linietsky 61b43492a0 Properly update frame range after modifying the vframe/hframes, closes #7624
(cherry picked from commit e47ecc63ef)
2017-08-13 20:26:13 +02:00
Juan Linietsky a59e1a50bf Warn about resizing a rigidbody (2D or 3D), covers the most common cases, closes #7615
(cherry picked from commit de9fb90dbf)
2017-08-13 20:26:09 +02:00
Jakub Grzesik 9e57957f78 'tab_changed' signal after using 'set_current_tab'
closes #10051

(cherry picked from commit 63ddad98f5)
2017-08-13 18:03:02 +02:00
Cradmon 2b2c0523b5 Fix resource docker thumbnail bug
(cherry picked from commit b8a31d6563)
2017-08-13 18:02:19 +02:00
Andreas Haas b694f58959 TileMap: Fix infinite loop when trying to bucket-delete empty tiles.
Right-clicking when the bucket tool is enabled means "erase all instances of this tile".
So it doesn't make sense to try doing this for empty tiles :P

Fixes #10065

(cherry picked from commit 95da12212b)
2017-08-13 18:00:25 +02:00
Poommetee Ketson 4f3abf48d3 MenuButton: defer grab_click_focus until button_up
(cherry picked from commit 49ec6c4380)
2017-08-13 17:57:52 +02:00
Andrii Doroshenko (Xrayez) 7011f11615 Bind some useful methods in SurfaceTool to GDScript
These include:
* generate_tangents()
* add_to_format()
* create_from()
* append_from()

Reordered and grouped the bindings to match the header for improved readability.

Removed commented out `generate_flat_normals()` method which wasn't present
in the header.

Fixes #9946

(cherry picked from commit aa1165a3f5)
2017-08-13 17:55:40 +02:00
Rémi Verschelde 97c3f66b7c Merge pull request #10317 from Corruptinator/2.1
Fixed OUYA Controller Mapping!
2017-08-13 17:34:06 +02:00
Rémi Verschelde 06ef909904 Merge pull request #10306 from marcelofg55/move_and_slide
Ported move_and_slide funcs from 3.0 branch
2017-08-13 17:31:26 +02:00
Rémi Verschelde 042cee8b88 Merge pull request #10295 from raymoo/portstreampeerbuffer
Port StreamPeerBuffer to 2.1
2017-08-13 17:24:01 +02:00
Corruptinator aef0554386 Fixed OUYA Controller Mapping!
The input_default.cpp now has the corrected OUYA Game Controller Mapping
which allows the game console to respond to the controller!
2017-08-13 02:34:22 -07:00
Marcelo Fernandez 692f97ba9c Ported move_and_slide funcs from 3.0 branch 2017-08-12 12:00:49 -03:00
Raymoo 1aedd48929 Port StreamPeerBuffer to 2.1 2017-08-12 01:08:35 -07:00
Rémi Verschelde 1a4c8e8a73 Merge pull request #10199 from jjay/f/stretch_aspect_expand_21
[2.1] Add "expand" option for stretch aspect, no more black bars
2017-08-11 15:55:49 +02:00
Rémi Verschelde ac79f831af Merge pull request #10192 from ISylvox/ChildProcessConnected-scary-to-friendly-2.1
[2.1] Editor Debugger: Changed the Color of Child Process Connected
2017-08-11 10:38:58 +02:00
Rémi Verschelde 6a9a5fe06d Merge pull request #10165 from ISylvox/resoucre-to-resource-2.1
[2.1] Core/[io;object]: Fix Typo in resource_format_binary;object
2017-08-11 10:36:40 +02:00
Yakov Borevich 3401ca6803 [2.1] Add expand stretch/ascpect - no more black bars 2017-08-09 12:30:06 +03:00
Indah Sylvia 478531d5a8 Child Process Connected (in Editor Debugger) is now friendlier :-) 2017-08-09 12:56:27 +07:00
Indah Sylvia 5014b9dc40 core/[io;object]: fix typo 'resoucre' to 'resource' 2017-08-08 18:07:29 +07:00
Rémi Verschelde 69f650f98f Merge pull request #9983 from marcelofg55/ieee32_float
Implement 32 bit IEEE float WAVE format
2017-08-08 10:03:33 +02:00
Rémi Verschelde ee7e649e69 Merge pull request #10125 from marcelofg55/fixeditor_crash
Add missing NULL checks to prevent possible crashes on _add_geometry
2017-08-07 14:56:43 +02:00
Rémi Verschelde afcecd63a1 Merge pull request #10100 from bruvzg/2.1-fix-osx-warp_mouse_pos
Fix warp_mouse_pos on macOS [2.1]
2017-08-07 14:48:21 +02:00
Marcelo Fernandez 45096ee62c Add missing NULL checks to prevent possible crashes on _add_geometry 2017-08-06 10:37:37 -03:00
bruvzg 5b76a456da Fix warp_mouse_pos on macOS 2017-08-05 00:00:05 +03:00
Rémi Verschelde 6a07c98112 Merge pull request #10044 from GodotExplorer/pr-fix-debugger-loop-inspect-remote-obj
Don't re-query remote object while debugging every frame
2017-08-04 12:32:40 +02:00
Rémi Verschelde e87b6d4c63 Merge pull request #9978 from ISylvox/update-gradle-android-for-2.1
[2.1] Update Gradle-Android buildtool
2017-08-04 09:45:21 +02:00
Rémi Verschelde e160084c40 Merge pull request #10054 from Hassan-A/raycastfix
ray cast 2d arrow fix
2017-08-03 13:34:27 +02:00
Rémi Verschelde ef75550893 Merge pull request #10056 from marcelofg55/scons_fix
Fix scons failing when not building sources
2017-08-03 10:47:31 +02:00
Marcelo Fernandez 0e027955f2 Fix scons failing when not building sources 2017-08-02 22:13:10 -03:00
Hassan A beddde97af ray cast 2d arrow fix
fixes #9636
2017-08-02 20:06:35 -04:00
geequlim 21f2fff82e Don't re-query remote object while debugging every frame 2017-08-02 22:31:43 +08:00
Rémi Verschelde 04ff3e4238 Merge pull request #9975 from Hassan-A/2.1
added get_used_cells_by_id method
2017-08-02 14:21:54 +02:00
Hassan A aa457ab8e7 added get_used_cells_by_id method
This method will return an array of positions by a specific tile id.
2017-08-02 06:10:50 -04:00
Rémi Verschelde 303893144b Merge pull request #9991 from ISylvox/improve-godot-2to3-exporter
[2.1] Several Enhancement for "Godot 2 to 3" Exporter
2017-08-01 09:48:00 +02:00
ISylvox de55a0076c Several enhancement for 'Godot 2 to 3' project exporter. 2017-08-01 08:10:21 +07:00
Rémi Verschelde bba0be7967 Merge pull request #9885 from bruvzg/2.1-win-num-enter-fix
Fix Numpad Enter key on Windows (2.1)
2017-07-31 22:59:32 +02:00