Commit graph

6504 commits

Author SHA1 Message Date
Pedro J. Estébanez cc98dbff04 Remove joint freeing logic from physics servers
Since joint resources are created by joint nodes and also they take care of freeing them, the physics server doesn't need to free bodies' joints explicitly.

The logic for clearing the constraints map/set is still relevant as there may be collision pairs and in their case its the server itself the one creating them and therefore releasing them.

(cherry picked from commit fbeb27b01d)
2017-09-09 21:47:20 +02:00
Lewis 9f01353222 Removed code that flips normal if facing away from test direction 2017-09-09 20:33:42 +01:00
Marcelo 0a1370ed96 Fix possible crash at ~EditorExportPlatformBB10 2017-09-08 21:35:20 -03:00
geequlim 31b1a77dbc Don't push remote object if the same remote object is already in the history
Fix error inspector capitalization with regular objects after insepct remote objects
2017-09-05 22:05:11 +08:00
Rémi Verschelde a36db90655 BB10: Do not poll devices if export is not configured
See #7131.
2017-09-05 15:19:17 +02:00
Rémi Verschelde 92a5b592f8 Merge pull request #10942 from marcelofg55/wasapi_driver_21
Added new WASAPI driver for Windows
2017-09-05 11:11:23 +02:00
Rémi Verschelde 792d1694c5 Merge pull request #10988 from marcelofg55/2.1
Fix crash when editing SampleLibrary with broken dependencies
2017-09-05 07:54:23 +02:00
Marcelo Fernandez 118dd478e7 Fix crash when editing SampleLibrary with broken dependencies 2017-09-05 00:55:09 -03:00
Rémi Verschelde d84ae4ad7f Merge pull request #10896 from volzhs/fix-tree-margin
Adjust Noto font metrics
2017-09-04 22:58:35 +02:00
volzhs 3cd5f73a02 LineEdit in Tree is located vertically center
This is made separated commit to cherry-pick easily on another branch
2017-09-04 21:25:15 +09:00
volzhs 1ff942287f Adjust Noto font metrics 2017-09-04 21:25:08 +09:00
Rémi Verschelde 4bac719212 Fix previous cherry-picked TileMapEitorPlugin change
That part of a362270112 was specific to the master branch.
2017-09-04 07:34:09 +02:00
Juan Linietsky 73d855dbce Inspector is no longer cleared when game runs, fixes #9408
(cherry picked from commit ab13d0aeed)
Fixes #10943.
2017-09-04 07:30:11 +02:00
Marcelo Fernandez 68dd103f1b Added new WASAPI driver for Windows 2017-09-03 17:22:05 -03:00
Daniel J. Ramirez a362270112 Hide tilemap menu when no tilemap is selected
(cherry picked from commit e4a9233a83)
2017-09-03 11:23:23 +02:00
geequlim 29cd034e23 Fix crash when edit remote object instance after debugger stoped 2017-09-03 00:47:45 +08:00
geequlim 1473e23df8 Fix continous update of the remote properties
Remove useless debugger property panel
Rename Remote Inspector to Live Scene Tree
2017-09-02 22:19:17 +08:00
Rémi Verschelde e59bb87fb6 Merge pull request #10690 from volzhs/editor-font
Replace default editor font to NotoSansUI
2017-08-31 11:50:44 +02:00
Rémi Verschelde 1757ef1d4c Merge pull request #10792 from RandomShaper/fix-android-dbg-pre-21-2.1
Fix pre-Lollipop Android debug (2.1)
2017-08-31 11:00:04 +02:00
Juan Linietsky df173f194f Moved mirror and rotations to the tile mapen, to avoid taking up too much toolbar space, fixes #6461
(cherry picked from commit dbb6a39722)
2017-08-30 21:09:08 +02:00
Pedro J. Estébanez d6d1c55505 Fix pre-Lollipop (21) Android debug
Namely, automatically pick debug over Wi-Fi for devices with an older release and debug over USB otherwise.

A message is printed both in editor output window and console (uppercase here) to let the user know about what mechanism is being used and why.

Fixes #10458.
2017-08-30 20:35:42 +02:00
Pedro J. Estébanez 8d49cdcfeb Fix parsing of Android API level
And renaming the `Device.release` field to `api_level` for correctness.
2017-08-30 20:12:35 +02:00
Rémi Verschelde 2c60a5560f Merge pull request #10362 from RandomShaper/tilemap-global-mtl-2.1
Let TileMap apply its material (2.1)
2017-08-30 16:02:28 +02:00
Rémi Verschelde f48f6cea06 Revert "Fixed not being able to scroll to eof"
This reverts commit 802fab11e4,
it was not relevant for the 2.1 branch.

Fixes #10738.
2017-08-30 15:58:34 +02:00
Rémi Verschelde 01ef7a73de Merge pull request #10681 from cryptonaut/issue9187
Cleaned up logic in Tween::_tween_process(), fixes #9187
2017-08-30 12:47:26 +02:00
Pedro J. Estébanez 4a98a59aa6 Fix joints collision exceptions
Fix 3D joint handling of collision exceptions, so that they lose effect when the joint is not valid in every case; also some redundant code removed.

Also avoid trying to create the joint when not neither body A nor body B are set.

Make 2D joints be handled like their 3D counterparts, which adds the fixes to them while also removing duplicated code.

Fixes #2383.
2017-08-29 23:28:48 +02:00
volzhs 30f4a16cdf Use Noto fonts for Arabic, Hebrew and Thai 2017-08-29 21:01:31 +09:00
volzhs 412afe42e7 Update source code pro font to 2.030 2017-08-29 17:48:41 +09:00
volzhs 110da7f816 Replace default editor font to NotoSansUI 2017-08-29 17:42:55 +09:00
Rémi Verschelde 213ca00e33 Merge pull request #10744 from eon-s/fix-move-and-slide-wall-detection
Fix wall detection on move_and_slide (2.1).
2017-08-29 07:46:12 +02:00
eon-s abad609e1b Fix wall detection on move_and_slide (2.1).
Fixed a bug on wall detection, now  `is_on_wall/ceiling/floor` methods give the correct results.

Also added floor angle as optional parameter like on the 3.0 counterpart (floor and ceiling share the same parameter).
2017-08-28 22:35:44 -03:00
Rémi Verschelde 891f6c9b63 Merge pull request #10530 from RandomShaper/remove-old-android-setting-2.1
Sanitize Android debug (2.1)
2017-08-29 00:10:31 +02:00
Rémi Verschelde b61462268e Revert "Display the Y angle properly when rotating from gizmo, partially helps #1479"
This reverts commit 641135ba21.
2017-08-27 18:25:12 +02:00
Rémi Verschelde df70d283d8 Release 2.1.4-stable 2017-08-27 14:39:17 +02:00
Rémi Verschelde 9d598833d2 Use HTTPS URL for Godot's website in the headers 2017-08-27 14:11:45 +02:00
Rémi Verschelde 886c7d82d0 Re-apply clang-format to all files
Some badly formatted code has managed to pass through our CI...
2017-08-27 14:11:11 +02:00
Rémi Verschelde f3e302c07c classref: Sync with current source 2017-08-27 13:59:44 +02:00
Rémi Verschelde a9521ef996 Buildsystem: Reduce verbosity of font and translation generation
(cherry picked from commit 21e53c4267)
2017-08-27 13:46:16 +02:00
Rémi Verschelde dde0e93af8 Copyright: Various fixes 2017-08-27 13:23:09 +02:00
Rémi Verschelde 23813b4179 stb: Update to upstream stb_truetype 1.17
Also fix documented OpenSSL version, it was updated to 1.0.2l in
67305d1b0a.

(cherry picked from commit 560fc0f199)
2017-08-27 13:05:52 +02:00
Rémi Verschelde 765b500c85 libpng: Update to upstream version 1.6.32
Fixes security vulnerability in our 1.6.31rc01 snapshot.

(cherry picked from commit ee1d0179c5)
2017-08-27 13:05:12 +02:00
Poommetee Ketson 3629f23d81 Fix double single quotes in connect error print
(cherry picked from commit 4950ef7478)
2017-08-27 13:03:38 +02:00
Rémi Verschelde 449ef95c40 Node: Add debug info to add_child reparenting check
(cherry picked from commit 3c5ce736e6)
2017-08-27 13:03:05 +02:00
Wilson E. Alvarez 48b85347c6 Free memory when Main::setup returns an error
(cherry picked from commit bd257153dc)
2017-08-27 13:02:15 +02:00
Hein-Pieter van Braam 3b9ee55c32 Ignore gprof output files
When building a profile build it is easy to accidentally create gmon.out
files all over the place. Ignore these so they won't get accidentally
pushed.

(cherry picked from commit aa91640c7e)
2017-08-27 13:01:09 +02:00
Hein-Pieter van Braam b9e992d803 Ignore Eclipse CDT project files
Since we have explicit .gitignore rules for QT creator and several other
editor-specific swap/utility files I'd like to add Eclipse CDT projects
also as this is my editor of choice.

(cherry picked from commit 90ab7162e7)
2017-08-27 13:01:04 +02:00
Fabio Alessandrelli cc9d701658 Allow building fat binaries with osxcross
(cherry picked from commit d7f08ead4e)
2017-08-27 13:00:24 +02:00
Andreas Haas f9ad5c3c4f TextEdit: Copy whole line if not having selection.
The functionality was already there but hidden behind a bogus return statement.
Fixes #10485

(cherry picked from commit 5d25f6397f)
2017-08-27 12:58:25 +02:00
Hein-Pieter van Braam bec8fd1732 Fix color_ramp indexing negative elements
The 'pos' variable passed to get_color() and get_offset() can be
negative if the color ramp itself is empty. This causes a lookup in an
empty position in the color Vector which leads to a crash.

We add a check so we never do a lookup in the color Vector if the
gradient is empty.

This fixes #10501

(cherry picked from commit 67b9d6eef2)
2017-08-27 12:56:05 +02:00
Juan Linietsky e8fb68e038 simplify the way window is allowed to steal focus, no longer relying on project.godot. Closes #9459
(cherry picked from commit 533014b88c)
2017-08-27 12:53:45 +02:00