Commit graph

48120 commits

Author SHA1 Message Date
Micky
9de7b1afce Doc consistency: "inspector" to "Inspector"
Also fixes a slightly misleading comment in `Node.print_tree_pretty`.
2022-10-27 18:41:20 +02:00
Clay John
03e5de37ae
Merge pull request #67912 from RevoluPowered/fix-exeception-bad-access
Fix EXE_BAD_ACCESS caused by optional argument
2022-10-26 23:06:22 -07:00
Clay John
06cad89060
Merge pull request #67905 from alfredbaudisch/vs-operand-aliases-dev
Add math operators to Visual Shader node names for easier and simpler searching
2022-10-26 12:18:43 -07:00
Gordon MacPherson
56df8d5f19 Fix EXE_BAD_ACCESS caused by optional argument
This argument is now non optional, but this never hits the same bad access.
I voted to simplify the code here since the argument is never used optionally in our codebase.
2022-10-26 19:33:35 +01:00
Alfred Reinold Baudisch
46f2a1674d Add math operators to Visual Shader node names
This change makes it easy, in the "Create Shader Node" dialog, to search for VS nodes by just typing the operator. For example, instead of typing "multiply", you can just type "*" and multiply nodes will be listed.

This feature is inspired by Unreal Engine node graph editor's UX.

Implements and closes https://github.com/godotengine/godot-proposals/issues/5663
2022-10-26 17:36:19 +02:00
Yuri Rubinsky
2b505b74b9
Merge pull request #67431 from Chaosus/vs_fix_nodes_code 2022-10-25 20:38:24 +03:00
Max Hilbrunner
69e5ad7f09
Merge pull request #67098 from Calinou/doc-light-no-scale
Document (Omni/Spot)Light3D ignoring Node3D's `scale` property
2022-10-25 14:31:07 +02:00
Max Hilbrunner
035b5b76a0
Merge pull request #67833 from Calinou/doc-animation
Document the Animation class
2022-10-25 14:29:12 +02:00
Max Hilbrunner
bb77342c07
Merge pull request #67843 from Calinou/doc-csgshape3d
Document `collision_priority` in the CSGShape3D class
2022-10-25 14:26:47 +02:00
Max Hilbrunner
1425b4ee09
Merge pull request #67841 from Calinou/doc-basematerial3d
Document the BaseMaterial3D class
2022-10-25 14:23:36 +02:00
Max Hilbrunner
9e509caa8b
Merge pull request #67858 from TechnoPorg/fix-upnp-docs
Fix Thread usage in UPNP docs.
2022-10-25 14:22:23 +02:00
Max Hilbrunner
d49ef5fea8
Merge pull request #67768 from Calinou/doc-debanding
Document debanding only affecting 3D rendering by default
2022-10-25 14:15:47 +02:00
Max Hilbrunner
3b2f8052fb
Merge pull request #67848 from Calinou/doc-canvastexture
Document the CanvasTexture class
2022-10-25 14:15:07 +02:00
Yuri Rubinsky
32997a5b9d
Merge pull request #67823 from Chaosus/fix_image_crash 2022-10-25 10:50:33 +03:00
TechnoPorg
4c06237b93 Fix Thread usage in UPNP docs.
The threading API has changed between Godot 3 and Godot 4.
See https://github.com/godotengine/godot-proposals/issues/4691.
2022-10-24 17:23:33 -06:00
Hugo Locurcio
d5ded67458
Document the CanvasTexture class 2022-10-24 21:57:58 +02:00
Clay John
c51a42778d
Merge pull request #67541 from RandomShaper/refactor_subgroup_ads
Let the RD driver itself expose subgroup caps
2022-10-24 12:02:06 -07:00
Hugo Locurcio
185695dda9
Document (Omni/Spot)Light3D ignoring Node3D's scale property 2022-10-24 18:49:15 +02:00
Hugo Locurcio
df636ac881
Document collision_priority in the CSGShape3D class 2022-10-24 18:44:30 +02:00
Hugo Locurcio
fb742cb16f
Document the BaseMaterial3D class
This makes the class 100% documented again.
2022-10-24 18:40:01 +02:00
Hugo Locurcio
9e7ec78c6b
Document the Animation class 2022-10-24 17:06:32 +02:00
Hugo Locurcio
8777f38089
Document debanding only affecting 3D rendering by default 2022-10-24 16:18:59 +02:00
Yuri Rubinsky
adec51cde8 Fix crash when calling fill method on an empty Image 2022-10-24 11:28:10 +03:00
Clay John
040f49ed6e
Merge pull request #67390 from groud/more_conservative_terrain_painting
Make terrain painting not change neighbors centers bits
2022-10-23 17:11:06 -07:00
Clay John
9be3fd640b
Merge pull request #67513 from Calinou/editor-light2d-fix-shadow-filter-smooth-visibility
Fix Light2D Shadow Filter Smooth property being visible with filter None
2022-10-23 17:03:07 -07:00
Clay John
4134f2a464
Merge pull request #67566 from Sauermann/fix-code-simplifications
Code simplifications
2022-10-23 17:02:04 -07:00
Clay John
753a182797
Merge pull request #65334 from dsnopek/opengl-multiview
[opengl] Add multiview to the opengl3 driver
2022-10-23 17:00:01 -07:00
Clay John
a6fc95cd92
Merge pull request #67647 from Cykyrios/fix-rigidbody3d-inertia
Fix RigidBody3D inertia calculation
2022-10-23 16:53:25 -07:00
Fredia Huya-Kouadio
8b37511364
Merge pull request #67755 from m4gr3d/input_event_screen_touch_double_tap_main
Add double_tap attribute to InputEventScreenTouch
2022-10-23 08:11:49 -07:00
Max Hilbrunner
79bad6ab7f
Merge pull request #67764 from keptsecret/implement-mesh-surface-update-x-region
Implemented mesh_surface_update_x_region functions
2022-10-23 15:03:23 +02:00
Max Hilbrunner
09f4ec7988
Merge pull request #67677 from rsubtil/doc_popupmenu
Document PopupMenu "id_pressed" behavior
2022-10-23 15:00:06 +02:00
Fabio Alessandrelli
0d04e7ec91
Merge pull request #67780 from kdada/fix-multiplayer-sync-time
Fix MultiplayerSynchronizer::update_outbound_sync_time when replication_interval is not 0
2022-10-23 09:25:16 +02:00
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
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
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