kobewi
45e4cb2bbf
Fix error spam when tweened node leaves tree
2022-05-05 17:57:25 +02:00
Rémi Verschelde
88a440826a
Merge pull request #60479 from nathanfranke/despawn-remove-child
...
multiplayer - remove child on despawn instead of just queue_delete
2022-05-05 17:03:40 +02:00
Hugo Locurcio
aabbb40009
Make {call,set,notify}_group()
immediate by default
...
This results in less surprising behavior out of the box.
Internal usages were modified to keep the existing behavior
identical there.
2022-05-05 16:59:37 +02:00
Hugo Locurcio
b6e9314564
Merge pull request #59185 from NeilKleistGao/master
2022-05-05 16:41:39 +02:00
Rémi Verschelde
71e41eb395
Merge pull request #60597 from reduz/missing-node-resource-placeholders
2022-05-05 15:57:50 +02:00
Nathan Franke
680a668e2f
remove child on despawn instead of just queue_delete
2022-05-05 08:50:21 -05:00
Rémi Verschelde
f6e896a968
Merge pull request #60756 from timothyqiu/animated-sprite-autocomplete
...
Add autocompletion for `AnimatedSprite.play()`
2022-05-05 09:20:41 +02:00
Haoyu Qiu
312ec612c7
Add autocompletion for AnimatedSprite.play()
2022-05-05 14:36:35 +08:00
Haoyu Qiu
b3162e270e
Fix global AnimationLibrary name validation
2022-05-05 11:19:54 +08:00
Pawel Lampe
88d3f14697
Add ability to bake_navigation_mesh
off thread.
...
This feature makes it possible to workaround problems such as:
- long baking time due to heavy synchronization when parsing geometry
from mesh instances
- crash when freeing `NavigationMeshInstance` while baking
- errors when actively baking node tree is being detached from the
scene tree
2022-05-04 23:00:18 +02:00
Rémi Verschelde
84f64ddde9
Merge pull request #60723 from reduz/refactor-module-initialization
2022-05-04 19:08:43 +02:00
reduz
de0ca3b999
Refactor module initialization
...
* Changed to use the same stages as extensions.
* Makes the initialization more coherent, helping solve problems due to lack of stages.
* Makes it easier to port between module and extension.
* removed the DRIVER initialization level (no longer needed).
2022-05-04 17:34:51 +02:00
Rémi Verschelde
1b2992799b
Merge pull request #60727 from aaronfranke/basis-axis-column
2022-05-03 19:36:07 +02:00
reduz
0a57f964a3
Implement missing Node & Resource placeholders
...
Implemented by request of @neikeq to advance in the GDExtension version of Mono.
* If a Resource type is missing upon load, it will be remembered together with its data (Unless manually overriden).
* If a Node type is missing upon load, it will be also be remembered together with its data (unless deleted).
This feature makes working with GDExtension much easier, as it ensures that missing types no longer cause data loss.
2022-05-03 17:08:09 +02:00
Rémi Verschelde
b239275989
Merge pull request #60583 from reduz/placeholder-assets
2022-05-03 16:43:13 +02:00
Aaron Franke
fa7a7795f0
Rename Basis get_axis to get_column, remove redundant methods
2022-05-03 09:37:47 -05:00
Rémi Verschelde
d5d86cb26e
Merge pull request #60571 from Sauermann/fix-control-screen-position
...
Inlcude CanvasLayer transform into calculation of Control screen position
2022-05-03 15:26:39 +02:00
Rémi Verschelde
8aa791d166
Merge pull request #59321 from Calinou/primitive-meshes-csg-tweak-default-sizes
...
Decrease default sizes of some primitive and CSG meshes for consistency
2022-05-03 15:19:30 +02:00
Rémi Verschelde
931838b330
Merge pull request #60627 from aaronfranke/rename-elements
...
Rename Transform2D and Basis `elements` to `columns` and `rows` respectively
2022-05-03 14:40:01 +02:00
Rémi Verschelde
297241f368
Merge pull request #60714 from Calinou/typedef-remove-ref
...
Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`
2022-05-03 14:28:18 +02:00
Rémi Verschelde
77c9138e72
Merge pull request #24402 from guilhermefelipecgs/state_machine_improvement
...
Improvements to AnimationNodeStateMachine
2022-05-03 14:25:30 +02:00
Rémi Verschelde
f75afaa085
Merge pull request #58777 from Sauermann/fix-capsulemesh-tangent
...
Reverse tangents of capsule mesh
2022-05-03 08:18:48 +02:00
Hugo Locurcio
180e5d3028
Remove RES
and REF
typedefs in favor of spelled out Ref<>
...
These typedefs don't save much typing compared to the full `Ref<Resource>`
and `Ref<RefCounted>`, yet they sometimes introduce confusion among
new contributors.
2022-05-03 01:43:50 +02:00
kobewi
e3511dd9d7
Fix tscn not listed as Resource extension
2022-05-02 23:21:15 +02:00
Guilherme Felipe
e7056c195d
Improvements of state machine
...
- Open the menu to add new animation nodes by dragging the transitions to
empty areas and automatically connecting them.
- Adds box selection to the state machine.
- Add feature to group/ungroup selected nodes in a "sub" state machine.
- Add start/end node by default. In addition, add new color to these
nodes to differentiate then.
- Add tooltip for transitions to show the connection "from -> to".
- Add new "type" of transition line when multiple transitions are
grouped.
- Add popup to connect nodes in sub state machine.
- Add dialog to select which nodes can be deleted when they are grouped.
- Add classes:
AnimationNodeStartState
AnimationNodeEndState
EditorAnimationMultiTransitionEdit
- Implements disabled transition
API Changes:
- Now it's posible to add transitions between state machines,
`AnimationNodeStateMachine::add_transition` will works with relative path,
this means you can use it like this `add_transition("Idle", "Walk", tr)`
or `add_transition("Idle", "StateMachine/Shoot)`.
2022-05-02 13:06:36 -03:00
Rémi Verschelde
78193788d0
Merge pull request #59895 from akien-mga/clang-tidy
2022-05-02 17:45:13 +02:00
Rémi Verschelde
c273ddc3ee
Style: Partially apply clang-tidy's cppcoreguidelines-pro-type-member-init
...
Didn't commit all the changes where it wants to initialize a struct
with `{}`. Should be reviewed in a separate PR.
Option `IgnoreArrays` enabled for now to be conservative, can be
disabled to see if it proposes more useful changes.
Also fixed manually a handful of other missing initializations / moved
some from constructors.
2022-05-02 16:28:25 +02:00
bruvzg
7b18c35ab2
Fix resource dependence renaming.
2022-05-02 16:38:09 +03:00
Rémi Verschelde
5c52b30471
Merge pull request #60529 from timothyqiu/theme-validation
2022-05-02 10:49:14 +02:00
Rémi Verschelde
4e06ce7840
Merge pull request #60655 from smix8/navigation_region_rid_4.x
...
Add get_region_rid() to NavigationRegion2D and NavigationRegion3D
2022-05-01 14:17:40 +02:00
kobewi
f473aab00d
Improve Tween infinite loop detection
2022-05-01 00:24:07 +02:00
Rémi Verschelde
122fa74f6c
Merge pull request #60650 from bruvzg/lbl_n_spr_z_order
2022-04-30 16:32:32 +02:00
bruvzg
0a0e94d996
Expose Label3D and Sprite*3D material render priority properties.
2022-04-30 15:09:30 +03:00
kobewi
7f0bc91844
Simplify Callable error text methods
2022-04-30 13:42:26 +02:00
smix8
05d06b8957
Add get_region_rid() NavigationRegion2D and NavigationRegion3D
...
Add get_region_rid() to NavigationRegion2D and NavigationRegion3D
2022-04-30 13:27:30 +02:00
Hendrik Brucker
6d876baf60
Improve the VisualShader/VisualScript editor UI
2022-04-30 03:56:57 +02:00
Rémi Verschelde
0e98dbb19c
Merge pull request #60070 from Calinou/proceduralskymaterial-add-dithering
...
Add dithering to ProceduralSkyMaterial to combat banding
2022-04-29 20:28:11 +02:00
kobewi
8187a777ce
Small improvements to get_first_node_in_group()
2022-04-29 16:14:48 +02:00
Rémi Verschelde
a817bd96c0
Merge pull request #59297 from fabriceci/fix-jitter-2D-slight-slope
2022-04-29 15:33:45 +02:00
Aaron Franke
1bf94dff3a
Rename Basis "elements" to "rows"
2022-04-29 08:02:56 -05:00
Aaron Franke
b831fb0a54
Rename Transform2D "elements" to "columns"
2022-04-29 08:02:39 -05:00
Nathan Franke
925e54ad65
fix lines ending in comments causing auto indent
2022-04-28 20:07:10 -05:00
bruvzg
be2ee9d277
[Label3D] Add offset property.
2022-04-28 21:23:15 +03:00
Rémi Verschelde
212989d467
Merge pull request #59438 from fabriceci/fix-move-and-collide-reported-collisions
...
Fix wrong collision reported on move_and_collide
2022-04-28 18:47:22 +02:00
Rémi Verschelde
5a4e478b0f
Merge pull request #58599 from Calinou/styleboxflat-add-skew
...
Add a Skew property to StyleBoxFlat
2022-04-28 18:32:01 +02:00
Rémi Verschelde
1eb09364f8
Merge pull request #60247 from ScottVMariotte/AnimationTree_atEndFix
...
Replaced `loops_current` with `end_loop` in `AnimationNodeStateMachinePlayback`
2022-04-28 18:22:23 +02:00
Rémi Verschelde
9101c5b499
Merge pull request #52624 from e8newallm/52577
...
Corrected ordering of Left/Top/Right/Bottom properties
2022-04-28 17:57:02 +02:00
Haoyu Qiu
6c01ef8f4c
Miscellaneous Tween fixes
2022-04-28 21:19:01 +08:00
reduz
b02c7387c7
Implement placeholder assets
...
* Placeholder textures
* Placeholder meshes
* Placeholder material
This PR is the first step towards implementing https://github.com/godotengine/godot-proposals/issues/2756
It adds an asset type that uses no resources, which can be used to replace the existing ones on export for using on the upcoming server export.
2022-04-28 12:19:01 +02:00
Markus Sauermann
a793960a10
Fix cppcheck const parameters
...
Convert method signature parameters to const where it is possible
# Conflicts:
# drivers/gles3/rasterizer_canvas_gles3.cpp
# drivers/gles3/rasterizer_canvas_gles3.h
# editor/plugins/animation_state_machine_editor.cpp
# editor/plugins/animation_state_machine_editor.h
2022-04-28 11:35:39 +02:00
Markus Sauermann
f01e1ce1dd
Inlcude CanvasLayer transform into calculation of Control screen position
2022-04-28 00:18:32 +02:00
Hugo Locurcio
53b8899be9
Decrease default sizes of some primitive and CSG meshes for consistency
2022-04-27 22:45:38 +02:00
Rémi Verschelde
3e9ead05f2
Merge pull request #58685 from IgorKordiukiewicz/gpu_particles_2d_interpolation_property
...
Added interpolation property to GPUParticles2D
2022-04-27 13:58:41 +02:00
Rémi Verschelde
1737494479
Merge pull request #60321 from rburing/pathfollow_offset_yes_a_number
2022-04-27 13:27:19 +02:00
Rémi Verschelde
1de51133c9
Merge pull request #60331 from KoBeWi/tween_static()
2022-04-27 13:20:11 +02:00
Rémi Verschelde
baeb8ad860
Merge pull request #60361 from Geometror/fix-gradient-texture-2d-get-image
2022-04-27 12:49:39 +02:00
Rémi Verschelde
f40952e0ba
Merge pull request #60349 from TokageItLab/fix-rotated-root-motion-view
2022-04-27 12:41:24 +02:00
Rémi Verschelde
2890ac7100
Merge pull request #60319 from TokageItLab/implement-global-rest
2022-04-27 11:06:42 +02:00
Rémi Verschelde
6c20ade250
Merge pull request #60440 from KoBeWi/Ȑ̶̛̘̻̹̪͙̇̍̔͐̊̆̏̏̓̈́̉͌͘Ȩ̸͉̳̘̬̣̩̽̈́́̅̈́̕͝ͅS̷͓̮̙̪̪̺̭̰̓̎̌́͗͆͌̈́̒͋͊͘Ë̷̡̨͔̻͈̺͓̘͉́̏̍̓͋̋͠T̶̠̙͍̱̠̱̟͎͇̬̥̞̘͛̔̄̏̆̽̄̌̅͝ͅ
2022-04-27 11:06:20 +02:00
Rémi Verschelde
8dfa12cae7
Merge pull request #59979 from bruvzg/cpp_check2
2022-04-27 10:08:26 +02:00
Samuel Wilson
a4c38aa92e
Fix TileMap::set_pattern offsets
...
Currently it is trying to use the target coordinates (i.e., in the destination TileMap) to pull from the pattern, rather than the pattern-local coordinates.
2022-04-27 09:35:33 +02:00
Rémi Verschelde
a19d7d8f8d
Merge pull request #58383 from bruvzg/no_inv_window_placement
2022-04-27 09:33:40 +02:00
Rémi Verschelde
e9e2aaf812
Merge pull request #60513 from Calinou/default-font-add-msdf-mipmap
...
Add MSDF and mipmap generation project settings for the default font
2022-04-26 22:39:55 +02:00
Fabio Alessandrelli
aee2240d5f
[Net] Allow branch-specific MultiplayerAPIs.
...
Removes custom_multiplayer from Node.
MultiplayerAPI overrides are now set at SceneTree level, and apply to
whole branches.
Impact on performance when using only the default multiplayer or
overriding it is minimal, the use of branches can likely be further
optimized by caching nodes and relevant MultiplayerAPI IDs.
2022-04-26 17:22:54 +02:00
Haoyu Qiu
d8c04cda3a
Validate theme type/item names
2022-04-26 19:54:43 +08:00
Rémi Verschelde
06c33cca18
Merge pull request #60511 from akien-mga/readd-find_node
2022-04-26 09:42:19 +02:00
Rémi Verschelde
e77a7c2976
Merge pull request #60369 from timothyqiu/al-validate
...
Fix AnimationLibrary name validation
2022-04-26 08:17:41 +02:00
Rémi Verschelde
8c2b9801fd
Merge pull request #60438 from Paulb23/text-edit-tests
...
Add TextEdit unit tests and multiple fixes.
2022-04-25 23:39:30 +02:00
Rindbee
44e32ba75c
Fix font_size not working in TabContainer
2022-04-25 23:22:59 +08:00
Hugo Locurcio
43c34bf611
Add MSDF and mipmap generation project settings for the default font
...
This can be used to improve Label3D and scaled Control appearance
in prototypes.
2022-04-25 16:47:44 +02:00
Rémi Verschelde
68ee730774
Merge pull request #60424 from timothyqiu/fa-unref
...
Close `FileAccess` before accessing it with `DirAccess`
2022-04-25 16:21:09 +02:00
Rémi Verschelde
02bb8e948f
Merge pull request #60261 from fire-forge/theme-prop-renames
2022-04-25 16:20:19 +02:00
Rémi Verschelde
49a7f929a6
Merge pull request #60123 from KoBeWi/borrowed
...
ItemList selection bug && navigation bug fixed
2022-04-25 16:18:58 +02:00
Rémi Verschelde
30aeffd0c4
Merge pull request #60491 from RedHeadphone/master
...
Correct initial cpu particle velocity
2022-04-25 16:03:28 +02:00
Rémi Verschelde
63a052d96b
Merge pull request #60386 from bruvzg/label3d
2022-04-25 15:51:31 +02:00
Rémi Verschelde
9c2ea7e296
Node: Re-add find_node
as find_child
, improve docs
...
The new name contrasts it better with `find_parent`, and makes it clear
that it only matches child/descendant nodes.
Also rename `find_nodes` to `find_children` accordingly.
2022-04-25 15:21:22 +02:00
Rémi Verschelde
7c7ce7dcd7
Merge pull request #60298 from reduz/scene-unique-paths
2022-04-25 13:38:08 +02:00
reduz
8580f377a3
Implement Scene Unique Nodes
...
Implements https://github.com/godotengine/godot-proposals/issues/4096
* Nodes can be marked unique to the scene in the editor (or via code).
* Unique nodes can be accessed via the **%** prefix at any point in the path. From that point in the path (depending on whether the scene of the path is), the unique node will be fetched.
* Implementation is very optimal, as these nodes are cached.
2022-04-25 12:19:17 +02:00
Yuri Rubinsky
d9d871dfbf
Merge pull request #60439 from Chaosus/vs_vec4
2022-04-25 07:20:44 +03:00
Clay John
e80aedbf20
Merge pull request #60378 from clayjohn/ParticlesMaterial-clamp
...
Clamp Gradient and Curve Textures in ParticlesMaterial
2022-04-24 10:37:27 -07:00
RedHeadphone
f603c75035
correct initial cpu particle velocity
2022-04-24 14:50:42 +05:30
Silc 'Tokage' Renew
df89969865
fixed rotated RootMotionView grid glitch
2022-04-24 15:46:39 +09:00
Clay John
187daffbfc
Merge pull request #60336 from TokageItLab/fix-root-motion-rotation-init
...
Fixed wrong init value of root motion rotation
2022-04-23 18:45:02 -07:00
Thakee Nathees
09835f3cc5
ItemList selection bug && navigation bug fixed
...
Co-authored-by: kobewi <kobewi4e@gmail.com>
2022-04-24 00:31:02 +02:00
FireForge
3073b85de9
Rename theme properties to include underscores
...
- check_vadjust -> check_v_adjust
- close_h_ofs -> close_h_offset
- close_v_ofs -> close_v_offset
- commentfocus -> comment_focus
- hseparation -> h_separation
- ofs -> offset
- selectedframe -> selected_frame
- state_machine_selectedframe -> state_machine_selected_frame
- table_hseparation -> table_h_separation
- table_vseparation -> table_v_separation
- vseparation -> v_separation
2022-04-23 11:16:18 -05:00
kobewi
cf74b36740
Fix RESET animation not being created
2022-04-22 22:28:15 +02:00
Yuri Roubinsky
8bf632240d
Continue to improve vector4 type in visual shaders
2022-04-22 22:29:26 +03:00
Paulb23
7f62a74927
Multiple small TextEdit Bug Fixes
...
Fixed line_drawing_cache not containing anything
Fixed is_move_caret_on_right_click_enabled requiring the context menu to be enabled
Fixed when selecting_enabled is false not disabling shift + click
Fixed when selecting_enabled is false not being able to drag the caret
Fixed _delete emitting signals when nothing had changed.
Fixed insert_line_at up causing a visual update
Fixed get_pos_at_line_column returning a valid position when it was invalid
Fixed set_caret_column unnecessary emitting "caret_changed" when the column is greater then the line
Fixed select_word_under_caret not accepting the edges of words
Fixed select_word_under_caret moving the caret to the start of the line when no word was found
Fixed get_selection_line and get_selection_column not checking if the selection was enabled
Fixed set_line_as_center_visible throwing errors if it would show line 0
Fixed set_line_as_center_visible being off by one
Fixed set_line_as_last_visible not being able to show the first line
Fixed pressing UP and the end of a wrapped line sending the caret to col 0 rather then then persevering the position.
2022-04-22 17:53:14 +01:00
Haoyu Qiu
caf8e5e339
Close FileAccess before accessing it with DirAccess
2022-04-22 18:15:31 +08:00
bruvzg
be611c1c05
Implement Label3D node.
...
Add "generate_mipmap" font import option.
Add some missing features to the Sprite3D.
Move BiDi override code from Control to TextServer.
Add functions to access TextServer font cache textures.
Add MSDF related flags and shader to the standard material.
Change standard material cache to use HashMap instead of Vector.
2022-04-22 12:08:46 +03:00
bruvzg
defcd0c57e
Avoid setting sub-window or started project window positions, if it's impossible to get screen rect.
2022-04-20 11:10:33 +03:00
bruvzg
de4c97758a
Fix more issues found by cppcheck.
2022-04-20 10:34:00 +03:00
Yuri Rubinsky
f4b0c7a1ea
Merge pull request #60175 from Geometror/visual-shader-vector4
2022-04-20 08:33:42 +03:00
clayjohn
1ea4f37c50
Clamp Gradient and Curve Textures in ParticlesMaterial
2022-04-19 15:39:19 -07:00
Hendrik Brucker
39a4036aa2
Fix GradientTexture2D update after setting the gradient
2022-04-19 19:51:49 +02:00
Haoyu Qiu
d8fed8fb69
Fix AnimationLibrary name validation
2022-04-19 17:15:43 +08:00
Silc 'Tokage' Renew
dd90a34e8a
fixed init value in root motion rotation
2022-04-18 14:04:49 +09:00
kobewi
3017530e26
Make Tween.interpolate_value() static
2022-04-17 23:13:39 +02:00
Hugo Locurcio
d1c2a0df4e
Add a property hint for AspectRatioContainer's ratio
property
...
Zero or negative ratios are not valid, so the property hint prevents
choosing such values.
The property hint allows using 4 decimals so that common aspect ratios
like 16/9 can be specified with a good level of precision.
2022-04-17 22:03:47 +02:00
Silc 'Tokage' Renew
4d4ffa3a2c
Implement global rest
2022-04-18 02:11:19 +09:00
Ricardo Buring
eb9157df23
PathFollow2D and PathFollow3D: don't set offset to NaN
2022-04-17 17:26:05 +02:00
Rémi Verschelde
f7ca732df1
Merge pull request #60308 from TokageItLab/remove-exp-map-in-blending
...
Discontinue exp map in blending
2022-04-17 00:23:28 +02:00
Silc 'Tokage' Renew
3ce843c128
Discontinue exp map in blending
2022-04-17 04:34:28 +09:00
Hugo Locurcio
52d6a7a7ff
Fix the Audio Listener 3D property not being grouped with 2D in Viewport
2022-04-16 02:22:58 +02:00
Rémi Verschelde
3639c27cf1
Merge pull request #60235 from TokageItLab/fix-value-track-blend
...
Fixed blending value track without RESET and TRS3D track with RESET
2022-04-15 09:09:27 +02:00
ScottVMariotte
c526ee6683
Replaced loops_current with end_loop
2022-04-14 18:18:00 -04:00
Rémi Verschelde
7a4c203ce9
Merge pull request #60225 from YeldhamDev/popmenu_arrow_slim
...
Reduce width of arrow icons for the default theme in `PopupMenu`
2022-04-14 21:24:21 +02:00
Silc 'Tokage' Renew
0fe723a1ac
Fixed value track blend animation without RESET
2022-04-14 19:01:00 +09:00
Michael Alexsander
bab2f3c021
Add font_separator
and related properties to PopupMenu
2022-04-13 23:46:35 -03:00
Michael Alexsander
c088e2f416
Reduce width of arrow icons for the default theme in PopupMenu
2022-04-13 23:22:46 -03:00
Rémi Verschelde
3b57c2ce6b
Merge pull request #60221 from YeldhamDev/grid_toplevel_fix
...
Fix `GridContainer` not ignoring toplevel children
2022-04-14 00:33:52 +02:00
Rémi Verschelde
321213d863
Merge pull request #60220 from YeldhamDev/the_line_must_be_drawn_here
...
Fix and tweak labeled separator in `PopupMenu`
2022-04-14 00:15:23 +02:00
Michael Alexsander
506d8ba526
Fix GridContainer
not ignoring toplevel children
2022-04-13 18:09:51 -03:00
Rémi Verschelde
8ada85ef1d
Merge pull request #60093 from TokageItLab/reset-blend
...
Make blend animation to use ResetTrack as default value
2022-04-13 22:46:45 +02:00
Michael Alexsander
59c3d4e17f
Fix and tweak labeled separator in PopupMenu
2022-04-13 17:13:29 -03:00
Rémi Verschelde
312b70115a
Merge pull request #60211 from timothyqiu/al-rename
2022-04-13 18:28:34 +02:00
Haoyu Qiu
bdfb3884ff
Fix parameter validation when renaming in AnimationLibrary
2022-04-13 22:14:47 +08:00
ConteZero
6530e55f2d
Fix select_all() crash in RichTextLabel
2022-04-13 15:41:34 +02:00
Rémi Verschelde
d27f60f0e8
Merge pull request #60199 from akien-mga/color-clarify-srgb-linear-conversions
2022-04-13 13:41:21 +02:00
Rémi Verschelde
d1bb77076a
Merge pull request #60004 from fire-forge/anim-loop-enum
2022-04-13 13:07:34 +02:00
Rémi Verschelde
9b89c07075
Merge pull request #60034 from Calinou/camera-allow-lower-size
2022-04-13 12:48:08 +02:00
Rémi Verschelde
e44aa166f0
Merge pull request #60194 from V-Sekai/node_3d_gizmo_fix
2022-04-13 12:23:01 +02:00
Rémi Verschelde
46ef52162e
Color: Rename to_srgb
/to_linear
to include base color space
...
This helps reduce confusion around sRGB <> Linear conversions by making
both input and output color spaces explicit.
2022-04-13 11:45:52 +02:00
bruvzg
8b0761d1fd
Fix sub-menu keyboard navigation.
2022-04-13 09:58:38 +03:00
SaracenOne
f8cc2e054d
Ensure gizmos are added to newly created Node3D-derivatives and silence error for attempting to create gizmos twice
2022-04-13 04:39:01 +01:00
Rémi Verschelde
895f2a21f4
Merge pull request #60081 from fire-forge/input-event-editor-fix
...
Redesign InputEvent editor and fix `Window.popup_centered()` rect calculation.
2022-04-12 23:46:56 +02:00
Hendrik Brucker
cf58d23a72
Add Vector4 to VisualShader
2022-04-12 19:09:29 +02:00
Rémi Verschelde
3c1c772b01
Merge pull request #59531 from TokageItLab/fix-init-root-motion
...
Fixed initialization of TRS Track in blend tree for root motion
2022-04-12 18:51:23 +02:00
Rémi Verschelde
d9cb39c2e8
Merge pull request #60170 from ConteZero/context_menu
2022-04-12 18:42:58 +02:00
Yuri Rubinsky
3d63f6e36d
Merge pull request #60171 from Chaosus/restore_aa
2022-04-12 18:09:58 +03:00
ConteZero
645aded7e9
Add context menu to RichTextLabel
2022-04-12 16:28:38 +02:00
FireForge
0b0a74e135
Redesign InputEvent editor plugin
...
- Use vertical layout and add text wrapping
- Fix Window.popup_centered() rect calculation
2022-04-12 08:30:24 -05:00
Rémi Verschelde
724dd82f92
Merge pull request #60069 from Calinou/fsr-fix-editor-enum
2022-04-12 14:33:52 +02:00
Yuri Roubinsky
6e9535a9c8
Restore antialiasing for draw_line
2022-04-12 13:03:56 +03:00
bruvzg
4bf99f4af2
Narrow FileAccess scope to prevent deadlocks.
2022-04-12 10:54:39 +03:00
Rémi Verschelde
5974e1432e
Merge pull request #60085 from YeldhamDev/relationships_are_hard
2022-04-11 23:36:13 +02:00
Rémi Verschelde
9d86e4f446
Merge pull request #59927 from Zylann/fix_graphnode_title_trim
...
Fix GraphNode not resizing with larger title
2022-04-11 21:07:40 +02:00
Rémi Verschelde
3fc7a96cf8
Merge pull request #60120 from Calinou/environment-editor-ssil-tonemap-hide
...
Hide SSIL properties when SSIL is disabled in the Environment resource
2022-04-11 20:34:28 +02:00
Eric McGuirk
b1441bbcfc
Fix toggling GraphEdit's minimap with minimap_enabled
...
Fixes #53831 .
2022-04-11 17:52:04 +02:00
Rémi Verschelde
b936359e07
Merge pull request #60026 from ConteZero/shortcut_keys_enabled
2022-04-11 17:50:41 +02:00
Rémi Verschelde
2507b2b006
Merge pull request #54191 from Ev1lbl0w/bugfix-window_popup_ratio
2022-04-11 17:49:20 +02:00
Rémi Verschelde
4ab86c6731
Merge pull request #59980 from reduz/animation-libraries
2022-04-11 14:18:35 +02:00
Rémi Verschelde
5613ac37d6
Merge pull request #59440 from bruvzg/fd_ref_counted
2022-04-11 14:12:18 +02:00
Rémi Verschelde
2ec68599a4
Merge pull request #60111 from KoBeWi/the_files_have_landed
2022-04-11 12:52:51 +02:00
Rémi Verschelde
f44e5dba6d
Merge pull request #60124 from KoBeWi/sepyt_noitcennoc_dilav
2022-04-11 12:52:13 +02:00
reduz
6f401439f8
Implement Animation Libraries
...
* Instead of containing single animations, AnimationPlayer now contains libraries.
* Libraries, in turn, contain the animations.
This paves the way for implementing the possibility of importing scenes as animation libraries, finally allowing to import animations separate from the 3D models.
Missing (will be done on separate PRs):
* Make it possible to import scenes (dae/fbx/gltf) as animation libraries.
* Make it possible for AnimationTree to import animation libraries on its own, so it does not rely on AnimationPlayer for everything.
2022-04-11 12:51:54 +02:00
bruvzg
9381acb6a4
Make FileAccess and DirAccess classes reference counted.
2022-04-11 13:28:51 +03:00
Rémi Verschelde
ca9372622f
Merge pull request #60104 from ConteZero/shortcut_keys
2022-04-11 12:02:42 +02:00
FireForge
197be78bc5
Fix Theme type group naming in the inspector
2022-04-10 22:18:21 -05:00
kobewi
63de41b996
Improvements to files_dropped signal
2022-04-11 00:37:06 +02:00
kobewi
b29aff8dac
Fix GraphEdit's valid connections being reversed
2022-04-11 00:34:59 +02:00
Hugo Locurcio
f9c0a66d6e
Hide SSIL properties when SSIL is disabled in the Environment resource
...
- Hide Tonemap White property when the tonemapper is Linear
(as linear tonemapping does not use a whitepoint).
2022-04-10 23:44:19 +02:00
ConteZero
addadaaa24
Add select_all() to RichTextLabel
2022-04-10 18:03:10 +02:00
Ev1lbl0w
139c1eb655
Clamp ratio from popup_centered_ratio
2022-04-10 11:10:21 +01:00
Silc 'Tokage' Renew
860fac4e6f
Make blend animation to use ResetTrack as default value
2022-04-10 13:00:00 +09:00
Michael Alexsander
335068e89b
Draw relationship lines for items offscreen
2022-04-09 20:59:17 -03:00
Hugo Locurcio
bc2ca2ebcf
Add dithering to ProceduralSkyMaterial to combat banding
...
Dithering was already present in PhysicalSkyMaterial. This brings
it to ProceduralSkyMaterial as well, with the same algorithm
and default intensity.
2022-04-09 18:29:41 +02:00
Hugo Locurcio
d15b69118d
Fix 3D scaling enum size in the editor and improve descriptions
2022-04-09 17:53:45 +02:00
Rémi Verschelde
eb6ebdc4af
Merge pull request #59995 from Scony/fix-threaded-navmesh-baking
...
Fix navmesh baking
2022-04-09 01:27:55 +02:00
Pawel Lampe
fcd26b8841
Fix navmesh baking
...
- improved mesh data calculation from standalone static colliders so that no
VisualServer calls are performed - and thus no VS mutexes need to
be locked in case of on-thread baking
- improved the same for GridMap's static colliders
2022-04-08 21:01:59 +02:00
Hugo Locurcio
2252663163
Allow size
values as low as 0.001
in Camera3D's orthogonal/frustum mode
...
This allows for lower field of view (or higher zoom) in orthogonal
and frustum camera modes.
The property hint also allows setting the size with greater precision.
2022-04-08 18:49:45 +02:00
ConteZero
a3d82f5afb
Fix shortcut_keys_enabled in TextEdit
2022-04-08 15:13:32 +02:00
FireForge
28261b3da8
Add enum hint for Animation.loop_mode
2022-04-07 17:19:32 -05:00
Rémi Verschelde
0f9231ca0f
Merge pull request #59788 from Vitika9/59711
2022-04-07 15:30:57 +02:00
Rémi Verschelde
46382d9a24
Merge pull request #59958 from akien-mga/compat-opensimplexnoise-fastnoiselite
2022-04-06 23:30:59 +02:00
Rémi Verschelde
84b315a9ee
Add compat rename for OpenSimplexNoise
...
Fixes #59953 .
2022-04-06 21:12:24 +02:00
bruvzg
f851c4aa33
Fix some issues found by cppcheck.
2022-04-06 14:34:37 +03:00
bruvzg
9c61fa7ad8
[RTL] Improve table cell selection.
2022-04-06 09:03:08 +03:00
Marc Gilleron
79c6d7ad7f
Fix GraphNode not resizing with larger title
2022-04-05 21:57:54 +01:00
kobewi
6e622c58c5
Change gizmo_extents to property
2022-04-05 16:16:28 +02:00
Rémi Verschelde
e9699dca02
Merge pull request #58062 from Calinou/panoramaskymaterial-default-black
2022-04-05 15:21:01 +02:00
bruvzg
d1207a0504
[Input] Add extra shortcut_input
input processing step to process Unicode character input with Alt / Ctrl modifiers, after processing of shortcuts.
2022-04-05 13:46:45 +03:00
Haoyu Qiu
8cefbfcf43
Consider chained operation when selecting text in TextEdit::undo()
2022-04-05 09:12:10 +08:00
Rémi Verschelde
f454cea785
Merge pull request #58452 from marcgpuig/text-edit-backspace-fix
2022-04-04 23:58:33 +02:00
Rémi Verschelde
b512fe67a6
Merge pull request #59888 from akien-mga/clang-tidy
2022-04-04 23:57:30 +02:00
Pawel Lampe
e17e4b34a8
Fix debug navmesh errors
2022-04-04 23:03:14 +02:00
Rémi Verschelde
b78aa4fe19
Style: Apply clang-tidy to current code, add readability-redundant-member-init
2022-04-04 21:49:51 +02:00
Rémi Verschelde
f8ab79e68a
Zero initialize all pointer class and struct members
...
This prevents the pitfall of UB when checking if they have been
assigned something valid by comparing to nullptr.
2022-04-04 19:49:50 +02:00
Markus Sauermann
01c37dc277
Revert "Fix that collision objects ignore canvas transform"
...
This reverts commit 5521b93750
.
2022-04-04 18:08:05 +02:00
Rémi Verschelde
e659eb66a0
Merge pull request #59874 from ConteZero/richtextlabel_deselect
2022-04-04 16:57:11 +02:00
ConteZero
45159e88e1
Add deselect() to RichTextLabel
2022-04-04 16:06:57 +02:00
Igor Kordiukiewicz
fd54762892
Added interpolation property to GPUParticles2D
2022-04-04 15:51:13 +02:00
Rémi Verschelde
338b23d572
Merge pull request #59513 from BastiaanOlij/openxr_actionmap_editor
2022-04-04 14:26:28 +02:00
Rémi Verschelde
f1592cb3da
Merge pull request #58010 from jmb462/fix-TextEdit-v_scroll_speed
2022-04-04 13:50:52 +02:00
Bastiaan Olij
9b7b9de0e5
Add action map editor for OpenXR
2022-04-04 18:43:29 +10:00
Rémi Verschelde
25d36e085b
Merge pull request #59856 from KoBeWi/touching_spam
...
Fix TouchScreenButton error spam
2022-04-04 09:35:48 +02:00
bruvzg
28520002cf
Fix center aligned text clipping.
2022-04-04 09:04:05 +03:00
kobewi
db19cc60fb
Fix TouchScreenButton error spam
2022-04-04 01:47:40 +02:00
Marc Garcia Puig
f22d257025
Fixed ctrl + backspace on empty lines
...
Fix <word><space><caret> scenario
Fix move left & right for lines without words
2022-04-04 01:21:16 +02:00
jmb462
0d17903bd5
Fix TextEdit v_scroll_speed invalid values breaks wheel scrolling
2022-04-03 21:07:39 +02:00
Rémi Verschelde
6bbd4def45
Merge pull request #59415 from KoBeWi/tween_time()
2022-04-02 00:31:40 +02:00
Markus Sauermann
6b3207644b
Distribute remaining pixel to expanding childs of GridContainer
2022-04-01 19:04:07 +02:00
Rémi Verschelde
1ec40a94d5
Merge pull request #59791 from fountainment/fix_scroll_zoom
2022-04-01 17:57:58 +02:00
Vitika9
ff75b30e6e
Removed show_on_top property in CanvasItem
2022-04-01 18:40:40 +05:30
Rémi Verschelde
26048c805b
Merge pull request #59331 from bartekd97/navigation-agent-layers
2022-04-01 13:35:51 +02:00
Markus Sauermann
249d6a4225
Fix how Root Control Node is determined
2022-04-01 13:34:57 +02:00
C.Even
2080077c9c
Fix that slow mouse wheel scroll has no zoom effect on 2D editor
...
* scroll_vec in ViewPanner::gui_input is multiplied by float factors,
so it should be a Vector2 rather than Vector2i
* Fixes #57423
2022-04-01 18:34:00 +08:00
Rémi Verschelde
4263f02f28
Merge pull request #59764 from reduz/blender-import-autodetect
2022-04-01 11:42:05 +02:00
reduz
e32215fbad
Add Blender install autodetection and configuration.
...
This PR is a continuation to #54886
* Changed Blender path editor setting from binary to installation.
* Add a class to query whether the format is supported.
* This class allows to create proper editors to configure support.
**NOTE**: This PR only provides autodetection on Linux. Code needs to be added for Windows and MacOS to autodetect the Blender installation.
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
Co-authored-by: Pedro J. Estébanez <pedrojrulez@gmail.com>
2022-04-01 11:01:12 +02:00
Rémi Verschelde
f3fe2631da
Merge pull request #59771 from timothyqiu/i18n-theme-props
...
Extract theme property names for localization
2022-04-01 08:44:11 +02:00