Commit Graph

20809 Commits

Author SHA1 Message Date
Jesse Dubay
1b9d26765f Allow constructing larger data types by swizzling
GLSL allows the construction of larger data types by swizzling smaller
ones, but Godot shading language treated this as an error:

  vec2 test2 = vec2(0.0, 1.0);
  vec3 test3 = test2.xxx; // error: Invalid member for vec2 expression

This commit updates the expression parser for the 2 and 3-component data
types accordingly.

Fixes #10496
2019-05-11 11:01:09 -07:00
Rémi Verschelde
89c37dae49
Merge pull request #28807 from bojidar-bg/28798-open-filesystem
Open selected folder when pressing the "Open" option in the menu
2019-05-11 09:49:34 +02:00
Rémi Verschelde
58c5eb781e
Merge pull request #28742 from guilhermefelipecgs/fix_28737
[EditorSpatialGizmo] Fix error in intersect_ray
2019-05-11 09:45:08 +02:00
Rémi Verschelde
fea0c8858e
Merge pull request #28770 from volzhs/fix-scroll-back-top
Fix scroll back top
2019-05-11 09:44:11 +02:00
Ryan Stein
42d6205e8c Add RegEx substitution testcase and fix relevant docs
(cherry picked from commit a31bbb4bd9)
2019-05-11 09:03:19 +02:00
Rémi Verschelde
06d28a7722
Merge pull request #28806 from bojidar-bg/28624-navmesh-cellsize
Allow or_greater for most properties of NavMesh
2019-05-11 08:41:07 +02:00
Bojidar Marinov
fedf9cd379
Open selected folder when pressing the "Open" option in the menu
An attempt to fix #28798
2019-05-10 18:55:50 +03:00
Bojidar Marinov
68bee3d9a2
Allow or_greater for most properties of NavMesh
Closes #28624
2019-05-10 18:05:17 +03:00
Rémi Verschelde
ecceabea7e
Merge pull request #28800 from JFonS/fix_clipped_camera
Fixes to ClippedCamera
2019-05-10 11:13:20 +02:00
JFonS
9e97bac0cf Fixes to ClippedCamera
This work has been kindly sponsored by IMVU.
2019-05-10 10:35:15 +02:00
Rémi Verschelde
7112a45d99
Merge pull request #28784 from bruvzg/x11_check_extents_atoms
X11: Check if "_NET_FRAME_EXTENTS" atom is supported.
2019-05-09 18:30:08 +02:00
bruvzg
5714a5f4ea
X11: Check if "_NET_FRAME_EXTENTS" atom is supported. 2019-05-09 19:12:31 +03:00
Rémi Verschelde
e581eb1359
Merge pull request #28778 from aaronfranke/lowercase-id
Change "ID" to lowercase "id"
2019-05-09 16:27:18 +02:00
Aaron Franke
702b539405
Change "ID" to lowercase "id"
Reasoning: ID is not an acronym, it is simply short for identification, so it logically should not be capitalized. But even if it was an acronym, other acronyms in Godot are not capitalized, like p_rid, p_ip, and p_json.
2019-05-09 06:25:32 -04:00
Max Hilbrunner
84058ab8ac
Merge pull request #28773 from Faless/mp/err_explain_fix2
Avoid _can_call_mode resetting error message in MultiplayerAPI
2019-05-08 23:07:15 +02:00
Fabio Alessandrelli
bba77fe387 Avoid _can_call_mode resetting error message in MultiplayerAPI 2019-05-08 22:14:41 +02:00
Rémi Verschelde
2cf34534a1
Merge pull request #28765 from guilhermefelipecgs/update_class_ref
Docs: Add tutorials for KinematicBody2D
2019-05-08 22:13:03 +02:00
Guilherme Felipe
70ead9455f [EditorSpatialGizmo] Fix error in intersect_ray 2019-05-08 16:51:23 -03:00
volzhs
920403c489 Scroll back to top when changing directory in FileSystem dock
Fix #26041
2019-05-09 04:00:40 +09:00
volzhs
68c3728b47 Revert "Merge pull request #26053 from qarmin/back_scroll_to_start"
This reverts commit b5deb1dc72, reversing
changes made to 2cc8848c3c.

This change causes unwanted regression.
It's too risky to have scroll back to top in ItemList.clear()
2019-05-09 03:51:08 +09:00
Guilherme Felipe
36e9af4812 Docs: Add tutorials for KinematicBody2D 2019-05-08 13:45:40 -03:00
Rémi Verschelde
b96cd577c3
Merge pull request #28009 from kbake/output-context-menu-27543
Adds Copy button to output panel
2019-05-08 15:52:49 +02:00
Rémi Verschelde
b0d73d3099
Merge pull request #28754 from YeldhamDev/inherent_scene_close_empty_changes
Change empty scene closing on new inherented scene to a better approach
2019-05-08 15:48:23 +02:00
Rémi Verschelde
869124e343
Merge pull request #28751 from MuffinManKen/improve_docs_animated_sprite
Improved the AnimatedSprite docs; added description to speed_scale.
2019-05-08 15:46:56 +02:00
Michael Alexsander Silva Dias
19b8c51e1d Change empty scene closing on new inherented scene to a better approach 2019-05-08 04:47:39 -03:00
Michael Alexsander Silva Dias
699140000c Revert "Merge pull request #28715 from YeldhamDev/inherent_scene_close_empty"
This reverts commit 0f8356d439, reversing
changes made to 7b7a664a97.
2019-05-08 00:46:40 -03:00
Ken Paulson
ece6d37eef Improved the AnimatedSprite docs; added description to speed_scale. 2019-05-07 22:48:39 -04:00
Fabio Alessandrelli
0239d8bd9f
Merge pull request #28453 from Tarik02/enet_socket_set_option
Partially implement enet_socket_set_option
2019-05-07 10:14:52 +02:00
Rémi Verschelde
df18c8c413 Remove reduz from some autorequested code reviews
He's still one of the main architects of some of these code branches,
but quite often PRs that modify one or two files in such folders don't
necessarily need his input, and he has enough backlog to handle.

PR triagers will ask for his review manually whenever relevant. He's
left as code owner for physics/visual servers and rendering backends.
2019-05-06 18:32:45 +02:00
Rémi Verschelde
2a8cb46c8e
Merge pull request #28516 from Chaosus/fix_vs_mix_title
Renames captions of Scalar/VectorInterp in Visual Shaders
2019-05-06 17:34:15 +02:00
Rémi Verschelde
7013607ef9
Merge pull request #28365 from fire/split_clip_blend_shapes
Modify ResourceImporterScene to split animations with blendshapes.
2019-05-06 16:58:29 +02:00
Rémi Verschelde
fcbadd4334
Merge pull request #28525 from MunWolf/func_ref_validation
Added an is_valid function to FuncRef
2019-05-06 14:23:16 +02:00
Rémi Verschelde
958c915f60 Update AUTHORS and DONORS list
New contributors added to AUTHORS:
@Kanabenki, @KoBeWi

Thanks to all contributors and donors for making Godot possible!
2019-05-06 12:58:13 +02:00
Rémi Verschelde
0f8356d439
Merge pull request #28715 from YeldhamDev/inherent_scene_close_empty
Make editor close empty scene when creating an inherited one
2019-05-06 11:08:01 +02:00
Rémi Verschelde
7b7a664a97
Merge pull request #28709 from YeldhamDev/tabcontainer_locale_update
Fix 'TabContainer' not updating its tab titles when locale is changed
2019-05-06 10:53:22 +02:00
Rémi Verschelde
563d4b0e7f
Merge pull request #28696 from raphael10241024/debug_fix
fix CollisonShape changing shape cause crash when not in a tree
2019-05-06 10:42:56 +02:00
Rémi Verschelde
1a3a0e3d95
Merge pull request #28679 from megalike/fix_mac_os_delete_char_hotkeys
Support Mac OS default delete char hotkeys
2019-05-06 10:17:22 +02:00
Rémi Verschelde
9123db748e
Merge pull request #28330 from BastiaanOlij/improve_multimesh
Added set_as_bulk_array, fixed transform2D saving and documentation
2019-05-06 09:57:48 +02:00
Michael Alexsander Silva Dias
648cc7c0f5 Make editor close empty scene when creating an inherited one
Fixes #28654.
2019-05-06 02:01:01 -03:00
Michael Alexsander Silva Dias
a242bf464a Fix 'TabContainer' not updating its tab titles when locale is changed 2019-05-06 01:59:34 -03:00
Ignacio Roldán Etcheverry
255ea11502
Merge pull request #28700 from ShyRed/fixmonogluewindows
Fix generation of Mono Glue for Visual Studio 2017+
2019-05-05 16:47:21 +02:00
Rémi Verschelde
5128430700
Merge pull request #28684 from credman0/master
Fix ParallaxBackground breaking when moving it out the scene tree
2019-05-05 15:44:50 +02:00
Rémi Verschelde
dcf8b0bbe4
Merge pull request #28657 from KidRigger/master
Fixes VideostreamGDNative crash on audio_channel=0.
2019-05-05 15:35:24 +02:00
ShyRed
77ab9ba252 Fix generation of Mono Glue for Visual Studio 2017+
vsnprintf definition should only be changed when MSC version is older than 2013. The version check and fix is taken from StringUtils.h of assimp.
2019-05-05 12:39:02 +02:00
Max Hilbrunner
d8617f237a
Merge pull request #28643 from t-karcher/patch-1
Update of RigidBody2D class description
2019-05-05 08:36:45 +02:00
Max Hilbrunner
f935c1ff9a
Merge pull request #28681 from lopho/dict-doc
Document dictionary erase return value
2019-05-05 08:33:43 +02:00
yakun.zhang
2206c5e9c0 fix CollisonShape changing shape cause crash when not in a tree 2019-05-05 13:30:58 +08:00
Colin Redman
359d7f178c Fix ParallaxBackground breaking when moving it out the scene tree 2019-05-04 17:09:33 -07:00
lopho
5ce9bfcb4f Document dictionary erase return value 2019-05-04 21:10:18 +02:00
megalike
c6310e9a7e Support Mac OS default delete char hotkeys 2019-05-04 17:15:32 +03:00