Commit graph

4252 commits

Author SHA1 Message Date
Marc Gilleron 065e2670af Added basic support for custom resource savers and loaders 2018-12-15 05:34:53 +00:00
Juan Linietsky 5b8dde4b4a Removed error that should not be an error, fixes #21088 2018-11-28 18:41:29 -03:00
Juan Linietsky 167eb269ec Fixes crash, closes #24038 2018-11-28 13:10:23 -03:00
Rémi Verschelde 06db076fc6
Merge pull request #24025 from aaronfranke/analyzer-errors
Fix many errors found by PVS-Studio
2018-11-28 14:08:50 +01:00
Juan Linietsky 39028cc161 Improved the mouse focus system (mouse keeps focus on a control while buttons are pressed). Fixes #19154 and likely many others.
WARNING: Test well in every OS, if mouse wheel events are not properly sent as pressed+unpressed pair, it will fail and break (and the OS needs to be fixed). Only tested on X11 so far.
2018-11-28 09:33:13 -03:00
Rémi Verschelde 05755618c5
Merge pull request #23993 from Kanabenki/autocomplete-ignore-case
Add suggestions ignoring case at the end of the code autocomplete
2018-11-28 13:26:28 +01:00
Aaron Franke cb01268562 Fix many errors found by PVS-Studio
Fix errors 2, 3, 4, 6, 8, 9, 11, 12, 13, 14, and 15.
2018-11-28 05:03:24 -05:00
Rémi Verschelde 78cdbc54b0
Merge pull request #23994 from AndreaCatania/prec
Added function to control 6DOF precision
2018-11-28 10:30:47 +01:00
Rémi Verschelde 62f25142ee
Merge pull request #24011 from Xrayez/fix-23031
Init `ignore_camera_zoom` property in parallax background constructor
2018-11-28 10:25:51 +01:00
Rémi Verschelde dd06f6ee70 Fix style issues and signature mismatch 2018-11-28 10:21:07 +01:00
Rémi Verschelde 0307f2885c
Merge pull request #24024 from DualMatrix/queue
Made it possible to read AnimationPlayer queue from GDscript
2018-11-28 09:56:36 +01:00
Juan Linietsky af8d941c55 Added luminance capping to avoid glitches on small dots. closes #17996 2018-11-28 01:22:20 -03:00
DualMatrix 0cc8a3b9a6 Made it possible to read AnimationPlayer queue from GDscript 2018-11-28 01:43:34 +01:00
Juan Linietsky b243c26697 Get rid of ancient .theme format for Theme resource. It was not working and can be done the same using .tres format. Closes #19038 2018-11-27 20:42:47 -03:00
Juan Linietsky 2e0a94edc6 Changed theme notifications to work with newly introduced reference counted connections. Closes #21265, Fixes #6145.
Probably fixes more theme notification related open issues, should check.
2018-11-27 14:34:43 -03:00
Andrii Doroshenko (Xrayez) 86eaded7b4 Init ignore_camera_zoom property in parallax background constructor
The default value for `ignore_camera_zoom` property was initialized by garbage value,
leading to camera's zoom to be ignored even if unset in editor most of the time.
2018-11-27 14:10:19 +02:00
Andrea Catania a395d809a5 Added function to control 6DOF precision 2018-11-27 07:11:28 +01:00
allkhor a04ba76d89 Ceil tabs font size 2018-11-27 00:30:12 +06:00
Kanabenki 99ffd748f1 Add suggestions ignoring case at the end of the code autocomplete 2018-11-26 16:36:46 +01:00
Rémi Verschelde 3e1e508b64
Merge pull request #23962 from Windfisch/arvr_conf_warn
Update ARVR{Anchor,Controller}'s configuration warning
2018-11-26 11:35:14 +01:00
Rémi Verschelde f30745bd85 Fixup to typo and indentation in 81c86e8 2018-11-26 11:21:06 +01:00
Rémi Verschelde 73551a1edc
Merge pull request #23964 from allkhor/text_edit_clear_selection
TextEdit: remove selection when clear happens.
2018-11-26 11:00:54 +01:00
Rémi Verschelde f98a38540d
Merge pull request #23943 from Paulb23/fix_smoothscroll_jitter_issue_23314
Fix scroll bar lock when smooth scroll enabled, issue 23314
2018-11-26 10:45:35 +01:00
Juan Linietsky 81c86e8047 Improved bindings and added documentation for AnimationNode, closes #20720 2018-11-25 16:57:23 -03:00
Florian Jung 0c4ffae40c Update ARVR{Anchor,Controller}'s configuration warning
Updates their config warning upon change of `controller_id`
or `anchor_id`, respectively.

fixes godotengine/godot#23881
2018-11-25 18:27:02 +01:00
allkhor 594e0261f3 TextEdit: remove selection when clear happens. 2018-11-25 23:24:49 +06:00
Paulb23 9e57c359b7 Fix scroll bar lock when smooth scroll enabled, issue 23314 2018-11-24 14:03:54 +00:00
Rémi Verschelde 8348aca118
Merge pull request #23934 from allkhor/rich_text_label_scroll_offset
RichTextLabel: clear the scroll offset.
2018-11-24 10:28:44 +01:00
allkhor 970dc91cb7 RichTextLabel: clear the scroll offset. 2018-11-23 23:54:49 +06:00
zer0problem 1c75603ff5
Fixed signal animation_finished
The signal animation_finished is now fired after all values have been changed so changes to the animation can be done without animation_finished without generating unexpected behavior.
2018-11-23 16:53:25 +01:00
Juan Linietsky c48027af92 Ensure no crash happens when skeleton is removed, closes #20677 2018-11-23 09:35:43 -03:00
Italo Vieira a8a92ec114 Fixing wrong type hint on CPUParticles and CPUParticles2D's color ramp
Fixes #22795
2018-11-23 00:54:25 +01:00
Rémi Verschelde da31d63f76
Merge pull request #23680 from YeldhamDev/unified_help_search_revived
Unified Class and Reference Search 2: Resurrection
2018-11-22 16:16:52 +01:00
Rémi Verschelde feee2b5842
Merge pull request #23731 from lupoDharkael/remove-button-tooltip
BaseButton: make input related information in the tooltip optional
2018-11-22 16:13:47 +01:00
Rémi Verschelde 6ea25cbbf0
Merge pull request #23856 from nthrack/fix_6DOF_physicalbone_spring
Fix 6DOF Physical Bone joint
2018-11-22 16:00:53 +01:00
Ivan Varesi b69c05c700 Fix 6DOF Physical Bone joint
Adding angular and linear springs param to PhysicalBone joint type JOINT_TYPE_6DOF,
using new 6DOF feautres implemented in sdfgeoff/godot@e149327.

Typo correction lenear_equilibrium_point to linear_equilibrium_point.
2018-11-22 11:15:48 +01:00
Juan Linietsky 0032345618 Make sure sync to physics is disabled in editor, fixes #20230 2018-11-21 22:22:43 -03:00
Juan Linietsky 9018e8b132 Add Discrete and Carry blend modes for BlendSpace2D, allows to fix #20135 2018-11-21 16:07:24 -03:00
Rémi Verschelde 03bd4d28a5
Merge pull request #23859 from lupoDharkael/node-naming
Node: make _generate_serial_child_name manipulate numbers as String
2018-11-21 16:39:21 +01:00
lupoDharkael 1025e3ecea Node: make _generate_serial_child_name manipulate numbers as String
The conversion from an String to int can overflow int and int64
so it is safer to manipulate strings when we try to find the next
available name for a Node.
2018-11-21 14:18:34 +01:00
Ray Koopa fddffa9eb8 Unify editor class and reference search
Co-authored-by: Michael Alexsander Silva Dias <michaelalexsander@protonmail.com>
2018-11-20 20:52:27 -02:00
Rémi Verschelde 7439e55812
Merge pull request #23645 from Calinou/add-dynamicfont-antialias-option
Add a property to control DynamicFont anti-aliasing
2018-11-20 15:02:29 +01:00
Rémi Verschelde 33947a5722
Merge pull request #23728 from groud/keep_splitcontainer_offset
Keep the SplitContainer offset value when it is shrinked
2018-11-20 14:17:52 +01:00
Rémi Verschelde 477e89a8a2
Merge pull request #23760 from BastiaanOlij/fix_tangent_direction
Fixing tangent and binormal logic
2018-11-20 14:13:36 +01:00
Andrea Catania a837c33442 Added possibility to override or add target basis to tip bone 2018-11-20 13:57:16 +01:00
Rémi Verschelde 173b342ca7 Remove trailing whitespace
With `sed -i $(rg -l '[[:blank:]]*$' -g'!thirdparty') -e 's/[[:blank:]]*$//g'`
(+ manual revert of some thirdparty code under `platform/android`).
2018-11-20 11:15:02 +01:00
Ibrahn Sahir 397b4c2a4a Removed duplicate property bind in Generic6DOFJoint.
Probably a copy paste error.
2018-11-20 03:47:09 +00:00
Juan Linietsky c500581d32 Remove the "is able to sleep" condition for adding visibility notifier nodes, fixes #19659
I think the previous behavior was more useful, but I understand it's not obvious or discoverable.
2018-11-19 23:06:02 -03:00
lupoDharkael d2b890ede5 BaseButton: add shortcut_in_tooltip
This flag disables the input related information in the tooltip.
It is exposed as a member variable in gdscript.
2018-11-19 23:48:05 +01:00
Juan Linietsky 55ded6b2de Properly handle multiple parent drag, fixes #19460 2018-11-19 18:38:07 -03:00