Tomasz Chabora
15850687a8
Allow Area2D and 3D mouse events without a collision layer
...
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2020-07-11 11:14:12 +01:00
Hugo Locurcio
c2a4ce9380
Enable file logging by default on desktops to help with troubleshooting
...
- Use the `.log` file extension (recognized on Windows out of the box)
to better hint that generated files are logs. Some editors provide
dedicated syntax highlighting for those files.
- Use an underscore to separate the basename from the date and
the date from the time in log filenames. This makes the filename
easier to read.
- Keep only 5 log files by default to decrease disk usage in case
messages are spammed.
(cherry picked from commit 20af28ec06
)
2020-07-10 11:03:32 +02:00
Nathan Franke
ec787f0134
Follow-Up Fix Directory Open
...
(cherry picked from commit 6952458538
)
2020-07-10 10:21:39 +02:00
Hugo Locurcio
4a0fe1adb3
Add a POST request example to the HTTPRequest class documentation
...
(cherry picked from commit 54db59be67
)
2020-07-10 10:09:01 +02:00
Bob Gardner
8f0d50c3ec
Update Resource.xml to explain behavior of duplicate when subresources is true and a subresource contains further nested resources.
...
Updated documentation for duplicate() on Resource to better explain the behavior. As per #30385 .
(cherry picked from commit 660a780c3b
)
2020-07-10 09:00:02 +02:00
Hugo Locurcio
6eb1a2eacb
Document how to instance a PackedScene and add it as a child
...
This information was already present in `@GDScript.preload()`,
but it's not easy to find.
This closes https://github.com/godotengine/godot-docs/issues/3338 .
(cherry picked from commit 23d929d540
)
2020-07-10 08:51:21 +02:00
Hugo Locurcio
81f448aa5d
Mention `SceneTree.create_timer()` in the Timer class documentation
...
This closes https://github.com/godotengine/godot-docs/issues/2349
(as the linked method already contains an example).
(cherry picked from commit 1261f47c35
)
2020-07-10 08:51:21 +02:00
bruvzg
e9ab41b71d
[macOS, 3.2] Implement seamless display scaling.
2020-07-07 22:54:33 +03:00
Rémi Verschelde
07b24de868
Merge pull request #38724 from madmiraal/fix-8368-3.2
...
[3.2] Support SDL2 half axes and inverted axes mappings.
2020-07-06 23:10:47 +02:00
Yuri Sizov
2b4773f0cf
Expose methods to play scene from plugin code
...
(cherry picked from commit 49f6dc5004
)
2020-07-06 19:00:56 +02:00
Rémi Verschelde
1f886d1f31
Merge pull request #39867 from clayjohn/Sprite3D-mesh
...
Use mesh instead of immediate for drawing Sprite3D
2020-07-06 16:36:27 +02:00
Rémi Verschelde
fcce1ca8c4
doc: Sync classref with current source
2020-07-06 14:32:13 +02:00
Hugo Locurcio
d4f4e0d7dc
Fix `String.capitalize()` description to follow camelCase changes
...
This closes #40093 .
(cherry picked from commit 887099680a
)
2020-07-06 14:16:49 +02:00
Slooth
d4d57476ad
Add documentation for minimap_draw and minimap_width
...
(cherry picked from commit df8f0e6215
)
2020-07-06 14:14:23 +02:00
clayjohn
6c0ff26f35
Use mesh instead of immediate for drawing Sprite3D
2020-07-03 12:19:26 -06:00
Slooth
c29da0e2fe
Update TextEdit select and select_all methods
...
(cherry picked from commit b2471edf45
)
2020-07-03 15:37:58 +02:00
Slooth
62677d7da1
Add documentation for selecting_enabled
...
(cherry picked from commit bc1ea1cbad
)
2020-07-03 15:37:58 +02:00
Slooth
a8d499723f
Add documentation for center_viewport_to_cursor method
...
(cherry picked from commit 654d33866b
)
2020-07-03 15:34:30 +02:00
Slooth
aacbdebda3
Add documentation for shortcut_keys_enabled
...
(cherry picked from commit d838282191
)
2020-07-03 15:34:30 +02:00
Aaron Franke
3fd7c33f39
Fix incorrect documentation for Vector2.angle()
...
(cherry picked from commit 299c3ec1c1
)
2020-07-03 15:34:30 +02:00
Andrii Doroshenko (Xrayez)
f50c88ba7b
Clarify `Geometry.offset_polygon_2d` regarding vertices translation
...
The method is used to either inflate or deflate a polygon.
For translating/transforming a polygon, use `Transform2D.xform`.
(cherry picked from commit 19b72da35d
)
2020-07-03 13:17:57 +02:00
Hugo Locurcio
8cc3d4bda6
Keep the bottom panel visible when enabling the distraction-free mode
...
- Document the `EditorInterface.distraction_free_mode` property.
This closes https://github.com/godotengine/godot-proposals/issues/951 .
(cherry picked from commit e6352d1daa
)
2020-06-29 10:46:05 +02:00
Marcel Admiraal
ebff150680
Support SDL2 half axes and inverted axes mappings.
2020-06-26 06:28:56 +01:00
Andreas Gustafsson
68c273fb09
Tween.xml word order fix
...
Change the word order of '...the where...' into '...where the...'.
(cherry picked from commit 5181daaf9e
)
2020-06-24 22:52:05 +02:00
Meriipu
d2347bc4ec
Clarify what a string being empty means
...
Should close https://github.com/godotengine/godot-docs/issues/2432
(cherry picked from commit 2643b8fa5e
)
2020-06-24 22:52:05 +02:00
Dylan
198bd4cb0f
Environment doc update regarding Viewport usage.
2020-06-22 17:59:44 -04:00
Rémi Verschelde
8fd861ab11
doc: Sync classref with current source
2020-06-22 13:24:11 +02:00
skyace65
0b1d9f9d88
Fix Joint2D doc
...
(cherry picked from commit a94ba7be59
)
2020-06-22 08:37:57 +02:00
Hugo Locurcio
9889641bae
Document how Vector2, Vector3 and Color behave in a boolean context
...
See #39731 .
(cherry picked from commit 227f12478d
)
2020-06-21 21:44:02 +02:00
Aaron Franke
d9beab34c5
Update bool documentation to be more clear
...
(cherry picked from commit 08577fab14
)
2020-06-21 21:42:56 +02:00
Rémi Verschelde
8ac13e50cf
Move Haiku platform port to external repository
...
The Haiku port now resides at:
https://github.com/godotengine/godot-haiku-platform
While we're happy to support as many Free and Open Source platforms as we can,
we need to put the main focus on the platforms that we can reasonably maintain,
and for Haiku we have been lacking maintainers ever since the port was first
merged in 2015.
The Haiku code has not been compiling and much less working at least since the
release of Godot 3.0, and while some attempts have been made at fixing things,
it's still not functional today in the `3.2` branch (and much less in `master`,
understandably).
Having it in an external repository should hopefully enable Haiku contributors
to fix issues in their own time, and possibly tag versions compatible with
past Godot releases once they are ready.
(cherry picked from commit efcc508ee5
)
2020-06-21 21:42:26 +02:00
PouleyKetchoupp
b3af0b2a39
Option in RichTextLabel for height to fit content
...
(cherry picked from commit ad8081216c
)
2020-06-19 16:17:27 +02:00
Ev1lbl0w
17c87d2ec1
Expose disable_render_loop property to GDScript
2020-06-18 11:59:29 +01:00
Rémi Verschelde
bf913d6917
DocData: Skip language-specific ClassDoc without methods/constants
...
Removes the useless `@C#`, `@NativeScript` and `@VisualScript` entries.
(cherry picked from commit ba0db95909
)
2020-06-18 11:29:28 +02:00
Vorblen
f46624030c
Add description for "absorbent" and "rough"
...
(cherry picked from commit 8acdbaa4f2
)
2020-06-18 11:29:28 +02:00
Andrii Doroshenko (Xrayez)
5084043373
Bind Shape2D draw method
...
(cherry picked from commit 430d1fd795
)
2020-06-18 10:51:44 +02:00
dominiks
ff185f715a
Add note about automatic window title to FileDialog documentation.
...
(cherry picked from commit d2250a2320
)
2020-06-15 14:34:35 +02:00
Hugo Locurcio
4c289058ed
Clarify Node virtual methdods not being called if node is orphan
...
This closes #39489 .
(cherry picked from commit b2ba78ff0f
)
2020-06-15 14:34:35 +02:00
31
1b58f94296
Fix Image.create_from_data use_mipmaps doc
...
The Image.create_from_data doc describes the "use_mipmaps" argument as a
way to generate mipmaps, but this method only allocates and loads data.
This can cause confusion, where this function reads more or less data
than expected. Update the doc to be more specific that create_from_data
is loading the mipmaps from the raw data.
(cherry picked from commit 09b324b5b6
)
2020-06-15 14:34:35 +02:00
Hugo Locurcio
469c1b5f5e
Document how to resize a SubViewportContainer to avoid stretching
...
This closes #27534 .
(cherry picked from commit f818a99d0b
)
2020-06-15 14:34:35 +02:00
Ricardo Prins
d42f332fc7
Add description to TileSet.is_tile_bound() method
...
(cherry picked from commit 00398abf77
)
2020-06-15 14:34:35 +02:00
31
42312d7d4d
Fix Material.render_priority doc: no opaque sort
...
Opaque objects are rendered using the depth buffer, so the end result
appears sorted, but the opaque objects themselves are not sorted.
(cherry picked from commit 608bc8f3dc
)
2020-06-15 14:34:35 +02:00
skyace65
b181b97b6c
Fix label percent visible doc description
...
(cherry picked from commit a09aeefa1d
)
2020-06-15 14:34:35 +02:00
Hugo Locurcio
5a1f94ba47
Document the `in` operator in String, Array and Dictionary classes
...
This also clarifies the `in` operator behavior in Object.
(cherry picked from commit 7f01f68226
)
2020-06-15 14:34:34 +02:00
bruvzg
2256946f79
[3.2] Add keyboard layout enumeration / set / get functions (macOS, Windows, Linux/X11).
2020-06-13 11:01:49 +03:00
Rémi Verschelde
c80ab247b7
doc: Sync classref with current source
...
(cherry picked from commit fef49bff0b
)
2020-06-11 10:00:07 +02:00
Victoria Fisher
aa448a2a07
Adds full description for AudioEffectRecord.xml
...
(cherry picked from commit 718221a2ff
)
2020-06-11 10:00:06 +02:00
Hugo Locurcio
c87128fa06
Improve the 3D light documentations
...
See https://github.com/godotengine/godot-docs/issues/3670 .
(cherry picked from commit f7e21d8e88
)
2020-06-11 10:00:06 +02:00
SaviHex
fda49b74a1
Added a "title" attribute for the link tag in the docs xml
...
(cherry picked from commit 18c08f65d6
)
2020-06-11 09:44:14 +02:00
Rémi Verschelde
3fb9c776ff
Merge pull request #39437 from akien-mga/3.2-cherrypicks
...
Cherry-picks for the 3.2 branch (future 3.2.2) - 8th batch
2020-06-10 17:33:50 +02:00
Rémi Verschelde
3c7e03510c
Merge pull request #39256 from lawnjelly/tilemap_pixel2
...
GLES2 batching - Add UV precision adjustment for tilemaps
2020-06-10 15:52:00 +02:00
Hugo Locurcio
8e8861ed06
Mention ordering caveats for `Dictionary.hash()`
...
See https://github.com/godotengine/godot/issues/27615 .
(cherry picked from commit 77b89263dd
)
2020-06-10 15:30:52 +02:00
Rémi Verschelde
3202df9b5c
doc: Make File store/get integer methods clearer
...
Add an example on how to store signed integers on less than 64 bits,
using one bit for the signedness.
(cherry picked from commit cd25d184a5
)
2020-06-10 15:30:52 +02:00
Marcel Admiraal
7200a0eac5
Update Rigidbody 2D and 3D sleep documentation.
...
(cherry picked from commit 1b738a77c1
)
2020-06-10 15:30:52 +02:00
Rémi Verschelde
51de6732c9
AStar: Make get_closest_point() deterministic for equidistant points
...
Closes godotengine/godot-docs#3667.
Supersedes #39405 .
(cherry picked from commit 187ba4c5a8
)
2020-06-10 15:30:52 +02:00
Michael Alexsander
2652a2d184
Add generic file icon and its modulation to the 'FileDialog'
...
(cherry picked from commit 637927f803
)
2020-06-10 15:30:52 +02:00
Hugo Locurcio
0832ecc4a3
Document enlarging Particles visibility AABB when they cast shadows
...
This closes https://github.com/godotengine/godot/issues/17267 .
2020-06-07 21:35:40 +02:00
lawnjelly
275183ef15
GLES2 batching - Add UV precision adjustment for tilemaps
...
Scaling tilemaps can cause border artifacts around the edges of tiles. This has been traced to precision issues in the GPU. This PR adds an adjustment to allow a minor contraction of the UVs of rects in order to compensate for the incorrect classification of texels across the UV border.
2020-06-07 16:29:40 +01:00
Rémi Verschelde
6e1af78df4
Merge pull request #39068 from lawnjelly/kessel_settings_rename
...
Rename batching project settings in preparation for GLES3
2020-06-07 14:25:50 +02:00
Pedro J. Estébanez
1ff7b0a0a9
Add shader time scaling
...
Shaders' `TIME` will be affected by the new shader time scale, that is set via the also new `VisualServer::set_time_scale()`.
2020-06-06 23:59:48 +02:00
Maganty Rushyendra
b4ca613138
Clarify usage of AnimationPlayer with AnimationTree and fill in empty method descriptions
...
Add clarification to docs to explain that when an `AnimationPlayer`
object is paired with an `AnimationTree`, several properties and
methods exposed by the `AnimationPlayer` class may not work as expected.
The issues occur because an `AnimationTree` runs independently, and
uses its member `AnimationPlayer* player` primarily for its
`Map<StringName, AnimationData> animation_set`.
Added descriptions for `root_motion_track` and `get_root_motion_transform`.
(cherry picked from commit 0451248ff1
)
2020-06-04 12:16:39 +02:00
Hugo Locurcio
61da4882aa
Add performance hints to the DirectionalLight shadow mode property hint
...
This also clarifies some parts in the DirectionalLight documentation.
(cherry picked from commit b46756c723
)
2020-06-04 12:16:39 +02:00
Hugo Locurcio
9e01a0cd28
Add a getter and property for the editor distraction-free mode
...
(cherry picked from commit cc1859efed
)
2020-06-04 12:16:39 +02:00
Hugo Locurcio
d56b9d5ebf
Disable antialiasing on the DynamicFont outline as well when requested
...
This partially addresses
https://github.com/godotengine/godot-proposals/issues/943 .
(cherry picked from commit 2919fc7317
)
2020-06-04 12:09:40 +02:00
Maganty Rushyendra
25af738762
Expose `get_char_size()` from Font instead of BitmapFont
...
`get_char_size()` is a public virtual function defined in the `Font`
class. Implementations exist for both `BitmapFont` and `Dynamic Font`.
However, it was only exposed to the GDScript API through the Bitmap
Font, and not for Dynamic Font.
This commit exposes the function through `Font` instead.
Fixes #23967
(cherry picked from commit a4413710f9
)
2020-06-04 12:09:39 +02:00
Gustav
26c617654e
Fix ProjectSettings.save_custom documentation
...
(cherry picked from commit 728c0c1e14
)
2020-06-04 12:09:39 +02:00
Maganty Rushyendra
e51767b3c0
Document usage requirement for Viewport to sample ViewportTexture as HDR
...
Modified class documentation to specify that `USAGE_3D` or
`USAGE_3D_NO_EFFECTS` is required in order to use HDR in a ViewPort.
Fixes #38702
2020-05-29 08:05:35 +08:00
lawnjelly
c7d18dec70
Rename batching project settings in preparation for GLES3
...
As it now seems like we will soon have GLES3 batching working using the same intermediate layer as GLES2, it makes more sense to reuse the same batching settings for both renderers rather than duplicate project settings for GLES2 and GLES3.
2020-05-26 18:15:35 +01:00
Rémi Verschelde
acb83db1d1
doc: Sync classref with current source
2020-05-25 17:00:22 +02:00
Rémi Verschelde
11d6c0f20d
Merge pull request #38984 from Calinou/bakedlightmap-configuration-warning
...
Document known bugs in BakedLightmap
2020-05-25 11:28:16 +02:00
Hugo Locurcio
5fb5fb135a
Document known bugs in BakedLightmap
...
See #30929 .
2020-05-24 21:29:12 +02:00
Rémi Verschelde
b6c551e864
Merge pull request #38875 from bruvzg/tab_drv_sel_32
...
[Windows, 3.2] Add tablet driver selection.
2020-05-20 13:58:26 +02:00
bruvzg
71b2abbfa3
[Windows, 3.2] Add tablet driver selection.
2020-05-20 09:36:56 +03:00
Hugo Locurcio
8ebcdeb3d7
Document that Dictionary is always passed as reference
...
See #38792 .
(cherry picked from commit 675fea1648
)
2020-05-18 16:40:33 +02:00
Max Hilbrunner
ebc63dac30
Merge pull request #38784 from remram44/patch-1
...
[DOC] Update description of Object.free() method
2020-05-17 20:33:57 +02:00
Fredia Huya-Kouadio
a71a338c59
Implementation of the Godot Android Plugin configuration file
2020-05-16 23:09:45 -07:00
Remi Rampin
ccf5703568
Update description of Object.free() method
...
Clarify that variables pointing to an object don't become `null` when that object is freed, it just makes them invalid.
2020-05-16 12:32:41 -04:00
Rémi Verschelde
d45b96d2b1
Android: Check for deprecated GodotPaymentV3 module, direct to new plugin
...
Fixes #38581 .
2020-05-15 13:32:30 +02:00
Marcel Admiraal
dd7f9b1c08
Make it clear that PhysicsDirectSpaceState is only available from
...
within _physics_process().
(cherry picked from commit bb9c104695
)
2020-05-13 16:13:47 +02:00
Hugo Locurcio
47d003fbb8
Clarify that the SSL certificate setting overrides the default bundle
...
See https://github.com/godotengine/godot-docs/issues/2531 .
2020-05-12 11:52:57 +02:00
Hugo Locurcio
e77313b3ed
Clarify the `id` parameter in `TileMap.get_used_cells_by_id()`
2020-05-12 09:26:38 +02:00
Chris Bradfield
752f61d4fe
[DOCS] minor description changes
...
(cherry picked from commit 975ed93794
)
2020-05-11 11:01:13 +02:00
Tomasz Chabora
79f3725bdd
Add documentation for the VisualShader nodes
...
(cherry picked from commit fecf79f287
)
2020-05-11 11:01:13 +02:00
lawnjelly
dcb19ed735
Add Nvidia Workaround for GLES3
...
Ported GLES2 workaround code to GLES3.
2020-05-07 14:54:14 +01:00
Rémi Verschelde
4daba9bfc5
doc: Sync classref with current source
2020-05-07 13:47:06 +02:00
Thakee Nathees
1a39b4ea22
method bind TextEdit::set_line() added
...
(cherry picked from commit b9acf1cedf
)
2020-05-07 13:43:43 +02:00
Marcel Admiraal
87de81258d
Make 2D and 3D KinematicBody stop_on_slope documentation the same.
...
(cherry picked from commit da13b74cc8
)
2020-05-07 13:37:19 +02:00
follower
90f9f01a2f
Fix suffix property doc typo: "prefix" -> "suffix"
...
(cherry picked from commit ae067413a5
)
2020-05-06 23:30:45 +02:00
bruvzg
78266c09c4
Add support for the WinTab API for pen input. (3.2)
2020-05-05 14:56:02 +03:00
Hugo Locurcio
2293cf61c6
Document the expected normal map coordinate system where relevant
...
(cherry picked from commit d8808fba85
)
2020-05-05 13:41:29 +02:00
Rémi Verschelde
ef715f37d5
Merge pull request #35091 from Faless/dtls/enet
...
[3.2] DTLS support + optional ENet encryption
2020-05-05 13:40:59 +02:00
lawnjelly
53f6dafdde
Added 'disable_half_float' project setting to the class reference.
...
Just forgot to do this in the original PR.
2020-05-05 09:31:10 +01:00
Rémi Verschelde
e363b65b99
doc: Sync classref with current source
2020-05-04 16:10:57 +02:00
Bastiaan Olij
02b1a5de47
Added missing spring enums for generic_6dof_joint
...
(cherry picked from commit 45d1f41837
)
2020-05-04 16:10:22 +02:00
Hugo Locurcio
23ee40deff
Tweak Tween cheatsheet link formatting to avoid rST conversion bug
...
reStructuredText doesn't allow embedding links in bold/italic text.
(cherry picked from commit e8a2fa6b7d
)
2020-05-04 16:10:22 +02:00
Rémi Verschelde
01a085d05f
Merge pull request #38320 from lawnjelly/kessel_pr_light_join
...
GLES2 2D batching - item reordering, light joining and light modulate fix
2020-05-01 15:03:03 +02:00
Revan Ji
6a7d50403a
Add set_frame, pause, and oneshot to AnimatedTexture
...
Add API documentation for said changes.
(cherry picked from commit f5029e18ca
)
2020-05-01 11:00:10 +02:00
Hugo Locurcio
be56ec9e65
Document the formats supported by `Image.load()`
...
This partially addresses #32166 .
(cherry picked from commit a26649de42
)
2020-05-01 10:56:58 +02:00
Hugo Locurcio
6fb6107e6a
Warn when trying to open `res://` or `user://` with `OS.shell_open()`
...
`OS.shell_open()` will pass on the path directly to the OS' shell
handler (which can handle file paths or URLs). It can't handle
Godot-specific paths, so these need to be converted with
`ProjectSettings.globalize_path()` first.
(cherry picked from commit d46e411b44
)
2020-05-01 10:56:58 +02:00
Bojidar Marinov
4b58d453d4
Expose the cell_size affecting VisibilityNotifier2D precision
...
Refs: #4803
(cherry picked from commit d49ff7aff7
)
2020-05-01 10:56:58 +02:00