Commit graph

416 commits

Author SHA1 Message Date
Juan Linietsky
14772d2213
Merge pull request #15083 from tagcup/spatial_rot_fix
Restore the behavior of Spatial rotations recently changed in c1153f5.
2018-01-02 15:02:19 -03:00
Andrew Silver
0c57394d6e Updated timer docs 2017-12-31 20:13:25 +01:00
Poommetee Ketson
7753b8ba0f
Minor docs fix 2017-12-31 03:19:52 +07:00
Noshyaar
ef2ab0de82
Merge pull request #15006 from CyanBlob/master
Update TileMap doc descriptions for update_bitmask_area/region

[ci skip]
2017-12-28 06:52:37 +07:00
tagcup
e9896b17a9 Restore the behavior of Spatial rotations recently changed in c1153f5.
That change was borne out of a confusion regarding the meaning of "local" in #14569.

Affine transformations in Spatial simply correspond to affine operations of its Transform. Such operations take place in a coordinate system that is defined by the parent Spatial. When there is no parent, they correspond to operations in the global coordinate system.
This coordinate system, which is relative to the parent, has been referred to as the local coordinate system in the docs so far, but this sloppy language has apparently confused some users, making them think that the local coordinate system refers to the one whose axes are "painted" on the Spatial node itself.

To avoid such conceptual conflations and misunderstandings in the future, the parent-relative local system is now referred to as "parent-local", and the object-relative local system is called "object-local" in the docs.

This commit adds the functionality "requested" in #14569, not by changing how rotate/scale/translate works, but by adding new rotate_object_local, scale_object_local and translate_object_local functions. Also, for completeness, there is now global_scale.

This commit also updates another part of the docs regarding the rotation property of Spatial, which also leads to confusion among some users.
2017-12-27 16:40:49 -05:00
Andrew Thomas
9ac312f17a Update TileMap doc descriptions for update_bitmask_area/region 2017-12-27 14:16:05 -06:00
Noshyaar
07d0f2e72b
Merge pull request #15046 from YeldhamDev/optionbutton_changes
Added "get_popup" method for OptionButton
2017-12-27 10:22:22 +07:00
Noshyaar
198bb5309d
Merge pull request #15049 from YeldhamDev/get_popup_const
Made MenuButton and ColorPickerButton's "get_popup" methods return constant
2017-12-27 10:20:56 +07:00
homer666
cef20a134e [DOCS] PhysicsDirectSpaceState enhancements 2017-12-27 07:41:50 +11:00
homer666
8fb4c9952a [DOCS] Physics2DDirectSpaceState 2017-12-27 06:59:43 +11:00
Michael Alexsander Silva Dias
23080c7ed7 Made MenuButton and ColorPickerButton's "get_popup" methods return constant. 2017-12-25 14:03:53 -02:00
Michael Alexsander Silva Dias
096b5a65c6 Added "get_popup" method for OptionButton and minor changes. 2017-12-25 13:49:27 -02:00
Noshyaar
deda8974df
Merge pull request #14853 from MattUV/context-menu
Adds an option to move cursor with right click in TextEdit
2017-12-25 08:40:20 +07:00
Noshyaar
d141cfb740
Merge pull request #14819 from homer666/master
[DOCS] PhysicsDirectSpaceState

[ci skip]
2017-12-25 08:25:28 +07:00
Chris Bradfield
00c2005307 [DOCS] minor corrections to Transform2D 2017-12-24 13:12:07 -08:00
Rémi Verschelde
7d9b7f9c47
Merge pull request #14897 from BastiaanOlij/arvr_tweaks
Few small tweaks for ARVR
2017-12-23 00:59:09 +01:00
Max Hilbrunner
1cae77cc66
[DOCS] Small fixes for Semaphore 2017-12-22 16:55:18 +01:00
Max Hilbrunner
b7d945124e
[DOCS] Small fixes for Mutex 2017-12-22 16:46:09 +01:00
Nathan Warden
4db01d18e5 Finished the documentation for AnimationPlayer 2017-12-22 08:49:20 -05:00
Bastiaan Olij
6fd51b6a1b Reserved controller ids 1 and 2 for left and right hand controllers and added new center on hmd option 2017-12-22 01:21:23 +11:00
homer666
75c3812ab5 [DOCS] PhysicsDirectSpaceState 2017-12-21 14:24:48 +11:00
Rémi Verschelde
3c7f06a0e6 doc: Sync classref with current source 2017-12-20 17:16:02 +01:00
MattUV
a55870cd81 Adds an option to move cursor with right click in TextEdit
Fixes #14832
- Added an option in the editor settings/cursor to make the cursor move with right click.
- If the option is activated (true by default), a right click will move the cursor before displaying context menu.
 - If there is a selection, a right click on it will keep it selected, a right click outside it will unselect it.
 - The option is available in textEdit via an inspector property (or via GDScript): caret_moving_by_right_click
 - The option is available in the script editor and the shader editor via the editor settings
 - The documentation has been updated with the new property, and a few other entries in TextEdit.xml.
2017-12-20 09:01:09 +01:00
Rémi Verschelde
abf20709af doc: Sync classref with current source 2017-12-18 08:13:58 +01:00
Michael Alexsander Silva Dias
95f93e038a Exposed LineEdit's "selection_clear" and renamed it to "deselect". 2017-12-17 15:40:44 -02:00
Guilherme Silva
a392dbdbe3 Add implementation for custom hardware cursor 2017-12-17 13:40:29 -02:00
Rémi Verschelde
d03f35f1bc Bind TextEdit.deselect and update documentation 2017-12-16 21:08:31 +01:00
Rémi Verschelde
0f188461c5
Merge pull request #14365 from willnationsdev/camera-docs
[DOCS] Camera property changes
2017-12-16 14:23:44 +01:00
Rémi Verschelde
dcdf9008ae
Merge pull request #14676 from NathanWarden/nav_create_to_add
Renamed navmesh_create to navmesh_add since no navmesh is created.
2017-12-16 00:36:47 +01:00
Nathan Warden
38caa4126f Renamed navmesh/poly_create to navmesh/poly_add since no navmesh is created. 2017-12-15 15:09:06 -05:00
Rémi Verschelde
7767d89c45
Merge pull request #14580 from Krakean/string_split_new_arg
Added third argument for String.split() function
2017-12-15 19:56:39 +01:00
Dmitry Koteroff
5302fd125b Added third argument for String.split() function (see issue #14349)
Remove negative limit, leave only positive and make it reflect behaviour like in Python
Also limit renamed to maxsplit to match Python one.
Also docs updated.

Fix indent
2017-12-15 21:51:13 +03:00
Noshyaar
01c04d611f
Merge pull request #14646 from willnationsdev/docs4
[DOCS] Animation, CanvasItem, Curve3D, Curve
2017-12-15 17:44:13 +07:00
Nathan Warden
17ed071e16 [DOCS] Completed the docs for the Navigation node. 2017-12-15 00:12:24 -05:00
Will Nations
3533e01eab [DOCS] Animation, CanvasItem, Curve3D, Curve 2017-12-13 23:05:56 -06:00
Rémi Verschelde
aa6772d7ab Revert property changes in "[DOCS] AnimationPlayer new props, members/methods"
This partially reverts commits e79456519d
and 2d07fe2920, which introduced API changes
needing more in-depth review at this stage.

Kept the removal of "get_position" binding, redundant with
"get_current_animation_position". Kept docs changes where applicable.
Also removed the obsolete "stop_all" method which does the same as "stop".

Fixes #14602.
2017-12-14 00:36:41 +01:00
Max Hilbrunner
a187345603 [DOCS] JSON: Small fixes 2017-12-13 21:54:32 +01:00
Noshyaar
55962ce28f
Merge pull request #14530 from mhilbrunner/add-http
HTTPClient: Add PATCH method and missing HTTP status codes
2017-12-12 19:06:25 +07:00
mhilbrunner
a7abb459c9 HTTPClient: Add PATCH method and missing HTTP status codes 2017-12-12 10:56:18 +01:00
Poommetee Ketson
9888a56639 Change statable to multistate, remove extra separator 2017-12-12 09:41:17 +07:00
Rémi Verschelde
33db6a14df
Merge pull request #14566 from cbscribe/kcc_node_docs
[DOC] Update Node class ref
2017-12-12 00:14:07 +01:00
Will Nations
d9cb00151b [DOCS] Camera property changes 2017-12-11 12:48:41 -06:00
Chris Bradfield
6264a52999 [DOC] Update Node class ref 2017-12-11 10:17:09 -08:00
Rémi Verschelde
237be766d4 doc: Sync classref with current source 2017-12-11 09:32:25 +01:00
Rémi Verschelde
c05c66ee01
Merge pull request #14511 from akien-mga/drop_tilemap_center_xy
TileMap: Drop unused center_x/center_y booleans
2017-12-11 00:13:26 +01:00
Rémi Verschelde
aa5f5191f0
Merge pull request #14521 from mhilbrunner/docs-http
[DOCS] HTTPClient & HTTPRequest
2017-12-10 22:13:22 +01:00
Max Hilbrunner
a2385cb992
[DOCS] IP.xml typo fix 2017-12-10 22:06:56 +01:00
mhilbrunner
d2ee1b872f [DOCS] HTTPClient & HTTPRequest 2017-12-10 22:00:05 +01:00
Chris Bradfield
ac23cd8763
Merge pull request #14524 from mhilbrunner/patch-3
[DOCS] IP
2017-12-10 12:46:26 -08:00
Max Hilbrunner
0fb7761f07 [DOCS] IP 2017-12-10 21:24:17 +01:00
Max Hilbrunner
1864d3d8c9
[DOCS] IP_Unix 2017-12-10 21:15:47 +01:00
Rémi Verschelde
48cefc9c96 TileMap: Drop unused center_x/center_y booleans
Two years later they are still unused and we do not know
their intend use case, so tschüss.
Closes #2513.
2017-12-10 16:40:31 +01:00
Rémi Verschelde
2b41afb30e Fix wrong return value in some virtual method bindings 2017-12-10 15:34:08 +01:00
Rémi Verschelde
d1995b7d8c
Merge pull request #14467 from willnationsdev/docs3
[DOCS] ConcavePolygonShape2D, CubeMap
2017-12-10 12:55:59 +01:00
Andrew Silver
ccd0599501 Fixed a typo in the Node docs
Fixed a typo in `remove_and_skip`
[ci skip]
2017-12-10 12:29:36 +01:00
Rémi Verschelde
ce0f894b48 doc: Sync classref with current source 2017-12-10 00:43:49 +01:00
Will Nations
e46ff7883c [DOCS] ConcavePolygonShape2D, CubeMap 2017-12-09 13:32:14 -06:00
Rémi Verschelde
f012ba6436
Merge pull request #13310 from Grosskopf/visual-server-docs
[DOCS] Added documentation for VisualServer
2017-12-09 18:33:29 +01:00
Rémi Verschelde
5c7644d167
Merge pull request #13847 from YeldhamDev/filedialog_title
Added "mode_overrides_title" property to FileDialog
2017-12-09 15:48:19 +01:00
Pavan Kumar
4e0bcf1e99 Document MeshInstance::create_debug_tangents
Also cleanup some excessive usage of hyperlinks (edit by @akien-mga).
[ci skip]
2017-12-09 14:57:34 +01:00
Rémi Verschelde
b5813bddeb
Merge pull request #14315 from willnationsdev/animationtreeplayer-docs
[DOCS] AnimationTreePlayer props/members/methods, EditorFileSystem methods
2017-12-09 14:52:35 +01:00
Rémi Verschelde
43300bdcc2
Merge pull request #14432 from rminderhoud/sort_custom
Added example for Array sort_custom function

[ci skip]
2017-12-09 10:03:43 +01:00
Ralph Minderhoud
9ab59343f4 Added example for Array sort_custom function 2017-12-08 18:06:45 -06:00
Rémi Verschelde
b8afafa226
Merge pull request #14384 from willnationsdev/docs-api-fix
[DOCS] AnimationPlayer prop API fixed
2017-12-09 00:47:20 +01:00
Will Nations
523e1741fc [DOCS] EditorFileSystem method/signal 2017-12-08 15:19:57 -06:00
Will Nations
c80d6ed439 [DOCS] AnimationTreePlayer props/members/methods 2017-12-08 15:19:51 -06:00
Chris Bradfield
d055031c73
Merge pull request #14395 from willnationsdev/docs2
[DOCS] CanvasItem(Material)/Layer, ClassDB, and CollisionObject(2D)
2017-12-07 20:16:15 -08:00
Will Nations
a9c9499c73 [DOCS] CanvasItem/Material/Layer, ClassDB, CollisionObject(2D) 2017-12-07 22:12:01 -06:00
Nathan Warden
331427f55e Finished off the RayCast documentation. 2017-12-07 19:19:51 -05:00
Will Nations
2d07fe2920 [DOCS] AnimationPlayer prop API fixed 2017-12-07 11:19:21 -06:00
Grosskopf
cdf559e68c Added documentation for VisualServer 2017-12-07 18:05:37 +01:00
Rémi Verschelde
624a2b08f3 doc: Sync classref after a496dd4d, removing NOEDITOR properties from doc 2017-12-07 08:29:38 +01:00
Rémi Verschelde
7d440d04aa doc: Sync classref with current source 2017-12-07 08:23:08 +01:00
Will Nations
5b820bc247 [DOCS] ARVR, AStar, AtlasTexture, Basis 2017-12-07 00:16:27 -06:00
Rémi Verschelde
42c01ba136
Merge pull request #14350 from willnationsdev/miscellaneous-docs
[DOCS] Camera2D, EditorScript, EditorFileSystemDirectory

[ci skip]
2017-12-07 00:34:39 +01:00
Will Nations
2b59d30bdc [DOCS] EditorScript methods 2017-12-06 17:29:23 -06:00
Will Nations
d6a02e2022 [DOCS] EditorFileSystemDirectory methods 2017-12-06 17:29:23 -06:00
Will Nations
d1084df81a [DOCS] Camera2D methods/constants 2017-12-06 17:20:57 -06:00
Rémi Verschelde
e334b0c4b2
Merge pull request #13491 from RaXaR/master
Added get_popup() method to ColorPickerButton...
2017-12-06 23:47:43 +01:00
Rémi Verschelde
58abea1ff6
Merge pull request #13948 from willnationsdev/multiplayernetworkpeer-docs
[DOCS] NetworkedMultiplayerPeer class, methods, & constants

[ci skip]
2017-12-06 23:22:32 +01:00
Rémi Verschelde
f7f3b31065
Merge pull request #13982 from willnationsdev/editorfiledialog-docs
[DOCS] EditorFileDialog props added, member/method/signal descs

[ci skip]
2017-12-06 23:22:09 +01:00
Rémi Verschelde
f1598f14dd
Merge pull request #13993 from willnationsdev/animationplayer-docs
[DOCS] AnimationPlayer new props, members/methods

[ci skip]
2017-12-06 23:21:43 +01:00
Rémi Verschelde
c7e7e1f60b
Merge pull request #13990 from willnationsdev/animation-docs
[DOCS] Animation methods desc 100%

[ci skip]
2017-12-06 23:21:18 +01:00
Rémi Verschelde
f6b69dbe82
Merge pull request #14316 from willnationsdev/area-docs
[DOCS] Area members and methods

[ci skip]
2017-12-06 23:19:34 +01:00
Will Nations
e7589d0b80 [DOCS] EditorFileDialog props/member/method/signal 2017-12-06 09:30:15 -06:00
Will Nations
f576b3fab2 [DOCS] CurveTexture desc, members 2017-12-06 08:56:23 -06:00
Will Nations
61d833a56e [DOCS] Area members and methods 2017-12-06 08:46:52 -06:00
Unknown
fd1b94e307 Improve slang, especially in user-visible parts 2017-12-05 15:41:38 +01:00
Will Nations
a83574e4af [DOCS] MultiplayerNetworkPeer class/method/constant descs 2017-12-05 08:22:00 -06:00
Rémi Verschelde
e218dde3f4
Merge pull request #13973 from willnationsdev/centercontainer-docs
[DOCS] CenterContainer methods completed
2017-12-05 09:03:26 +01:00
Will Nations
898078a735 [DOCS] Animation methods desc 100% 2017-12-05 00:02:54 -06:00
Will Nations
e79456519d [DOCS] AnimationPlayer new props, members/methods 2017-12-04 23:59:12 -06:00
Chris Bradfield
5938466c84
Merge pull request #13943 from willnationsdev/scenestate-docs
[DOCS] SceneState method descriptions added.
2017-12-04 14:57:58 -08:00
Will Nations
c4c812de62 [DOCS] CenterContainer method descriptions 2017-12-04 16:57:47 -06:00
Chris Bradfield
82c59bcf69
Merge pull request #13945 from willnationsdev/packedscene-docs
[DOCS] PackedScene member, method, and class descriptions.
2017-12-04 14:56:57 -08:00
Chris Bradfield
6b7fc288fb
Merge pull request #13974 from willnationsdev/colorpickerbutton-docs
[DOCS] ColorPickerButton member/method descs
2017-12-04 14:54:16 -08:00
Will Nations
d3305a048c [DOCS] SceneState method descriptions added. 2017-12-04 14:29:04 -06:00
Will Nations
9f341971c9 [DOCS] PackedScene member/method/class descs. 2017-12-04 14:28:37 -06:00
Will Nations
e0ced07fff [DOCS] ColorPickerButton member/method descs 2017-12-04 14:27:45 -06:00
Will Nations
8a079fbdcc [DOCS] WindowDialog member descriptions 2017-12-04 14:26:10 -06:00