Commit graph

17534 commits

Author SHA1 Message Date
Pedro J. Estébanez 9692549c34 Track screen drag speed
Following the universal input handling effort, this works the same for every platform, as long as the touch move event coming from it contains the relative movement.

The same tracking algorithm used to track the mouse speed is used here, but tracking separately each touch index.

Fixes #3623.
2018-10-14 18:01:06 +02:00
Zaven Muradyan 172694ac4c Add useful links for contributors to CONTRIBUTING and README docs. 2018-10-13 22:59:52 -07:00
Paulb23 d47b20acae Fixed delete line being off by one, issue 22819 2018-10-13 18:30:23 +01:00
Paulb23 49dc1ec749 Fix types highlighting outside of function args and var declarations, issues 22029,21638 2018-10-13 17:52:25 +01:00
Alexander Holland c6dbcb1474 Doc LineEdit MenuRedo and clear_button_enabled 2018-10-13 17:41:02 +02:00
M. Huri 55c8fda884 Removed duplication of include(s):
- "collision_solver_sat.h".
- "shaders/copy.glsl.gen.h"
2018-10-13 20:25:34 +07:00
M. Huri 967831d9a0 [Docs] Fixed 'get_button_count's link and a typo related to 'button'. 2018-10-13 17:34:57 +07:00
Rémi Verschelde fe0db6c479
Merge pull request #22975 from CakHuri/shape-typo
Fixed a typo, sahpe to shape.
2018-10-13 11:00:09 +02:00
M. Huri d4779c4ccf Made 'draw relationship lines' (at Editor Settings) enabled by default. 2018-10-13 14:36:38 +07:00
M. Huri 32ec2e3b2c Fixed a typo, sahpe to shape. 2018-10-13 13:20:45 +07:00
Marcelo Fernandez 5e26829118 Fixed issues with audio input on some Macs 2018-10-12 19:20:28 -03:00
Rémi Verschelde 43c28681ad
Merge pull request #22939 from merumelu/tileset-add-texture-fix
TileSetEditor: Don't crash when adding invalid files
2018-10-12 12:09:54 +02:00
Thomas Herzog 5804efc637
Merge pull request #22929 from Windfisch/oa_hashmap_test
Fix bug and add testcase for OAHashMap losing keys
2018-10-12 08:42:19 +02:00
Alexander Holland e4b2a20cd6 Filled missing Doc for String and FileDialog 2018-10-12 04:46:24 +02:00
K. S. Ernest (iFire) Lee 47b42787e3 Make visualscript search better.
* There were spaces unequally inside the function definitions.
* camelcase_to_underscore() should also work for numbers inside of the camel case.
* Removed the builtin concept
* Capitalize descriptions from methods too.
* Match the visual script functions by removing the empty arguments "( )"
* Add some test cases
2018-10-11 14:22:40 -07:00
J08nY 6e8f0cfdc6 Do not make a function that returns Variant::NIL a void function. Fix #22791. 2018-10-11 22:52:56 +02:00
the 8th mage d3fc5e6c89 Fixed the problem with vector3 constructor
Whenever there's a port change that may change the inputs, the default inputs will be recalculated.

Moving the update port loop into its own function.

Signed-off-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2018-10-11 12:21:05 -07:00
clayjohn 596c36a9ac added descriptions to MeshDataTool doc 2018-10-11 09:00:37 -07:00
Rémi Verschelde 451e5fd051
Merge pull request #22915 from fire/visuals-shader-colour-constant-22906
Fix for Visual Shader Editor #22906: Cannot change color on Color Con…
2018-10-11 17:59:35 +02:00
Rémi Verschelde ebdb374d80
Merge pull request #22844 from samgreen/fix_gui_dragging_spam
Fix spam when dragging in the editor
2018-10-11 17:48:19 +02:00
Rémi Verschelde 8b56ea3138
Merge pull request #22800 from QbieShay/depth_write
Added the ability to write to gl_FragDepth.
2018-10-11 17:31:50 +02:00
Rémi Verschelde 5c402e75bc
Merge pull request #22864 from milkowski/master
Fix build with Android NDK r18
2018-10-11 17:23:36 +02:00
Rémi Verschelde e4b1284210
Merge pull request #22931 from groud/fix_resource_name_inspector
Fixes resources name not showing in the inspector
2018-10-11 17:21:58 +02:00
merumelu 27596f6031 TileSetEditor: Don't crash when adding invalid files 2018-10-11 17:15:01 +02:00
groud 2b71f52831 Opens the SpriteFrames editor when editing an AnimatedSprite 2018-10-11 17:03:14 +02:00
allkhor 9fc71d3472 Cleanup the editor history from remote nodes after the scene stopped. 2018-10-11 20:02:55 +06:00
Florian Jung 0353182e7b Fix bug with OAHashMap corruption on insertion
When an item has been inserted into an already-occupied slot, and
the original inhabitant of that slot was moved on, it was wrongly
moved with the inserted-item's key/value instead of its own.

This closes #22928.
2018-10-11 12:53:32 +02:00
Erik 09250850ec Fixed non-monitorable areas triggering overlap
Non-monitorable areas are never removed from the monitor query of other areas. This makes areas that turn not
monitorable while overlapping with other areas get stuck in the other areas' monitor query and trigger false
overlaps.

This is a  fix for issue #9148.
2018-10-11 12:19:03 +02:00
groud f236507689 Fixes resources name not showing in the inspector 2018-10-11 11:23:48 +02:00
Florian Jung 15d3c96afd Add testcase whether OAHashMap loses keys
This demonstrates issue #22928.
2018-10-11 09:57:35 +02:00
clayjohn b6a23afa80 removed redundant error from meshdatatool 2018-10-10 22:42:14 -07:00
MrCdK 0e8c7f58db Fixes Area and Area2D audio bus override 2018-10-11 05:15:22 +02:00
DualMatrix 6afedaa498 Fixed error when duplicating a scene which has connection
Fixed error when duplicating a scene which has connection
2018-10-11 01:30:12 +02:00
K. S. Ernest (iFire) Lee 6097a5af14 Fix for Visual Shader Editor #22906: Cannot change color on Color Constant
Revert line from 5f2f108908
2018-10-10 13:20:57 -07:00
OsamaElHariri 317f7c91a2 A colon ending a comment line no longer indents the next line 2018-10-10 00:36:12 +03:00
Unknown c3d40e42ce Improve toggle comment function in script editor. 2018-10-09 19:39:45 +02:00
Rémi Verschelde 4c1a5d9cfe
Merge pull request #22866 from Calinou/improve-find-in-files
Improve the editor's Find in Files function
2018-10-09 17:43:33 +02:00
Rémi Verschelde 745ae39837
Merge pull request #22871 from marcelofg55/surr31_enum
Add missing BIND_ENUM for SPEAKER_SURROUND_31
2018-10-09 15:59:37 +02:00
Max Hilbrunner 47e27e73d1
Merge pull request #22872 from clayjohn/SurfaceTool-Doc
[DOC] Update and expand SurfaceTool doc
2018-10-09 15:46:30 +02:00
Rémi Verschelde c730957c42 Revert "Added a check in sort_custom thats test wether the given method exists."
This reverts commit 6415454581.

That patch was correct but Object::has_method is not a reliable way to check
if we can use the given method, as it doesn't support inner classes (#22838).
2018-10-09 09:53:17 +02:00
clayjohn 84e82a387f update and expand surfacetool doc 2018-10-08 21:34:36 -07:00
Marcelo Fernandez 8816c7d8a2 Add missing BIND_ENUM for SPEAKER_SURROUND_31 2018-10-08 21:33:51 -03:00
Hugo Locurcio f7848f234f
Improve the editor's Find in Files function
- Disable Whole Words and Match Case by default
- Hide the Cancel button once the search is completed
- Pad line numbers to the right for more readable search results
2018-10-09 00:00:51 +02:00
Ignacio Etcheverry e6cfaa18ca
Merge pull request #22865 from neikeq/issue-22854
Check if directory exists before trying to delete it
2018-10-08 23:33:25 +02:00
Ignacio Etcheverry 3a9b23bcc2 Check if directory exists before trying to delete it 2018-10-08 23:03:58 +02:00
Wojciech Milkowski 3598165c4d Fix build with Android NDK r18
As a bonus there is no need to use undocumented Gradle API any more.
2018-10-08 22:35:18 +02:00
Sam Green 24a339245f Swap condition to prevent spam in editor. 2018-10-08 11:05:20 -07:00
Rémi Verschelde 0063ba9207
Merge pull request #22841 from J08nY/fix/collision-object-macro
Fix multi-statement macro call not being covered.
2018-10-08 13:30:25 +02:00
DualMatrix 87f8077a70 Fixed Animation Keyframe inspector not displaying after moving key.
Fixed Animation Keyframe inspector not displaying after moving key.
2018-10-08 12:43:44 +02:00
J08nY 56005772cd Fix multi-statement macro call not being covered. 2018-10-08 12:31:28 +02:00