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
Guillaume Laforte
675dc00d04
Generate the tangents without de-indexing and re-indexing the vertices.
...
The support for shape keys / blend shapes depends on a consistent order for the vertices.
Fixes https://github.com/godotengine/godot/issues/19195 .
2018-11-26 10:09:52 -05: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
bruvzg
4554c682e6
Changes IME input to use notification instead of callback, exposes IME methods to gdscript/gdnative.
2018-11-23 14:07:48 +02: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
Ibrahn Sahir
c1f5233217
Moved dirty material lists from static to lifetime controlled by main.
...
As with 7d82bed4f4
,
The list is now destroyed before the OS object, so can print errors if
there are unfreed materials.
2018-11-21 15:51:50 +00: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
Michael Alexsander Silva Dias
da7d3c5a58
Make opening menus with the same parent on mouse focus explicit
2018-11-20 20:37:45 -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
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
Hugo Locurcio
34dba2f3cc
Tweak the Hue Variation property hint to allow finer adjustments
2018-11-19 10:52:17 +01:00
Juan Linietsky
0f7a86ca52
If using relationship lines (now default) hide guides.
2018-11-18 22:00:31 -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
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
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
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
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
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
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
Thomas ten Cate
922f2d613f
Fix return value of get_total_character_count
...
Also document that it only counts visible characters.
Fixes #23720
2018-11-15 12:34:08 +01:00
JFonS
1267f92740
Fix Particles2D animation regression from #23702
2018-11-15 09:22:11 +01:00
Juan Linietsky
397b12727c
No one seems to like the error icon, so I made it invisible. Fixes #16344
2018-11-14 21:34:39 -03:00
Juan Linietsky
5f4485d4ff
Always use default theme for overrides, closes #13071
2018-11-14 21:21:51 -03:00
Juan Linietsky
c5656b7468
Merge pull request #23564 from endragor/fix-remove-child-ordering
...
Notify node's moved children after sibling removed
2018-11-14 20:30:41 +01:00
Juan Linietsky
16022da187
Ensure that array passed to physics is always counter clockwise, fixes #15361 .
2018-11-14 15:55:50 -03:00
Juan Linietsky
88bfb27abf
Show theme values from default theme always, fixes #16011 , fixes #13071
2018-11-14 18:02:21 +01:00
Juan Linietsky
55f5f4757e
Merge pull request #23248 from dlasalle/fog
...
Add parameters for fog end depth and use alpha as density.
2018-11-14 10:24:55 -03:00
Juan Linietsky
43b9ed64c8
Merge pull request #23702 from JFonS/fix_2d_particles_scale
...
Make 2D particles work OOTB (again)
2018-11-14 10:16:50 -03:00
Juan Linietsky
89a76f21ed
Ability to toggle flipping of tangent and binormal in depth parallax materials. Fixes #15934 .
2018-11-14 10:15:58 -03:00
Dominique LaSalle
6eae6247e4
Add parameter for fog max depth and use alpha as density.
2018-11-13 17:19:11 -08:00
Juan Linietsky
37c5aa1084
Add a limit of previously known last element to timer timeout traversal in SceneTree, fixes #15559
2018-11-13 20:11:22 -03:00
JFonS
cbfb7bd613
Make 2D particles work OOTB (again)
2018-11-13 23:25:05 +01:00
Juan Linietsky
65111ba996
Ability to remove buses while they are being used on 2D and 3D stream players. Fixes #15115
2018-11-13 18:17:19 -03:00
Rémi Verschelde
5613aa489e
Merge pull request #23299 from FlamyAT/sprite3d-floating-offset
...
Changed Sprite3D to float based drawing
2018-11-13 21:28:08 +01:00
Rémi Verschelde
4e5ef43dbb
ParticlesMaterial: Simplify PARAM_SCALE texture validation
...
Using the same helper method as other param textures.
2018-11-13 10:31:02 +01:00
Geoffrey Irons
e149327be0
Added angular restitution
...
Adding angular and linear springs
Added getters
2018-11-13 09:24:00 +01:00
Rémi Verschelde
193d695a1a
Merge pull request #17530 from bojidar-bg/17516-detect-delta
...
Make it possible to call move_and_slide from _process, even if it is not recommended
2018-11-12 21:14:15 +01:00
Rémi Verschelde
2815e708a0
Merge pull request #23090 from DavidSichma/inconsistent-kinematic
...
Consistency in KinematicBody
2018-11-12 20:30:38 +01:00
Juan Linietsky
4a0f783732
Properly remember EOF when interactive loader is done, fixes #14936
2018-11-12 08:24:05 -03:00
Rémi Verschelde
85f0ce40e1
Merge pull request #23653 from marcelofg55/as_stop
...
Fix AudioStreamPlayback::stop not being called on AudioStreamPlayer::stop
2018-11-12 08:56:19 +01:00
Ibrahn Sahir
ed337085cf
Fixed various uninitialised member variables in editor plugins.
2018-11-11 17:32:47 +00:00
Marcelo Fernandez
9c8449a3db
Fix AudioStreamPlayback::stop not being called on AudioStreamPlayer::stop
2018-11-11 11:00:24 -03:00
Rémi Verschelde
c3023e84c2
Merge pull request #23632 from DualMatrix/floating_point
...
Fixed floating point issue in find() of animation.
2018-11-10 23:25:59 +01:00
DualMatrix
b4315abb71
Fixed floating point issue in find() of animation.
...
Fixes #23504
2018-11-10 23:09:02 +01:00
Hugo Locurcio
fd89464d45
Add a property to control DynamicFont anti-aliasing
...
- Editor font anti-aliasing can now be disabled in the Editor Settings.
- DynamicFonts used in projects can now have their anti-aliasing
disabled in their DynamicFontData child. Changes will be visible
upon reloading the scene in the editor.
2018-11-10 22:07:32 +01:00
Kanabenki
44918e214f
Fix wrong editor hints for angular_velocity properties
2018-11-10 17:13:21 +01:00
Davide Baldo
672b1b19c0
Fixed tilemap saving, format FORMAT_2 was not correctly written since it was recognized as default value, hence
...
FORMAT_1 was always the case even when the tile_data was written in FORMAT_2.
2018-11-10 01:40:08 +00:00
Juan Linietsky
6e5872b709
Use a more compatible (and certain to work) mechanism to check default value on scene packing.
2018-11-09 08:16:36 -03:00
Juan Linietsky
531dc2f435
Proper time tracking in AnimationNodeAnimation, closes #22887
2018-11-08 16:51:45 -03:00
Juan Linietsky
555fb3a317
Effectively ensure that surface materials are the right size when setting them, fixes #23596
2018-11-08 15:58:52 -03:00
Bojidar Marinov
d94c76a199
Make it possible to call move_and_slide from _process, even if it is not recommended
...
Previously, it would reuse the _physics_process delta, causing it to move faster on faster framerates
Fixes #17516
2018-11-08 20:34:34 +02:00
Juan Linietsky
f2e54057ae
-Moved EditorDefaultValue to ClassDB, made it core
...
-Removed one and zero hints for properties, replaced by default value
2018-11-08 11:30:59 -03:00
Rémi Verschelde
c4234b1521
Merge pull request #23576 from groud/fix_itemlist
...
Fixes icons in itemlist not working
2018-11-08 12:58:07 +01:00
Bastiaan Olij
f10a10ca1d
Lower minimum margin for collision shapes
2018-11-08 19:26:09 +11:00
Juan Linietsky
daa1686772
Merge pull request #21386 from RandomShaper/fix-picking-in-canvas-layers
...
Fix picking in CanvasLayer
2018-11-07 17:51:27 -03:00
groud
0ec448d21d
Fixes icons in itemlist not working
2018-11-07 18:29:24 +01:00
Ruslan Mustakov
3b02cd3e71
Notify node's moved children after sibling removed
...
Fixes #16213 .
2018-11-07 16:31:25 +07:00
Rémi Verschelde
de0d306558
Merge pull request #23383 from groud/better_tilemap_transform
...
Enhance the tilemap transform buttons
2018-11-06 22:27:29 +01:00
Rémi Verschelde
c8700f83a1
Merge pull request #23451 from akien-mga/world_to_map_precision
...
TileMap: Fix floor precision in world_to_map on tile borders
2018-11-06 22:21:37 +01:00
Rémi Verschelde
1e6537bcc8
Merge pull request #23537 from fire/visualscript-virtual-_function-crash-23536
...
Fix creating a visual script virtual function after minimizing crashes #23536 and misc vs warning
2018-11-06 22:13:19 +01:00
Kanabenki
f221bbb387
Fix angular velocity property range in editor for ParticlesMaterial
2018-11-06 13:55:59 +01:00
K. S. Ernest (iFire) Lee
562d241b13
Fix creating a visual script virtual function after minimizing crashes #23536
2018-11-05 13:48:27 -08:00
Rémi Verschelde
fcd761e889
Merge pull request #23519 from Rubonnek/remove-unnecessary-assignments
...
Removed unnecessary assignments
2018-11-05 09:05:03 +01:00
Wilson E. Alvarez
71df4caf8f
Removed unnecessary assignments
2018-11-04 22:19:30 -05:00
JFonS
85ce4a67ed
Remove animation loop from ParticlesMaterial + improvements to CPUParticles2D
...
Remove animation loop from ParticlesMaterial and move it to
SpatialMaterial for 3D particles and Particles2D for the 2D case.
Added animation to CPUParticles2D as well as the "Convert to
CPUParticles2D" to the PAarticles2D menu.
2018-11-04 15:58:12 +01:00
Marcelo Fernandez
ea43218bca
Fix possible crash with VideoPlayer _mix_audio function
2018-11-02 13:33:20 -03:00
Rémi Verschelde
b9232ce7a3
TileMap: Fix floor precision in world_to_map on tile borders
...
Fixes #23250 , supersedes #23315 .
2018-11-02 13:07:57 +01:00
Rémi Verschelde
c025f526c8
Merge pull request #23436 from Toshiwoz/primitives_properties
...
fixed PrismMesh size property
2018-11-02 08:08:17 +01:00
Juan Linietsky
65e3ef705b
Merge pull request #21962 from YeldhamDev/switch_hover_submenu
...
Fix MenuButton hover switching not happening with submenus open
2018-11-01 17:01:51 -03:00
Rémi Verschelde
b573bf8547
Merge pull request #23411 from RandomShaper/fix-same-layer-not-deterministic
...
Fix canvas stacking not deterministic on same layer
2018-11-01 19:31:09 +01:00
Juan Linietsky
1d301870ac
Merge pull request #23169 from ibrahn/dynamic-fontlist-lifetime
...
Moved dynamic font list from static to lifetime controlled by main.
2018-11-01 12:58:14 -03:00
Toshiwo
b27b1a99a0
fixed issue with PrismMesh size, ignore for VS code .code-workspace
2018-11-01 10:21:16 -05:00
Rémi Verschelde
aec8ea4f47
Merge pull request #22780 from samuelpedrajas/fix_texture_button_hovering
...
Fix hovering on toggled link and texture buttons
2018-11-01 11:22:34 +01:00
Rémi Verschelde
3f46295a76
Merge pull request #22925 from clayjohn/MeshDataToolError
...
Removed redundant error from MeshDataTool
2018-11-01 10:58:14 +01:00
Rémi Verschelde
200c2e7451
Merge pull request #23294 from gcardozo123/issue-23235-get-collision-exceptions
...
Add method get_collision_exceptions to PhysicsBody2D
2018-11-01 10:57:28 +01:00
Guilherme Recchi Cardozo
3fb2069d39
Add method get_collision_exceptions
...
Adding this method to PhysicsBody, PhysicsBody2D and
SoftBody. It returns a list of nodes included in
collision exceptions.
Fixes #23235 , cheers!
2018-11-01 06:41:34 -03:00
Rémi Verschelde
629294e8f4
Merge pull request #23430 from AndreaCatania/pb_f
...
Fixed crash on delete physical bone
2018-11-01 09:58:48 +01:00
Andrea Catania
0a4ceb34d3
Fixed crash on delete physical bone
2018-11-01 09:46:46 +01:00
Pedro J. Estébanez
cf8976de41
Fix canvas stacking not deterministic on same layer
...
Fixes #22687 .
2018-10-30 21:53:00 +01:00
lupoDharkael
f2f81d9703
Fix crash adding point to a Curve2D from the editor
...
Adding point to a Path2D with null Curve2D from the canvas was
causing a crash after trying to use a null object.
2018-10-30 14:45:37 +01:00
groud
bdb5282ea0
Enhance the tilemap transform buttons
2018-10-30 14:43:52 +01:00
Juan Linietsky
e647342140
Moved folding outside the resource files, now saved outside the project.
2018-10-29 16:37:09 -03:00
Rémi Verschelde
db937abf72
Merge pull request #23360 from bojidar-bg/23178-fix-particles-animation
...
Fix particle frames being cut off
2018-10-29 10:41:49 +01:00
MrCdK
b2bfcb53d6
Add backward looping support to AudioStreamSample (wav files)
2018-10-28 19:37:14 +01:00
Bojidar Marinov
e4d316fcdc
Fix particle frames being cut off after 0de8309b2c
...
Fixes #23178
2018-10-28 20:19:46 +02:00
zhagsenkk
67ba4dc8cd
Remove no longer necessary "raise_from_completion" in TextEdit
...
This is no longer needed to fix #1257 because the code-autocomplete hint stops
at the script editor’s edge now.
And #6690 will not arise because it is just caused by "raise_from_completion".
Fixes #22504 and fixes #16064 .
2018-10-26 19:29:51 +02:00
FlamyAT
3d07a1c10f
Changed integer based drawing to floating numbers
2018-10-26 11:50:21 +02:00
Sean McCarthy
0ce185629d
Fix "fill" justification in RichTextLabel to only affect lines that have automatically wrapped.
2018-10-25 16:19:15 -07:00
Rémi Verschelde
9de724f327
Merge pull request #23091 from aaronfranke/mingw-warnings
...
Fix some compile warnings for Windows from Linux
2018-10-25 15:09:11 +02:00
Rémi Verschelde
1169196f04
Merge pull request #22779 from Superwaitsum/LimitSettings
...
Limit several project settings
2018-10-25 11:38:06 +02:00
Superwaitsum
e5041ad0f5
Add some limits on the Editor Settings
2018-10-24 19:46:33 -05:00
M. Huri
b46ba24e3b
Repaired mistyped of 'its' on several files.
2018-10-25 07:19:21 +07:00
Rémi Verschelde
bf957a414a
Merge pull request #23083 from Windfisch/pathfollow_configwarn
...
Add a configuration warning to [Oriented]PathFollow
2018-10-25 00:11:41 +02:00
Florian Jung
d67c7487f2
Add a configuration warning to [Oriented]PathFollow
...
Will update OrientedPathFollows' configuration_warnings if the parent Path changes
2018-10-24 23:39:45 +02:00
Rémi Verschelde
8c37c1e98d
Merge pull request #22920 from DualMatrix/error_already_connect
...
Fixed error when duplicating a scene which has connection
2018-10-24 19:07:37 +02:00
Rémi Verschelde
d42fd8fa79
Merge pull request #23256 from JFonS/fix_17989
...
Fix editor only lights
2018-10-24 17:39:20 +02:00
JFonS
99a097aff2
Fix editor only lights
2018-10-24 16:47:32 +02:00
lupoDharkael
e19520e8fe
ColorPicker: extend access to presets from gds
2018-10-24 01:07:33 +02:00
PouleyKetchoupp
68270964d4
Get surface material count in MeshInstance for scripts
2018-10-23 15:25:38 +02:00
M. Huri
90efe5be08
Fixed a typo, treshhold to threshold.
2018-10-23 03:46:16 +07:00
Rémi Verschelde
81c2ed61f6
Merge pull request #23196 from Paulb23/scene_tab_errors_issue_22890
...
Scene tabs closing and thumbnail errors, issue 22890
2018-10-21 18:08:31 +02:00
Paulb23
5c04535e10
Update Tab hover status when adding or removing tabs, issue 22890
2018-10-21 15:55:58 +01:00
Ibrahn Sahir
7bf54d2334
Initialise LineEdit clear_button_status.
...
Avoiding undefined behaviour and cleaning up Valgrind output.
2018-10-20 11:27:31 +01:00
Ibrahn Sahir
7d82bed4f4
Moved dynamic font list from static to lifetime controlled by main.
...
Means the list is destroyed before the OS object, allowing it the
opportunity to print an error if there are still dynamic font objects
hanging around.
2018-10-20 10:13:06 +01:00
Aaron Franke
dc2e73499a
Fix compile warnings for Windows from Linux
...
At least the ones I got when I compiled it using Mingw64 POSIX on Xubuntu 18.04. Plus use the Size2 of get_window_size() directly, rather than reconstructing it.
2018-10-19 09:11:14 -04:00
Rémi Verschelde
bde3e884c7
Merge pull request #23138 from CakHuri/fix-disconect
...
Repaired mistyped of 'just_disconnected'.
2018-10-19 13:55:31 +02:00
M. Huri
596ba88869
Repaired mistyped of 'just_disconnected'.
2018-10-19 18:31:35 +07:00
Dualtagh Murray
b902a2f2a7
Fixing warnings generated by MSVC
...
Fixes #22684 .
2018-10-19 11:45:24 +02:00
David Sichma
6ec4da2e3b
Fix inconsistency in KinematicBody
...
- moved new infinite_inertia argument of move_and_slide and
move_and_slide_with_snap in KinematicBody and KinematicBody2D to the
end if not already there. This makes the order of arguments consistent
and should keep projects from 3.0 compatible as this argument did not
exist in 3.0. Docs updated accordingly.
- renamed max_bounces to max_slides for consistency. Docs updated
accordingly.
- the argument infinite_inertia in test_move is now optional, as it is
in every other movement related method. This closes #22829 .
2018-10-17 17:22:14 +02:00
Michael Alexsander Silva Dias
cad9e4e692
Remove unnecessary "rings" variable from "draw_rings()" in StyleBox
2018-10-16 14:48:46 -03:00
Rémi Verschelde
47c0aff491
Merge pull request #22894 from OsamaElHariri/prevent-comment-indent
...
A colon ending a comment line no longer indents the next line
2018-10-16 14:47:33 +02:00
Rémi Verschelde
b4dd1afa74
Merge pull request #22922 from mrcdk/fix_area_bus_override
...
Fixes Area and Area2D audio bus override
2018-10-16 14:46:01 +02:00
M. Huri
967831d9a0
[Docs] Fixed 'get_button_count's link and a typo related to 'button'.
2018-10-13 17:34:57 +07:00
Rémi Verschelde
ebdb374d80
Merge pull request #22844 from samgreen/fix_gui_dragging_spam
...
Fix spam when dragging in the editor
2018-10-11 17:48:19 +02:00
clayjohn
b6a23afa80
removed redundant error from meshdatatool
2018-10-10 22:42:14 -07: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
OsamaElHariri
317f7c91a2
A colon ending a comment line no longer indents the next line
2018-10-10 00:36:12 +03:00
dennisseong
14c0b75b63
Fix richtextlabel meta links shouldn't open when swiping to scroll
2018-10-09 09:04:59 +09:00
Sam Green
24a339245f
Swap condition to prevent spam in editor.
2018-10-08 11:05:20 -07: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
Fabio Alessandrelli
e355a8fc4c
Fix crash in Tree when moving using Joypad
2018-10-07 16:22:04 +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
Rémi Verschelde
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
Rémi Verschelde
22181d0a3f
Merge pull request #22759 from AndreaCatania/pyfix
...
Some physics fixes for 3.1
2018-10-07 11:01:34 +02:00
Rémi Verschelde
cb677e57c6
Revert "Created a new function named get_element in GridContainer. This funct…"
2018-10-07 10:32:34 +02:00
Aaron Franke
4f7b33cdcf
Remove redundant "== false" code
...
Some of this code has been re-organized.
f
2018-10-06 16:20:41 -04:00
Aaron Franke
37386f112b
Remove redundant "== true" code
...
If it can be compared to a boolean, it can be evaluated as one in-place.
2018-10-06 16:12:36 -04:00
Rémi Verschelde
dda6d80598
Merge pull request #22742 from YeldhamDev/textedit_margin_scroll
...
Fix TextEdit margin start spacing with two scrollbars
2018-10-06 13:32:08 +02:00
Samuel P
cf2bdcbb3f
fix hovering on toggled texture buttons
...
fix hovering on toggled link buttons
2018-10-06 13:06:06 +02:00
Rémi Verschelde
d2043fad67
Merge pull request #22774 from kellams/master
...
Fix to scrolling, rounding error on max_v_scroll
2018-10-06 12:36:17 +02:00
Juan Linietsky
f12cb82e0f
Fixes to baker, restored xatlas and fixed bake options.
2018-10-05 19:00:32 -03:00
Kellam Spencer
f51ce0f7b1
Fix to scrolling, rounding error on max_v_scroll
2018-10-05 16:50:49 -04:00
Andrea Catania
5328dcb7bb
Improved trimesh stability
2018-10-05 15:15:54 +02:00
R. K
2ef29d35bd
Fix to ColorPicker behaviour when entering html.
2018-10-05 13:04:23 +02:00
Michael Alexsander Silva Dias
8a64a44e0e
Fix TextEdit margin start spacing with two scrollbars
2018-10-04 19:38:08 -03:00
DualMatrix
38d108aaa2
Added warning when setting autoplay of AnimationPlayer that's inside the tree.
...
Added warning when setting autoplay of AnimationPlayer that's inside the tree.
2018-10-05 00:09:53 +02:00
Rémi Verschelde
3e9740ac93
Fix more "may be used initialized" warnings from GCC 7
...
Fixes the following GCC 7 warnings:
```
core/cowdata.h:269:47: warning: 'alloc_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/error_macros.h:163:26: warning: 'nearest_point' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1579:5: warning: 'colormap_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1582:12: warning: 'size_height' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1590:23: warning: 'size_width' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1599:29: warning: 'pixel_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/math/face3.cpp:207:15: warning: 'tri_max' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/math/face3.cpp:209:15: warning: 'tri_min' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/rasterizer_scene_gles3.cpp:665:22: warning: 'best_used_frame' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/rasterizer_storage_gles3.cpp:865:27: warning: 'blit_target' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/rasterizer_storage_gles3.cpp:980:29: warning: 'blit_target' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::frag_id' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::id' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::vert_id' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/plugins/script_editor_plugin.cpp:1980:31: warning: 'se' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/scene_tree_dock.cpp:840:30: warning: 'new_node' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4259:9: warning: 'a1' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4259:9: warning: 'lll' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4259:9: warning: 'lul' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4260:9: warning: 'a2' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4261:9: warning: 'a3' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4265:3: warning: 'enable_lin' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4294:3: warning: 'enable_ang' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4311:34: warning: 'll' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4311:34: warning: 'ul' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/3d/voxel_light_baker.cpp:1655:47: warning: 'cone_dirs' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/3d/voxel_light_baker.cpp:1656:73: warning: 'cone_weights' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/gui/texture_progress.cpp:181:6: warning: 'cp' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/gui/texture_progress.cpp:181:6: warning: 'cq' may be used uninitialized in this function [-Wmaybe-uninitialized]
servers/physics/shape_sw.cpp:1056:19: warning: 'support_max' may be used uninitialized in this function [-Wmaybe-uninitialized]
```
2018-10-04 18:54:20 +02:00
Rémi Verschelde
f48ee838e7
Fix GCC 8 warnings about potentially unitialized variables
...
Fixes the following GCC 8 warnings:
```
core/image.cpp:730:44: warning: 'mip1_weight' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:293:20: warning: 'mip2' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:293:20: warning: 'mip1' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/audio_stream_preview.cpp:58:19: warning: 'vmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/audio_stream_preview.cpp:85:19: warning: 'vmin' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/editor_themes.cpp:306:53: warning: 'preset_contrast' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/plugins/animation_blend_space_2d_editor.cpp:459:27: warning: 'prev_idx' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/plugins/animation_blend_space_2d_editor.cpp:443:27: warning: 'prev_idx' may be used uninitialized in this function [-Wmaybe-uninitialized]
main/tests/test_oa_hash_map.cpp:57:29: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized]
modules/csg/csg.cpp:764:40: warning: 'max_angle' may be used uninitialized in this function [-Wmaybe-uninitialized]
modules/csg/csg_shape.cpp:1945:3: warning: 'face_count' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/3d/voxel_light_baker.cpp:1593:8: warning: 'cone_aperture' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/3d/voxel_light_baker.cpp:1592:6: warning: 'cone_dir_count' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/animation/animation_blend_space_2d.cpp:471:8: warning: 'mind' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/os/memory.cpp:94: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
core/os/memory.cpp:95: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
core/os/memory.cpp:98: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
```
2018-10-04 13:08:41 +02:00
groud
252d089e6f
Fixes AnimatedSprite2D animation_finished signal triggering too early
2018-10-04 12:51:45 +02:00
karroffel
a0f206aae8
fix enum cast warnings on clang
2018-10-04 09:17:59 +02:00
Rémi Verschelde
864772b900
Merge pull request #22643 from akerudesu/dynamic_font_fallback
...
Fix oversampling of DynamicFont fallback fonts
2018-10-03 20:34:52 +02:00
Juan Linietsky
fdd6950fc1
Fix lightmap baking crash, may close some issues but I am not sure.
2018-10-03 14:58:33 -03:00
Rémi Verschelde
344a453bb8
Merge pull request #22681 from akien-mga/fix-warnings
...
Fix warnings on release builds and some MSVC warnings
2018-10-03 19:05:55 +02:00
Rémi Verschelde
f7cb23f9e3
Merge pull request #22675 from DualMatrix/duplicate_err
...
Fixed error when duplicating node with signal from editor.
2018-10-03 18:07:13 +02:00