Commit Graph

48206 Commits

Author SHA1 Message Date
Yuri Rubinsky
38691d5b1d
Merge pull request #67655 from MewPurPur/remove-dupe-registrations 2022-10-23 09:54:06 +03:00
Wei Guo
95113a7cd5 Fix MultiplayerSynchronizer::update_outbound_sync_time when replication_interval is not 0 2022-10-23 14:01:51 +08:00
Ignacio Roldán Etcheverry
4546986d21
Merge pull request #67766 from raulsntos/dotnet-generated
Use `.generated` suffix for generated C# code
2022-10-23 03:06:31 +02:00
Raul Santos
687633e5bd
Use .generated suffix for generated C# code
Use the `.generated` suffix instead of `_Generated` so .NET marks C#
file generated by Godot source generators as generated code.
2022-10-22 23:13:52 +02:00
keptsecret
31d44043bb implemented mesh_surface_update_x functions 2022-10-22 16:44:33 -04:00
Max Hilbrunner
0b627c4133
Merge pull request #67718 from Mickeon/doc-peeves-the-constant-burden
Tweak `@GlobalScope` constants documentation overall
2022-10-22 21:30:56 +02:00
Max Hilbrunner
6f4787672b
Merge pull request #67737 from smix8/navigation_tilemap_doc_fix_4.x
Fix class doc for TileMap navigation visibility mode
2022-10-22 21:28:05 +02:00
Fredia Huya-Kouadio
13e4770b97 Add double_tap attribute to InputEventScreenTouch
This provides parity with the `InputEventMouseButton` allowing for proper conversion between the two events.
2022-10-22 07:30:46 -07:00
kleonc
fcb663df51 Fix TileMap collision shapes debug draw 2022-10-22 16:14:54 +02:00
David Snopek
398ee08375 Add multiview to the opengl3 driver 2022-10-21 21:00:32 -05:00
Clay John
276ab5be07
Merge pull request #67620 from Riteo/default-opaque-composition
Use opaque composition if transparency is disabled
2022-10-21 17:51:20 -07:00
smix8
79d0cde64b Fix class doc for TileMap navigation visibility mode
fix small copy&paste error
2022-10-22 02:46:16 +02:00
Clay John
dd8702f13d
Merge pull request #67426 from MrBlockers/blurry-texture-preview
Make texture preview filter setting content aware
2022-10-21 17:25:38 -07:00
Clay John
021f524dfd
Merge pull request #67546 from clayjohn/DS-msg
Update the DisplayServer video driver error message to be more accurate and friendly
2022-10-21 16:57:35 -07:00
Max Hilbrunner
efd2a8ac23
Merge pull request #67725 from TokageItLab/add-tuts-link-retarget
Add a tutorial link to `BoneMap` and `SkeletonProfile`
2022-10-22 01:06:08 +02:00
Aaron Franke
7f9a8c99c9
Clean up Basis from Euler code 2022-10-21 17:54:49 -05:00
Silc Renew
e7d0a2198b Add a tutorial link to Retarget Classes 2022-10-22 02:56:16 +09:00
Micky
965f6e40ef Tweak @GlobalScope constants documentation overall
General:
- Replace most type names with strong references (such as "integer" to "[int]");
- Made the writing style closer to how the rest of the documentation is formatted.
- Use uppercase Inspector when referring to the Inspector dock.
- Describe missing MethodFlags, Variant.Type constants.

Key:
- Add " key." to the `KEY_0` to `KEY_9` constants;
- Reword some MouseButton constants;
	- In a programming context, it's kind of odd hearing about the plural of "mouse".

Error:
- Reword OK constant to flow better, use `printerr()` over `print()`;
- Describe where `ERR_HELP` is used by the engine;
- Point to the Github Issues Page in ERR_BUG.

PropertyHint:
- Mention that PROPERTY_HINT_IMAGE_COMPRESS_LOSSY and PROPERTY_HINT_IMAGE_COMPRESS_LOSSLESS are unused;
- Mention that PROPERTY_HINT_PASSWORD allows a placeholder string.
- Describe PROPERTY_HINT_OBJECT_TOO_BIG, PROPERTY_HINT_MAX.

PropertyUsageFlags:
- Describe PROPERTY_USAGE_HIGH_END_GFX, PROPERTY_USAGE_ARRAY.
2022-10-21 19:52:09 +02:00
Max Hilbrunner
e73ff0e961
Merge pull request #67636 from groud/fix_localize_path
Fix localize_path with custom protocol identifiers
2022-10-21 18:47:21 +02:00
Max Hilbrunner
f77f7d4ba9
Merge pull request #67072 from Mickeon/uh-oh-stinky
Rewrite most of Resource's documentation
2022-10-21 18:42:44 +02:00
Max Hilbrunner
5b84583b95
Merge pull request #67254 from TechnoPorg/doc-projection-class
Fully document the Projection class.
2022-10-21 18:38:32 +02:00
Max Hilbrunner
05e68196c3
Merge pull request #67648 from Calinou/doc-cylindershape3d-bugs
Document known issues with CylinderShape3D
2022-10-21 18:35:06 +02:00
Max Hilbrunner
13138b307b
Merge pull request #67656 from MewPurPur/instance🧹
Fix minor mistakes throughout the documentation
2022-10-21 18:19:32 +02:00
Max Hilbrunner
d145c9b1a7
Merge pull request #67684 from patchfx/fix-typo-in-draw-rect-region
Fix tp_canvas_item typo in _draw_rect_region
2022-10-21 18:13:45 +02:00
Max Hilbrunner
8ebc8813d5
Merge pull request #67314 from anvilfolk/quote-fix
Fix single-quotes incorrectly escaped when dragging into script editor
2022-10-21 18:12:09 +02:00
Max Hilbrunner
5cefc07d90
Merge pull request #67444 from nonunknown/array_pick_random
Add ability to pick random value from array
2022-10-21 16:25:52 +02:00
Max Hilbrunner
c4c35ab77a
Merge pull request #67627 from KoBeWi/tilter
Fix texture filter and repeat in TileMap
2022-10-21 13:54:31 +02:00
Alfred Reinold Baudisch
7d15ecc3af Add Selection and Caret for Next Occurrence of Selection
Adds the bind `add_selection_for_next_occurrence` to TextEdit, with CTRL+D as the default shortcut.

When the bind is performed, ff a selection is currently active with the last caret in text fields, searches for the next occurrence of the selection, adds a caret and selects the next occurrence.

If no selection is currently active with the last caret in text fields, selects the word currently under the caret.

The action can be performed sequentially for all occurrences of the selection of the last caret and for all existing carets. The viewport is adjusted to the latest newly added caret.

The bind and the behaviour is similar to VS Code's "Add Selection to Next Find Match" and JetBrains' "Add Selection for Next Occurrence". It takes advantage of the multi-caret API.

The default shortcut for `select_word_under_caret` has been changed to ALT+G, in order to give priority to CTRL+D for `add_selection_for_next_occurrence` to better align with popular IDEs and editors.
2022-10-21 08:26:53 +02:00
MrBlockers
4bddec7003 Make texture preview and picker use mipmap filter 2022-10-20 18:36:09 -04:00
VolTer
05a9637d5d Fix small mistakes throughout much of the documentation 2022-10-21 00:20:59 +02:00
Clay John
72b845b287
Merge pull request #67506 from squashiv/master
Expose Shape2D::get_rect to scripting
2022-10-20 13:26:40 -07:00
Richard Patching
5de65bb2d7 Fix tp_canvas_item typo in _draw_rect_region 2022-10-20 20:04:45 +01:00
Pedro J. Estébanez
ae38d7930e Let the RD driver itself expose subgroup caps 2022-10-20 19:37:35 +02:00
Gilles Roudière
fe65d7aa7b Make terrain painting not change neighbors centers bits 2022-10-20 14:47:45 +02:00
Gilles Roudière
56fa8f1d58 Fix localize_path with custom protocol identifiers 2022-10-20 14:12:25 +02:00
Nonunknown
9f4dbf415d add ability to pick random value from array 2022-10-20 08:39:47 -03:00
squash
247a93845d Expose Shape2D::get_rect to scripting 2022-10-20 11:26:49 +03:00
VolTer
1fd59b98fb Remove duplicate operator registrations 2022-10-20 03:03:47 +02:00
TechnoPorg
678eec7530 Fully document the Projection class.
Projection is a 4x4 matrix that applies a projective transformation.
2022-10-19 18:30:37 -06:00
Hugo Locurcio
e7d72eedc6
Document known issues with CylinderShape3D 2022-10-19 23:43:18 +02:00
Cykyrios
44b93006c4 Fix RigidBody3D inertia calculation 2022-10-19 23:26:20 +02:00
kobewi
2f9cbbe0fb Fix texture filter and repeat in TileMap 2022-10-19 23:23:40 +02:00
Clay John
a8c805be29
Merge pull request #66546 from KoBeWi/rfeipletaetr
Add methods to get target filter and repeat
2022-10-19 13:55:57 -07:00
Clay John
f63b2a9c05
Merge pull request #66950 from Calinou/doc-surfacetool-generate-normals-smooth-groups
Document `SurfaceTool.generate_normals()` interaction with smooth groups
2022-10-19 13:51:58 -07:00
Max Hilbrunner
d148613bb1
Merge pull request #66279 from aaronfranke/control-min-size
Revert `custom_minimum_size` type back to `Vector2` instead of `Vector2i`
2022-10-19 22:40:52 +02:00
Max Hilbrunner
f066f2c0de
Merge pull request #66940 from aaronfranke/doc-get-tr-aabb
Remove the global space `get_transformed_aabb` helper method
2022-10-19 22:40:02 +02:00
Max Hilbrunner
23dec5c54f
Merge pull request #65613 from Commander-Firestrike/audiostreamgeneratorplayback_docs_fix_0
Update AudioStreamGeneratorPlayback.xml
2022-10-19 22:15:23 +02:00
Max Hilbrunner
847cef99bf
Merge pull request #66134 from MewPurPur/fix-outdated-editor-settings
Improve some Text Editor editor settings
2022-10-19 22:11:01 +02:00
Max Hilbrunner
c660cc4adc
Merge pull request #66410 from RedMser/patch-1
Fix `Control.get_global_rect` documentation
2022-10-19 22:06:43 +02:00
Max Hilbrunner
ee772f109f
Merge pull request #66326 from zak-grumbles/editor_script_reference_docs
Add note regarding RefCounted to EditorScript docs
2022-10-19 22:02:46 +02:00