Yuri Sizov
752402cf35
Clean-up, harmonize, and improve StyleBox API
...
- Make all margin properties follow the same naming convention (their getter and setter too).
- Remove a virtual counterpart of `get_style_margin` from API.
- Allow to override `get_minimum_size` from scripting and remove `get_center_size`.
2023-01-19 20:02:21 +03:00
Rémi Verschelde
d3665effd5
Merge pull request #71443 from TechnoPorg/fix-resource-conversion-plugins
...
Make EditorResourceConversionPlugin usable.
2023-01-19 13:23:37 +01:00
Rémi Verschelde
4679f8724a
Merge pull request #71628 from reduz/fixup-editor-file-system-script-parsing
...
Clean up EditorFileSystem script parsing
2023-01-19 10:09:55 +01:00
clayjohn
faea9f5c10
Remove SCREEN_TEXTURE, DEPTH_TEXTURE, and NORMAL_ROUGHNESS_TEXTURE
...
in favour of texture hints
2023-01-18 19:52:47 -08:00
Rémi Verschelde
acd62443b6
Merge pull request #71619 from TokageItLab/add-keep-state-to-anim-stop
...
Add `p_keep_state` to `AnimationPlayer::stop()`
2023-01-18 22:41:43 +01:00
Rémi Verschelde
5dd3a6dbe2
Merge pull request #71638 from raulsntos/dotnet/export-plugin
...
C#: Implement `ExportPlugin::_get_name` and move `GLOBAL_DEF` to CSharpLanguage
2023-01-18 22:29:37 +01:00
Rémi Verschelde
2050f59e3a
Merge pull request #71623 from kleonc/draw_arc_clamp_to_single_circle
...
`CanvasItem::draw_arc` Clamp angle difference so arc won't overlap itself
2023-01-18 22:28:24 +01:00
Rémi Verschelde
f40f1e0c90
Merge pull request #60904 from KoBeWi/ 👻 👻 👻
...
Allow unindent without selection
2023-01-18 22:27:36 +01:00
Raul Santos
3425d43fed
C#: Move GLOBAL_DEF
s to CSharpLanguage ctor
...
Also documents the .NET project settings.
2023-01-18 21:53:58 +01:00
Juan Linietsky
5bdc0d97d3
Clean up EditorFileSystem script parsing
...
* Optimize only update modified/added/removed files.
* Clean up documentation parsing.
2023-01-18 20:56:45 +01:00
Rémi Verschelde
955f05a4fa
Merge pull request #71473 from TigranExe/patch-2
...
Added property descriptions to and clarified description of SkeletonProfile
2023-01-18 17:34:13 +01:00
Rémi Verschelde
da1b78222c
Merge pull request #71615 from groud/bring_back_get_cells_by_id
...
Bring back TileMap::get_cells_by_id
2023-01-18 17:33:14 +01:00
Silc Renew
d16004f297
Add p_keep_state to AnimationPlayer::stop()
2023-01-19 01:05:46 +09:00
kobewi
b427d3585c
Allow unindent without selection
2023-01-18 17:05:15 +01:00
Gilles Roudière
68afc0afa5
Bring back TileMap::get_cells_by_id
2023-01-18 15:56:31 +01:00
Tigran
20a23cd8cb
Updated SkeletonProfile's main and property descriptions
...
Updated SkeletonProfile's main and property descriptions
-Description now has note about read only quality
-"bone_size" and "group_size" property descriptions have been added and clarified.
-Property descriptions refer to BoneMap page instead of [code]bone_map[/code] from [Retargeting 3d skeletons](https://docs.godotengine.org/en/latest/tutorials/assets_pipeline/retargeting_3d_skeletons.html#bone-map ).
-all property descriptions now do not have any Notes to split them
-TokageItLab clarifies property descriptions to highlight their use
Co-Authored-By: Silc 'Tokage' Renew <tokage.it.lab@gmail.com>
2023-01-18 09:23:04 -05:00
kleonc
43fc483e6c
CanvasItem::draw_arc Clamp angle difference so arc won't overlap itself
2023-01-18 15:16:22 +01:00
Rémi Verschelde
0461f75387
Merge pull request #71527 from matt08-prog/patch-1
...
add RichTextLabel::push_font_size description
2023-01-18 08:38:14 +01:00
Rémi Verschelde
6da836bbb4
Merge pull request #71514 from akien-mga/os-unset_environment
...
OS: Add `unset_environment`, better validate input
2023-01-18 08:35:43 +01:00
RedMser
ec4f9f5e2d
Fix documentation 2d/3d mixups
2023-01-17 21:34:10 +01:00
Rémi Verschelde
19152765de
Merge pull request #71145 from dalexeev/doc-sprite-frames
...
Improve `SpriteFrames` docs
2023-01-17 11:13:49 +01:00
matt08-prog
44c27802b2
add RichTextLabel::push_font_size description
...
Is it worth adding descriptions for the ItemType enum values (ITEM_FRAME , ITEM_TEXT etc.) or are they self explanatory enough?
2023-01-16 14:15:41 -07:00
Rémi Verschelde
818a9e99a4
OS: Add unset_environment
, better validate input
...
Instead of returning an undocumented boolean error code, we do the
validation checks that should ensure a successful result.
Based on:
- https://linux.die.net/man/3/setenv
- https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-setenvironmentvariable
2023-01-16 16:39:44 +01:00
bruvzg
c6ed9bb77e
Fix typo and add missing docs for WINDOW_FLAG_MOUSE_PASSTHROUGH.
2023-01-16 14:25:32 +02:00
Rémi Verschelde
5ca6c1f9db
Merge pull request #70557 from KoBeWi/class_yeet
...
Move global script class cache to separate file
2023-01-16 12:49:08 +01:00
Rémi Verschelde
47689c7d51
Merge pull request #71502 from bruvzg/tooltip_clickthrough
...
Add `WINDOW_FLAG_MOUSE_PASSTHROUGH` flag and enabled it for tooltips.
2023-01-16 12:48:45 +01:00
Danil Alexeev
a8cbb6245b
Fix scaling issue in draw_line
and similar methods
2023-01-16 12:49:58 +03:00
bruvzg
34b34b104c
Add WINDOW_FLAG_MOUSE_PASSTHROUGH
flag and enabled it for tooltips. Expose window_set_mouse_passthrough
to Window
.
2023-01-16 11:42:49 +02:00
kobewi
6444c7d127
Move global script class cache to separate file
2023-01-16 10:16:30 +01:00
Rémi Verschelde
0f0b853c98
Merge pull request #70668 from KoBeWi/never_give_up
...
Retry loading addons after filesystem scan
2023-01-16 09:47:17 +01:00
Rémi Verschelde
b45bd946c6
Merge pull request #70669 from KoBeWi/bruh2
...
Improve ResourcePreloader description
2023-01-16 09:46:52 +01:00
Rémi Verschelde
0b5743327c
Merge pull request #71436 from TigranExe/patch-1
...
Added a brief description to SkeletonProfileHumanoid
2023-01-16 09:41:59 +01:00
Rémi Verschelde
f96701eda6
Merge pull request #71461 from snoopdouglas/snoopdouglas/master
...
Class reference: snake_case .tscn & .gd filenames, _on_* callbacks
2023-01-16 09:41:36 +01:00
Rémi Verschelde
da57e0059e
Merge pull request #70504 from KoBeWi/the_choosen_antipattern
...
Add EditorUndoRedoManager singleton
2023-01-16 09:24:50 +01:00
TigranExe
d50868e688
doc: Add a brief description to SkeletonProfileHumanoid
2023-01-16 09:21:07 +01:00
Rémi Verschelde
88c81bfbe5
Merge pull request #71456 from raulsntos/dotnet/sync-plane
...
C#: Sync `Plane` with Core
2023-01-16 09:20:30 +01:00
Rémi Verschelde
94312ab943
Merge pull request #71445 from raulsntos/dotnet/transforms
...
C#: Add missing `Transform{2D,3D}` and `Basis` constructors
2023-01-16 09:20:07 +01:00
Rémi Verschelde
1580081268
Merge pull request #71474 from raulsntos/plane_get_center
...
Rename `center` method to `get_center` in Plane.
2023-01-16 09:16:40 +01:00
Rémi Verschelde
ce278b1b7a
Merge pull request #70433 from Sauermann/fix-treeitem-id
...
Fix confusion about TreeItem.add_button ambiguity between id and index
2023-01-16 09:15:15 +01:00
kobewi
b58111588a
Add EditorUndoRedoManager singleton
2023-01-16 01:11:52 +01:00
Raul Santos
7a19c87c7e
C#: Sync Plane
with Core
...
- Add `Plane(Vector3)` constructor.
- Rename `IntersectRay` to `IntersectsRay`.
- Rename `IntersectSegment` to `IntersectsSegment`.
- Replace `Center` property with `GetCenter` method.
- Add and fix documentation about the _normal_ parameter
to Core and C# documentation.
2023-01-15 19:47:42 +01:00
Raul Santos
7560340ef6
Rename center
method to get_center
in Plane.
2023-01-15 17:18:50 +01:00
Raul Santos
5136366112
C#: Add missing Transform{2D,3D}
and Basis
constructors
...
- Remove `Transform3D(Quaternion, Vector3)` constructor from C#.
- Add `Transform3D(Projection)` constructor to C#.
- Add documentation to the `Transform3D(Projection)` constructor in Core.
- Add `Transform3D` constructor with only real_t params to C# that mirrors `Transform2D`.
- Expose `Basis` constructor with only real_t params in C#.
- Add `Transform2D(real_t, Vector2, real_t, Vector2)` constructor to C#.
2023-01-15 15:45:43 +01:00
Doug Thompson
a4c734ed32
Class reference: snake_case .gd filenames, _on_*
...
This is for:
https://github.com/godotengine/godot-docs/issues/6245
2023-01-15 13:26:29 +00:00
TechnoPorg
2904d19069
Make EditorResourceConversionPlugin usable.
...
Previously, EditorResourceConversionPlugin nominally existed in scripting, but there was no way for a user to actually register one.
This PR adds methods to EditorPlugin for registering/unregistering EditorResourceConversionPlugins.
Additionally, it documents EditorResourceConversionPlugin with descriptions and a basic example.
2023-01-14 18:48:11 -07:00
Yuri Sizov
4c1f11944e
Update all outdated online documentation links
2023-01-14 19:38:00 +03:00
Anthony Cossins
ddab3976fe
Uppercase references to color constants in documentation
2023-01-13 22:56:22 +00:00
Rémi Verschelde
ae66a4b301
Merge pull request #71235 from Calinou/doc-shader-per-instance-uniforms
...
Clarify the difference between uniforms and per-instance uniforms in docs
2023-01-13 22:34:50 +01:00
Rémi Verschelde
030a95dd61
Merge pull request #71137 from lyuma/remove_modification_stack_3d
...
Remove SkeletonModificationStack3D, and Skeleton3D api cleanup
2023-01-13 22:34:09 +01:00
Yuri Sizov
682ef35787
Merge pull request #71328 from reduz/button-shortcuts-no-longer-press
...
Button shortcuts no longer "press" the Button.
2023-01-14 00:14:51 +03:00