Commit graph

18147 commits

Author SHA1 Message Date
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
Juan Linietsky
f141f747de Fix Squish decompression, closes #18109 2018-11-16 19:12:00 -03:00
Juan Linietsky
9e85d17241 Clearing history increments version, else it does not generate an asterisk on modification if the scene was just saved. Fixes #18027.
Still I feel this line was commented for a reason. If you bisect a bug and find
this commit, let me know.
2018-11-16 16:20:10 -03:00
Juan Linietsky
8aa38c9ad8 Fix shader bug likely introduced recently. 2018-11-16 14:30:34 -03:00
Juan Linietsky
3331ececc4 Do not allow controls in ignore mouse to get focus via their children, fixes #17955 2018-11-16 13:47:21 -03:00
Rémi Verschelde
0807e4f348
Merge pull request #23746 from DrNochi/bug/issue-#23332
Prevent "Property not found: ..." warning when creating/importing a project
2018-11-16 17:26:55 +01:00
Rémi Verschelde
3863faf05b
Merge pull request #23745 from ibrahn/fix-bullet-mainshape-ub
Fix some undefined behaviour in Bullet module.
2018-11-16 17:22:55 +01:00
groud
60f2e94c08 Fixes drag and drog of image files on scaled nodes 2018-11-16 16:55:28 +01:00
Juan Linietsky
e77afb8507 Ensure environment radiance is not used on refprobe interiors, fixes #17868 2018-11-16 11:46:21 -03:00
DrNochi
911d3a4586 Check if setting exists to prevent warning
Fixes #23332
2018-11-16 15:26:55 +01:00
Rémi Verschelde
5d00407388
Merge pull request #23685 from Kanabenki/add-store-csv-line
Add store_csv_line method for File
2018-11-16 15:21:57 +01:00
Ibrahn Sahir
d1550215b0 Fix some undefined behaviour in Bullet module.
Nulling mainShape when it's deleted to avoid double free.
Initialising vector in inertia calculation to work around bug in bullet.
2018-11-16 14:20:09 +00:00
Rémi Verschelde
193324f354
Merge pull request #23734 from RandomShaper/fix-canvas-layer-out-of-tree
Fix CanvasLayer trying to re-stack while out of tree
2018-11-16 15:15:48 +01:00
Rémi Verschelde
2d7fe9b298
Merge pull request #23735 from pshe94/master
Use VScrollBar when calculating horiz. offset in ScrollContainer
2018-11-16 15:15:23 +01:00
Juan Linietsky
bb9127a78b Removed unnecesary normal multiplication (only culling was really needed), fixes #17776 2018-11-16 10:52:31 -03:00
Juan Linietsky
256bbd3561 Corrected some points discussed in #17491 2018-11-16 10:07:26 -03:00
Bastiaan Olij
caf14e77db Adding mikkt tangent support to CSG objects 2018-11-17 00:07:18 +11:00
Juan Linietsky
40e4f5bef4 Proxies were being mishandled, leading to the now fixed #17651 2018-11-16 09:33:33 -03:00
Juan Linietsky
8306d60e85 Get rid of gridmap error due to not yet valid cursor instance, fixes #17546 2018-11-16 09:10:44 -03:00
Juan Linietsky
0b1e93ccd4 -Make sure monitorable cant be flipped while flushing queries, fixes #17330
-Also added set_deferred, this was missing.
2018-11-16 08:49:26 -03:00
JFonS
fb92c7b0fa Use hint_color when getting shader default params 2018-11-16 12:20:23 +01:00
Kanabenki
48166a9f3c Add store_csv_line method for File 2018-11-16 11:09:05 +01:00
Thomas ten Cate
4a530433d4 Prevent unused_argument warning when passing arg to parent constructor
This requires creating the FunctionNode object a bit sooner, and setting
it as the current_function while parsing the parent constructor call
arguments.

Note that the return type has not yet been parsed at this point, but
that doesn't seem to be a problem.

Fixes #22139
2018-11-16 10:46:05 +01:00
pshe94
554b3f77c7
Use VScrollBar when calculating horiz. offset in ScrollContainer
Someone forgot to change `h_scroll` to `v_scroll` when copy-pasting the code ;)
2018-11-16 02:47:43 +01:00
Pedro J. Estébanez
5dac6ef486 Fix CanvasLayer trying to re-stack while out of tree
Fixes #23718.
2018-11-16 01:01:17 +01:00
Juan Linietsky
26d33d1c6e ViewportContainer was not passing unhandled input. Pass it, fixes #17326 2018-11-15 17:29:55 -03:00
Juan Linietsky
80a90ca824 -Send mouse motion events again to CollisionObjects (Area/Body) if they move, even if mouse does not. Fixes #16536 (likely many others should check)
-Add ability for viewports to set input events as handled locally
2018-11-15 13:56:57 -03:00
groud
a982531368 Keep the SplitContainer offset value when it is shrinked 2018-11-15 16:47:28 +01:00
Juan Linietsky
89a8f930d4
Merge pull request #23716 from JFonS/fix_2d_particles_scale
Fix Particles2D animation regression from #23702
2018-11-15 16:29:58 +01:00
Rémi Verschelde
14cf450b0d
Merge pull request #23726 from ibrahn/fix-regex-double-free
Assign pointer null in RegEx::clear to avoid double free on destruction.
2018-11-15 15:17:11 +01:00
Ibrahn Sahir
f8a1c77fcf Assign pointer null in RegEx::clear to avoid double free on destruction. 2018-11-15 13:36:40 +00:00
Rémi Verschelde
35aa3301d7
Merge pull request #23724 from ttencate/get_total_character_count_23720
Fix return value of get_total_character_count
2018-11-15 13:08:15 +01:00