Commit Graph

17912 Commits

Author SHA1 Message Date
m bf1867aaab Added Python-like .get() method to Dictionary in GDScript #20488
Added .get() method to Dictionary class in GDScript to return the value if the key exists, or return Null if the key does not exist.
2018-11-19 14:03:13 -05:00
Juan Linietsky 0ab71689ae Reseek if cachees were cleared in animation player, fixes #19424 2018-11-19 13:14:37 -03:00
Juan Linietsky 634aa4fc24 Ensure bone AABBs are properly transformed to affect mesh AABB, fixes #19281 2018-11-19 10:43:29 -03:00
Bastiaan Olij bcef4b8dc6 Fixing tangent and binormal logic 2018-11-19 22:27:05 +11:00
Bastiaan Olij 9703153396 Adding UVs on end caps 2018-11-19 22:08:49 +11:00
Rémi Verschelde 5d152cc42d
Merge pull request #23823 from Calinou/tweak-hue-variation-property-hint
Tweak the Hue Variation property hint to allow finer adjustments
2018-11-19 11:10:17 +01:00
Hugo Locurcio 34dba2f3cc
Tweak the Hue Variation property hint to allow finer adjustments 2018-11-19 10:52:17 +01:00
Rémi Verschelde 5738c92b39
Merge pull request #23770 from SeleckyErik/issue-23769
SCons: Corrects $LIBSUFFIXES environment variable for Windows
2018-11-19 09:33:32 +01:00
Rémi Verschelde 877f574b30
Merge pull request #23819 from YeldhamDev/relation_lines_extra_hide_guides
Add more places to hide guides if relationship lines are enabled
2018-11-19 09:32:54 +01:00
Michael Alexsander Silva Dias 7144e2fde4 Add more places to hide guides if relationship lines are enabled 2018-11-19 03:05:01 -02:00
Marcelo Fernandez 385832ed30 Fix X11 running a project with fullscreen setting on and resizable off with multiple screens 2018-11-18 23:03:54 -03:00
Juan Linietsky 60cbb69c7c Increase number of image loaders (why was it this low..), fixes #19037 2018-11-18 22:07:00 -03:00
Juan Linietsky 0f7a86ca52 If using relationship lines (now default) hide guides. 2018-11-18 22:00:31 -03:00
Juan Linietsky dc33d25fec Make sure inbetween lines in inspector can't be clicked, fixes #19014 2018-11-18 21:52:01 -03:00
Juan Linietsky c12de11c44 Ensure multinode undo redo merges ends for operation, fixes #19010 2018-11-18 21:43:22 -03:00
Juan Linietsky 079c2630e2 Make sure RMB also works for resource editor in inspector, fixes #18994 2018-11-18 21:30:08 -03:00
Michael Alexsander Silva Dias 6ba94d5ca0 Add argument to UndoRedo's "clear_history()" to not increase the version 2018-11-18 19:46:35 -02:00
JFonS e5a4fa5281 Change default gizmo visibility and icons 2018-11-18 22:01:09 +01:00
Rémi Verschelde f769e13c5e
Merge pull request #23801 from bruvzg/macos_disable_wantslayer_on_pre_mojave
[macOS] Disable setWantsLayer on macOS < 10.14
2018-11-18 21:10:34 +01:00
Erik 0cd8b27b56 SCons: Corrects $LIBSUFFIXES environment variable for Windows
Maxes only .lib to be recoginzed as a valid input extension for linker on Windows.

Closes issue #23769.
2018-11-18 20:50:27 +01:00
Juan Linietsky 455f297671 Properly reset canvas state after drawing, fixes #18860 2018-11-18 16:34:20 -03:00
Juan Linietsky afe4f2080a Make sky and ground energy do something, fixes #18856 2018-11-18 15:43:49 -03:00
Juan Linietsky 83afc6170a Skeleton2D was missing transform notification, fixes #18719 2018-11-18 15:28:13 -03:00
Juan Linietsky 2d6b994e47 Massive speed up on deleting nodes, fixes #18673
Also makes the editor exit faster
2018-11-18 11:48:21 -03:00
bruvzg 4aa441591c
[macOS] Disable setWantsLayer on macOS < 10.14 2018-11-18 16:20:29 +02:00
JFonS dbca3b81ba Add Save option to resource property menu 2018-11-18 15:17:04 +01:00
Rémi Verschelde 4a050568a2
Merge pull request #23798 from Faless/socket_ipv4_wildcard_fix
Properly accept wildcard when binding IPv4 socket.
2018-11-18 15:15:24 +01:00
Fabio Alessandrelli 1ef9e9ef6a Properly accept wildcard when binding IPv4 socket.
Also never return null for is_ipv4 to avoid crashes due to engine bug.
(better to get an error and a broken socket then seeing your game crash)
2018-11-18 14:54:40 +01:00
Juan Linietsky 35b421b695 Document use of spaces in ConfigFile 2018-11-18 10:10:50 -03:00
Rémi Verschelde 60ee61c7ff
Merge pull request #23742 from JFonS/fix_23698
Use hint_color when getting shader default params
2018-11-18 12:05:02 +01:00
Rémi Verschelde ede4decd4e
Merge pull request #23793 from Rubonnek/remove-unnecessary-assignments
Removed unnecessary assignments
2018-11-18 11:25:21 +01:00
Rémi Verschelde fafece44a2
Merge pull request #23789 from vnen/gdscript-empty-class-bug
Check for valid values when checking for class members
2018-11-18 11:23:43 +01:00
Rémi Verschelde e7c31d711e
Merge pull request #23788 from vnen/gdscript-builtin-is
Allow primitives to be compared to Object types with `is`
2018-11-18 11:21:50 +01:00
Rémi Verschelde 4340580e74
Merge pull request #23787 from marcelofg55/pulse_uneven_fix
Fix distorted sound with PulseAudio and uneven channels
2018-11-18 10:53:24 +01:00
Rémi Verschelde adc0752da7
Merge pull request #23771 from Faless/fix_release_export
Always initialize VariantCall return_type.
2018-11-18 10:46:43 +01:00
Rémi Verschelde 80dab2bb26
Merge pull request #23777 from workless/23772_second_parameter_input_action_press
Fixed the default value and documentation for Input.action_press() from commit 8c45282
2018-11-18 10:22:05 +01:00
Wilson E. Alvarez f8e0051420 Removed unnecessary assignments 2018-11-17 20:40:55 -05:00
George Marques 3d2d04afd4
Check for valid values when checking for class members
- Check if GDScript was compiled correctly before checking its functions
and properties.
- Check if native class name is actually set before looking for it in
the ClassDB.
2018-11-17 23:23:40 -02:00
George Marques 0bc953d83b
Allow primitives to be compared to Object types with `is` 2018-11-17 22:41:08 -02:00
Marcelo Fernandez dbf7cad04f Fix distorted sound with PulseAudio and uneven channels 2018-11-17 21:16:06 -03:00
Davide Baldo b98263013a Fixed the default value for Input.action_press() from commit 8c45282 2018-11-17 20:45:24 +00:00
Fabio Alessandrelli c449512318 Always initialize VariantCall return_type.
The return_type is used by the GDScript parser (and possibly other
scripting languages), so it MUST be initialized at least.
It could be initialized to Variant::NIL in release, but I see no reason
for not setting the actual value.
See similar issue in 95dfa5b .
2018-11-17 19:06:18 +01:00
Rémi Verschelde 9eb4b6d91a
Merge pull request #23748 from groud/fix_drag_and_drop_canvas_items
Fixes drag and drog of image files on scaled nodes
2018-11-17 17:20:50 +01:00
Rémi Verschelde 3c62a584eb
Merge pull request #23767 from marcelofg55/fix_is_playing
Fix AudioStreamPlayer2D/3D::is_playing right after a play()
2018-11-17 17:19:21 +01:00
Rémi Verschelde 563356109b Fixup to previous commit, missed one occurrence 2018-11-17 16:24:34 +01:00
Rémi Verschelde efd4228892 EditorSettings: Rename invert_y-axis to invert_y_axis for consistency
No other option uses a dash in its identifier.
2018-11-17 16:19:02 +01:00
Rémi Verschelde 5075e372f3
Merge pull request #23668 from sdfgeoff/fix_angular_constraints
Exposing more of bullets 6DOF spring constraints
2018-11-17 16:15:33 +01:00
Marcelo Fernandez 016f7bd8f8 Fix AudioStreamPlayer2D/3D::is_playing right after a play() 2018-11-17 11:47:11 -03:00
Juan Linietsky 0afdc5c559 Avoid duplicate visility changed notification, fixes #18160 2018-11-16 19:47:13 -03:00
Juan Linietsky 6ed1be9637
Merge pull request #23743 from BastiaanOlij/csg_mikkt_tangent
Adding mikkt tangent support to CSG objects
2018-11-16 23:24:52 +01:00