Commit Graph

17139 Commits

Author SHA1 Message Date
6e8f0cfdc6 Do not make a function that returns Variant::NIL a void function. Fix #22791. 2018-10-11 22:52:56 +02:00
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
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
47e27e73d1 Merge pull request #22872 from clayjohn/SurfaceTool-Doc
[DOC] Update and expand SurfaceTool doc
2018-10-09 15:46:30 +02:00
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
84e82a387f update and expand surfacetool doc 2018-10-08 21:34:36 -07:00
8816c7d8a2 Add missing BIND_ENUM for SPEAKER_SURROUND_31 2018-10-08 21:33:51 -03:00
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
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
3a9b23bcc2 Check if directory exists before trying to delete it 2018-10-08 23:03:58 +02:00
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
56005772cd Fix multi-statement macro call not being covered. 2018-10-08 12:31:28 +02:00
328679fddd Ensure CPU particles do not process if not visible 2018-10-08 00:55:43 -03:00
14494dddd0 Fixes to CPU particles for performance and avoiding NaNs. 2018-10-08 00:55:43 -03:00
b17e71b6e5 Merge pull request #22808 from KellyThomas/vector-one
Add ONE constants to Vector2 and Vector3
2018-10-07 18:57:27 +02:00
cebbb2a325 Merge pull request #22827 from qonnop/optimize-interpolation
Optimize interpolation algorithms
2018-10-07 18:56:26 +02:00
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
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
18b6f5a6c9 fixes #22828 - res://user had incorrect substr value 2018-10-07 09:49:48 -05:00
604810f611 Merge pull request #22771 from guilhermefelipecgs/fix_inspector_preview
Fix inspector preview
2018-10-07 16:31:57 +02:00
e355a8fc4c Fix crash in Tree when moving using Joypad 2018-10-07 16:22:04 +02:00
e0871b0f52 Baker fixes 2018-10-07 11:18:44 -03:00
b150ceb62c Update class documentation xml 2018-10-07 21:57:26 +08:00
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
a9ec69663f Fix inspector preview
Remove script preview to inspector dock
2018-10-07 10:41:56 -03:00
215db9ff71 add ONE constants to Vector2 and Vector3 2018-10-07 21:33:18 +08:00
5676632a3b Merge pull request #22788 from Faless/warnings_fix
Some warnings fix
2018-10-07 15:23:38 +02:00
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
f8020bc976 Check getcwd return in X11 platform main. 2018-10-07 14:50:14 +02:00
67177586d3 Fix potentially unininitialized pointer write. 2018-10-07 14:50:14 +02:00
12124d2d44 Safer getcwd in DirAccess
Fix [-Wunused-result]
2018-10-07 14:50:14 +02:00
5393e7310d Avoid possible overflow in OS_Unix readlink
Also fix [-Wunused-result]
2018-10-07 12:56:07 +02:00
83acd5f17e One less local variable in marshalls 2018-10-07 12:56:07 +02:00
cff89fc4e4 Merge pull request #22678 from Dragoncraft89/set_pause
Add Behaviour of SceneTree pausing to the doc
2018-10-07 11:44:07 +02:00
c5da418b0b Merge pull request #22698 from Calinou/fix-find-files-hidpi
Fix Find in Files font size on hiDPI displays
2018-10-07 11:43:39 +02:00
7aa580a84e Merge pull request #22700 from Calinou/increase-itemlist-popupmenu-spacing
Increase spacing slightly between ItemList and PopupMenu items
2018-10-07 11:43:17 +02:00
d4108573bf Merge pull request #22705 from DualMatrix/debugging_the_debugger_grand_finale
Cleaned up/Fixed some bugs in the remote inspector code.
2018-10-07 11:42:37 +02:00
13892f2668 Merge pull request #22822 from godotengine/revert-16977-master
Revert "Created a new function named get_element in GridContainer. This funct…"
2018-10-07 11:19:55 +02:00
ea65a1bbb3 Merge pull request #22712 from groud/fix_animation_finished_signal
Fixes AnimatedSprite2D animation_finished signal triggering too early
2018-10-07 11:17:14 +02:00
32ee3bf092 Revert "Make KEY_ESCAPE close all output/debugger docks on bottom"
This reverts commit 2ae2735a7a.

It also closes panels like the shader text editor when trying to
discard code completion tooltips. It could be readded with extra
care that modals like tooltips will take precedence and mark the
event as handled.

Fixes #17159, fixes #20738, closes #22727.
2018-10-07 11:10:13 +02:00
bf6dcb9105 Merge pull request #22722 from akien-mga/fix-warnings
Fix more "may be used initialized" warnings from GCC 7
2018-10-07 11:07:13 +02:00
eae742312f Merge pull request #22770 from Chaosus/fix_inspector_theme
Fix inspector color when theme changed
2018-10-07 11:02:59 +02:00
22181d0a3f Merge pull request #22759 from AndreaCatania/pyfix
Some physics fixes for 3.1
2018-10-07 11:01:34 +02:00
c1dad2ae2d C# bindings generator fixes
- Fix unused bool local for MonoBoolean argument.
- Append U to API hashes. Fixes warning: 'integer constant is so large that it is unsigned'
2018-10-07 11:00:05 +02:00
44d82b3a07 Merge pull request #22752 from aaronfranke/equals-redundant
Remove redundant "== true" and "== false" code
2018-10-07 10:58:45 +02:00
cb677e57c6 Revert "Created a new function named get_element in GridContainer. This funct…" 2018-10-07 10:32:34 +02:00
c27b2adb10 Merge pull request #22786 from qonnop/fix-int-interpolation
Fixed int interpolation issue, closes #22763
2018-10-07 10:31:07 +02:00
cb339bfffb Merge pull request #22810 from Calinou/improve-viewport-menu-button
Make the 3D viewport menu button easier to read
2018-10-07 10:28:21 +02:00
e214f1b536 Merge pull request #22812 from neikeq/issue-22781
Mono: Fix crash on NodePath/RID disposal during Godot shutdown
2018-10-07 10:25:42 +02:00
a406bf3e68 Merge pull request #22782 from eska014/gles2-uniform-precision
Fix GLES2 uniform precision
2018-10-07 10:11:40 +02:00