Commit graph

17211 commits

Author SHA1 Message Date
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
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
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
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
MrCdK 0e8c7f58db Fixes Area and Area2D audio bus override 2018-10-11 05:15:22 +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
J08nY 56005772cd Fix multi-statement macro call not being covered. 2018-10-08 12:31:28 +02:00
Juan Linietsky 328679fddd Ensure CPU particles do not process if not visible 2018-10-08 00:55:43 -03:00
Juan Linietsky 14494dddd0 Fixes to CPU particles for performance and avoiding NaNs. 2018-10-08 00:55:43 -03:00
Rémi Verschelde b17e71b6e5
Merge pull request #22808 from KellyThomas/vector-one
Add ONE constants to Vector2 and Vector3
2018-10-07 18:57:27 +02:00
Rémi Verschelde cebbb2a325
Merge pull request #22827 from qonnop/optimize-interpolation
Optimize interpolation algorithms
2018-10-07 18:56:26 +02:00
Rémi Verschelde 3b6c5f7379
Merge pull request #22831 from exts/bugfix/simplifypath
Fixes #22828 - res://user had incorrect substr value
2018-10-07 18:53:52 +02:00
Max Hilbrunner b04b83bdce
Merge pull request #22830 from Faless/fix_joypad_tree_crash
Fix crash in Tree when moving using Joypad
2018-10-07 18:41:35 +02:00
exts 18b6f5a6c9 fixes #22828 - res://user had incorrect substr value 2018-10-07 09:49:48 -05:00
Rémi Verschelde 604810f611
Merge pull request #22771 from guilhermefelipecgs/fix_inspector_preview
Fix inspector preview
2018-10-07 16:31:57 +02:00
Fabio Alessandrelli e355a8fc4c Fix crash in Tree when moving using Joypad 2018-10-07 16:22:04 +02:00
Juan Linietsky e0871b0f52 Baker fixes 2018-10-07 11:18:44 -03:00
Kelly Thomas b150ceb62c Update class documentation xml 2018-10-07 21:57:26 +08:00
qonnop 50fae2b1a7 Optimize interpolation algorithms
Interpolation in the form of va + (vb - va) * c is faster and prevents floating point issues for int/string
Followup to https://github.com/godotengine/godot/pull/22786
2018-10-07 15:43:51 +02:00
Guilherme Felipe a9ec69663f Fix inspector preview
Remove script preview to inspector dock
2018-10-07 10:41:56 -03:00
Kelly Thomas 215db9ff71 add ONE constants to Vector2 and Vector3 2018-10-07 21:33:18 +08:00
Rémi Verschelde 5676632a3b
Merge pull request #22788 from Faless/warnings_fix
Some warnings fix
2018-10-07 15:23:38 +02:00
Fabio Alessandrelli d65afb2c74 Fix LWSClient connect_to_host string termination.
Coming from strncpy might get you a non-NULL terminated buffer.
The solution, if you accept trunction, is to give one less byte to
strncpy and manually set the last char in the buffer to '\0'.
If the source string is shorter, than the buffer is padded with '\0'
automatically.
2018-10-07 14:50:14 +02:00
Fabio Alessandrelli f8020bc976 Check getcwd return in X11 platform main. 2018-10-07 14:50:14 +02:00