Commit Graph

6464 Commits

Author SHA1 Message Date
Vasiliy Makarov d37d9aea8e fix build for osx 2017-08-19 10:47:15 +03:00
Rémi Verschelde e5102a99b9 Merge pull request #10419 from marcelofg55/2.1
Add closest_power_of_2 func and implement mix_rate/latency on OS X
2017-08-18 21:21:08 +02:00
Marcelo Fernandez 647c4ae5bf Add closest_power_of_2 func and implement mix_rate/latency on OS X 2017-08-18 12:10:21 -03:00
Rémi Verschelde 49028e0c49 Revert "Child Process Connected (in Editor Debugger) is now friendlier :-)"
This reverts commit 478531d5a8.

As explained in #10192, this commit changed the color of all errors.
2017-08-18 08:53:29 +02:00
Rémi Verschelde 938dc07b2b Merge pull request #7912 from RandomShaper/pause-rasterizer-2.1
Implement time scaling for the rasterizer (2.1)
2017-08-17 11:43:58 +02:00
Rémi Verschelde 729c4113a6 Merge pull request #10381 from marcelofg55/2.1
Fix get_screen_* funcs returning old values after resolution changes on Windows
2017-08-17 11:07:49 +02:00
Rémi Verschelde 4a5ed3fd03 Merge pull request #10371 from Listwon/2.1
Update detect_visual_c_compiler_version(tools_env)
2017-08-17 07:36:42 +02:00
Rémi Verschelde 3552755306 TileMap Editor: Improve tile info setting using signal
The event-based approach avoids the need to query editor settings
and call show/hide on the Control at every mouse input.

Improves #9141.
2017-08-16 20:03:02 +02:00
Rémi Verschelde 29632aadfd Merge pull request #9141 from pixelpicosean/add-settings-to-hide-tile-info
Add setting to hide tile info on the tilemap menu
2017-08-16 19:06:04 +02:00
Marcelo Fernandez 830d7c1af1 Fix get_screen_* funcs returning old values after resolution changes on Windows 2017-08-16 13:13:31 -03:00
Rémi Verschelde 479c5ba754 Some fixes to 2 to 3 exporter 2017-08-16 17:52:03 +02:00
Rémi Verschelde 447f7644b0 Merge pull request #10327 from kubecz3k/fix-spatial-crash
fix crash after click on MeshInstance with no owner
2017-08-16 17:13:03 +02:00
Rémi Verschelde 29a8e1ac25 Merge pull request #10335 from marcelofg55/2.1
Implemented borderless window functions on OS X
2017-08-16 17:12:51 +02:00
Rémi Verschelde 1f0385cc28 Merge pull request #10377 from RandomShaper/fix-nav-double-point-2.1
Fix double point in Navigation2D (2.1)
2017-08-16 17:08:10 +02:00
Pedro J. Estébanez b64d59f200 Fix double point in Navigation2D
Fixes #10324.

(cherry picked from commit 71a496803c)
2017-08-16 13:47:37 +02:00
Bartłomiej T. Listwon 990ce555a9 Update detect_visual_c_compiler_version(tools_env)
Update detect_visual_c_compiler_version(tools_env) to the newest version from master branch.
Fixes x64 compilation bug with MSVC 2015.3 similar to https://github.com/godotengine/godot/issues/3098
2017-08-16 10:44:40 +02:00
Pedro J. Estébanez d0d0896c59 Let TileMap apply its material
So when a material is set, every tile will be rendered with that. Quadrants will not be recreated, so a `CanvasItem` will exist per material per quadrant regardless a global material is set.

This makes also __Use parent material__ work for `TileMap`s.

Based on 3bb5abbc35
2017-08-15 23:50:41 +02:00
Marcelo Fernandez fe37afa8df Implemented borderless window functions on OS X 2017-08-14 09:53:05 -03:00
Jakub Grzesik 295e0b6937 fix crash after click on MeshInstance with no owner
cherrypicked from #10258
2017-08-14 10:21:44 +02:00
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