Commit graph

17352 commits

Author SHA1 Message Date
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
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
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
Fabio Alessandrelli 67177586d3 Fix potentially unininitialized pointer write. 2018-10-07 14:50:14 +02:00
Fabio Alessandrelli 12124d2d44 Safer getcwd in DirAccess
Fix [-Wunused-result]
2018-10-07 14:50:14 +02:00
Fabio Alessandrelli 5393e7310d Avoid possible overflow in OS_Unix readlink
Also fix [-Wunused-result]
2018-10-07 12:56:07 +02:00
Fabio Alessandrelli 83acd5f17e One less local variable in marshalls 2018-10-07 12:56:07 +02:00
Rémi Verschelde 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
Rémi Verschelde 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
Rémi Verschelde 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
Rémi Verschelde 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
Rémi Verschelde 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
Rémi Verschelde 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