Rémi Verschelde
2e273f0e35
Merge pull request #77724 from RandomShaper/remove_red_th_cond
...
Remove redundant check from thread guards
2023-06-01 15:52:16 +02:00
Rindbee
594852caf1
Make sure that data.last_minimum_size
is consistent with get_combined_minimum_size()
at the same time
...
Move the code for switching `data.minimum_size_valid` in `Control::update_minimum_size()`
to `Control::_update_minimum_size()`, make sure to switch `data.minimum_size_valid` to
`false` only before updating `data.last_minimum_size` , so that it will remain consistent
with `get_combined_minimum_size()`.
2023-06-01 19:02:42 +08:00
Pedro J. Estébanez
8c288918a0
Remove redundant check from thread guards
2023-06-01 11:08:14 +02:00
Rémi Verschelde
d998323ab4
Merge pull request #77452 from Sauermann/fix-deprecate-push-unhandled-input
...
Deprecate push_unhandled_input
2023-06-01 00:40:44 +02:00
Rémi Verschelde
f77dee90a6
Merge pull request #76389 from ajreckof/editor-property-nodepath-for-node
...
Fix typed array export
2023-06-01 00:40:40 +02:00
Markus Sauermann
6d490ce8de
Deprecate push_unhandled_input
...
The functionality of `push_unhandled_input` has changed so that it no
longer propagates input events to SubViewports.
This makes it less predictable and it should be deprecated in favor of
`push_input` which provides the same functionality and more.
Also this deprecation simplifies the Viewport-API by reducing the methods
for pushing input events, so that users don't need to worry about when
to use which function in order to insert input events.
2023-05-31 19:07:04 +02:00
Yuri Sizov
c3e512eda4
Merge pull request #77692 from RandomShaper/fix_th_material_load
...
Fix materials' shaders not updated if loaded on a non-main thread
2023-05-31 14:35:05 +02:00
Yuri Sizov
5598fec7c0
Merge pull request #77446 from YuriSizov/gui-treeitem-add-child
...
Implement `TreeItem.add_child`
2023-05-31 13:02:19 +02:00
Pedro J. Estébanez
197b54370a
Fix materials' shaders not updated if loaded on a non-main thread
2023-05-31 12:50:27 +02:00
Yuri Sizov
943e5b9019
Merge pull request #77631 from KdotJPG/issue-77491-fix-turbulence-noise-scale
...
Fix `turbulence_noise_scale` for Particle Turbulence
2023-05-31 12:49:49 +02:00
Yuri Sizov
3ed7bdc26f
Implement TreeItem.add_child
2023-05-31 11:36:23 +02:00
KdotJPG
9332a091e1
Fix turbulence_noise_scale
regression.
...
Fixes #77491
2023-05-30 23:58:01 -04:00
RedworkDE
6b7008b73b
Fix crash when selecting lines in text edit
2023-05-30 20:32:44 +02:00
Yuri Sizov
c0ee762f46
Merge pull request #77655 from bitsawer/fix_strange_fragments
...
Fix suspicious code related to text rendering
2023-05-30 16:03:44 +02:00
Yuri Sizov
6dd5ccdedd
Merge pull request #66625 from Sauermann/fix-move-child-update
...
Create a virtual mouse move event after moving child nodes in tree
2023-05-30 15:57:21 +02:00
Yuri Sizov
c4aacb9e27
Merge pull request #77654 from AThousandShips/material_no_3d
...
Don't disable `Material` and `PlaceholderMaterial` when `disable_3d=yes`
2023-05-30 15:41:25 +02:00
Yuri Sizov
faa73c9fcb
Merge pull request #77608 from bitsawer/fix_cyclic_includes
...
Fix shader preprocessor cyclic include handling
2023-05-30 15:32:04 +02:00
Yuri Sizov
3a895eafc0
Merge pull request #77595 from Sauermann/fix-double-inputevent
...
Fix InputEvent being used twice
2023-05-30 15:25:36 +02:00
bitsawer
78361370ec
Fix issues found by a static analyzer
2023-05-30 12:47:50 +03:00
Ninni Pipping
1f1be5fe9b
Don't disable Material
and PlaceholderMaterial
when disable_3d=yes
2023-05-30 11:44:21 +02:00
Rémi Verschelde
df30c9d6e7
Merge pull request #77507 from Igorrreha/fix/line-edit-expanding-to-text
...
Fix LineEdit expanding to text length
2023-05-30 09:32:30 +02:00
Markus Sauermann
ce10ca6979
Create a virtual mouse move event after moving child nodes
...
This updates mouse cursor and mouse-over-states without the need
for additional mouse movements.
2023-05-29 22:46:19 +02:00
Yuri Sizov
f3983b59f4
Merge pull request #77159 from AThousandShips/texture_button_fix
...
Make `TextureButton` and `Button` update on texture change
2023-05-29 17:31:32 +02:00
Yuri Sizov
ee7b26403b
Merge pull request #77433 from YuriSizov/editor-reparented-popups-fix
...
Fix auto-reparenting logic in the `ProgressDialog`
2023-05-29 17:30:46 +02:00
Yuri Sizov
c5e989209c
Merge pull request #76151 from MewPurPur/square-gradient2d
...
Add a square fill mode to GradientTexture2D
2023-05-29 17:17:16 +02:00
Yuri Sizov
a96d1bf4d4
Merge pull request #77519 from bruvzg/menu_bar_rtl
...
Fix MenuBar item order in RTL layout.
2023-05-29 17:07:05 +02:00
Yuri Sizov
11f84ed36f
Merge pull request #77588 from YeldhamDev/window_title_move_fix
...
Fix error when attempting to move a embedded window with a negative title height
2023-05-29 17:06:50 +02:00
Yuri Sizov
4c5c7cbb58
Fix auto-reparenting logic in the ProgressDialog
...
* Make sure `Popup` signals are disconnected when unparented.
* Remove a fail condition from `Window::is_embedded` when
not in tree.
2023-05-29 17:02:16 +02:00
Ninni Pipping
d4ac3b6ded
Make TextureButton
and Button
update on texture change
2023-05-29 16:40:56 +02:00
bruvzg
be42ff0ef4
Fix MenuBar item order in RTL layout.
2023-05-29 17:03:49 +03:00
bitsawer
23c375d6b4
Fix shader uniform storage conversions and crash
2023-05-29 15:17:13 +03:00
bitsawer
67038471ff
Fix shader preprocessor cyclic include handling
2023-05-29 12:05:22 +03:00
Rémi Verschelde
aa739bae4f
Merge pull request #76616 from TokageItLab/implement-anim-node-sub2
...
Implement `AnimationNodeSub2` to `AnimationTree` and allow less or greater value in mathematical `AnimationNode`
2023-05-29 10:29:02 +02:00
Rémi Verschelde
c97201babc
Merge pull request #76545 from JoNax97/gradient_color_spaces
...
Add Linear SRGB and OKLab color spaces to Gradient.
2023-05-29 10:28:58 +02:00
Rémi Verschelde
990943782a
Merge pull request #74959 from MewPurPur/nice-curves
...
Overhaul the Curve Editor
2023-05-29 10:28:53 +02:00
Markus Sauermann
a9bf3de08e
Fix InputEvent being used twice
...
A single mouse click can cause multiple actions, which contradicts
the paradigm that a single Input Event should cause only a single
action.
The solution consists of two parts:
1. Physics Picking as the last step during viewport input event
handling, currently doesn't set the event as handled. This PR sets
the event as handled in the case of physics picking.
2. After an InputEvent is processed by a SubVieportContainer, it is
sent to its parent, even if it set as handled within the SubViewport.
This PR adds an additional test to check if the event is handled
before propagating the event to the parent Control.
2023-05-29 02:39:09 +02:00
Michael Alexsander
af04d3fb2c
Fix error when attempting to move a embedded window with a negative title height
2023-05-28 16:46:16 -03:00
VolTer
a3c4a4b039
Overhaul the Curve Editor
2023-05-28 14:17:51 +02:00
Silc Lizard (Tokage) Renew
c9c8205644
Implement NodeSub2 to AnimationTree & improve mathematical Nodes
2023-05-27 13:19:54 +09:00
JoNax97
c07b2fcf4d
Add Linear SRGB and OKLab color spaces to Gradient.
2023-05-26 16:18:01 -03:00
Igorrreha
d8886e1a0c
Fix LineEdit expanding to text length
...
Fix for issue #77474
Remove wrong tab
Change the comment to more relevant
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-05-26 23:42:03 +07:00
Rémi Verschelde
c9241e31da
Merge pull request #77500 from KoBeWi/pretty_funny_bug_if_you_ask_me
...
Fix AnimationPlayer cumulative `speed_scale`
2023-05-26 11:02:06 +02:00
Rémi Verschelde
0c04c17fce
Merge pull request #77439 from AThousandShips/popup_idx_fix
...
Unify item indexing in `PopupMenu`
2023-05-26 11:00:55 +02:00
kobewi
87a6145135
Fix AnimationPlayer cumulative speed_scale
2023-05-26 07:11:29 +02:00
smix8
66a8418a2d
Remove unnecessary Clipper lib includes
...
Removes unnecessary Clipper lib includes.
2023-05-24 23:57:08 +02:00
kobewi
9128ce95ce
Check for null in set_pattern()
2023-05-24 16:43:29 +02:00
Ninni Pipping
44a5b710f5
Unify item indexing in PopupMenu
2023-05-24 15:58:50 +02:00
Silc Renew
42aa5398d9
Fix Pathfollow direction
...
Co-authored-by: aaronfranke <arnfranke@yahoo.com>
2023-05-24 17:37:00 +09:00
Rémi Verschelde
5562100d33
Merge pull request #77411 from saki7/control-get_drag_data-const
...
Expose `Control::_get_drag_data()` as non-const function
2023-05-24 08:49:57 +02:00
Rémi Verschelde
6f34a23439
Merge pull request #76082 from reduz/ability-to-look-at-in-model-space
...
Add the ability to look-at in model-space.
2023-05-24 08:46:53 +02:00
Rémi Verschelde
a1058313a9
Merge pull request #75622 from joao-pedro-braz/parse_string_paths_with_quotes_correctly_bb_code
...
Make sure to normalize subtags when parsing BBCode
2023-05-24 08:45:35 +02:00
Rémi Verschelde
3512d18884
Merge pull request #71040 from marzecdawid/fix-input-lock-in-tree
...
Remove up/down input for text search in Tree
2023-05-24 08:43:27 +02:00
Rémi Verschelde
adbdf9a86e
Merge pull request #77234 from RandomShaper/fix_rtl_mt
...
Allow threads to mark themselves as safe for nodes
2023-05-24 08:42:59 +02:00
Juan Linietsky
5fdc1232ef
Add the ability to look-at in model-space.
...
This is a much simpler attempt to solve the same problem as #76060 , but without breaking any compatibility.
* Adds a description of what model space is in the Vector3 enums (MODEL_* constants). This has the proper axes laid out for imported 3D assets.
* Adds the option to `look_at` using model_space, which uses Vector3.MODEL_FRONT as forward vector.
The attempt of this PR is to still break the assumption that there is a single direction of forward (which is not the case in Godot)
and make it easier to understand where 3D models are facing, as well as orienting them via look_at.
2023-05-24 10:10:24 +09:00
Pedro J. Estébanez
e725b4b02b
Allow threads to mark themselves as safe for nodes
2023-05-24 00:22:58 +02:00
João Pedro Braz
8b6e57256f
Make sure to normalize subtags when parsing BBCode
...
This PR makes it so that all subtags are normalized before usage.
Normalization means removing any leading and/or trailing quotation marks
from any given subtag.
Fixes: https://github.com/godotengine/godot/issues/75501
2023-05-23 18:55:06 -03:00
Nana Sakisaka
3dbd47ecb6
Expose Control::_get_drag_data() as non-const function
2023-05-24 06:09:45 +09:00
Dawid Marzec
9fe1d6aa27
Remove up/down input for text search in Tree
2023-05-23 21:41:10 +02:00
Rémi Verschelde
4e9e5e85b6
Merge pull request #77307 from 44zb/skeleton-find-bone-performance
...
Improve `Skeleton3D::find_bone()` performance
2023-05-23 19:14:34 +02:00
Rémi Verschelde
8f9e0672fb
Merge pull request #77297 from puchik/popup-close-key-mapping
...
Use defined key mapping for closing popups and dialogs
2023-05-23 19:14:31 +02:00
Rémi Verschelde
012541763d
Merge pull request #77288 from puchik/expose_get_window_id
...
Expose get_window_id() from Window class
2023-05-23 19:14:24 +02:00
Artyom Lunchenkov
f645eee62e
Improve Skeleton3D::find_bone() performance
2023-05-23 21:02:46 +06:00
ajreckof
006e899bb3
sort code completions with rules
...
Fixups
Add levenshtein distance for comparisons, remove kind sort order, try to improve as many different use cases as possible
Trying again to improve code completion
Sort code autocompletion options by similarity based on input
To make it really brief, uses a combination `String.similiary`, the category system introduced in a previous PR, and some filtering to yield more predictable results, instead of scattering every completion option at seemingly random.
It also gives much higher priority to strings that contain the base in full, closer to the beginning or are perfect matches.
Also moves CodeCompletionOptionCompare to code_edit.cpp
Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com>
Co-Authored-By: Eric M <41730826+EricEzaM@users.noreply.github.com>
2023-05-23 05:12:34 +02:00
bruvzg
aaddec7cb8
[TextServer] Add support for retrieving OpenType name strings.
2023-05-22 18:08:34 +03:00
Rémi Verschelde
5dc093b19a
Merge pull request #77341 from RedworkDE/doctool-material-error-fix
...
Fix error in `BaseMaterial3D` when running doctool
2023-05-22 17:02:23 +02:00
Rémi Verschelde
ab935aaac6
Merge pull request #77312 from ajreckof/fix_window_unselectable_for_ViewportTexture_NodePath
...
Fix `Window` derived nodes being unselectable for `ViewportTexture` `NodePath`
2023-05-22 17:02:20 +02:00
RedworkDE
69f2bc2751
Improve SelfList
and fix error in BaseMaterial3D
when running doctool
2023-05-22 16:38:57 +02:00
Rémi Verschelde
65fa775ff6
Merge pull request #75469 from ibotha/fix/74259-sky-cover-not-reset-properly
...
Properly set sky_cover property of sky_material to Nil in setter
2023-05-22 14:13:16 +02:00
Rémi Verschelde
b85269cd8b
Merge pull request #77342 from RandomShaper/fix_build_bad_compiler
...
Fix compile issue in not very conformant compilers
2023-05-22 13:56:19 +02:00
Rémi Verschelde
a30a55dd1f
Merge pull request #77166 from bruvzg/item_list_rtl
...
[ItemList] Fix item text positions in RTL mode.
2023-05-22 13:48:54 +02:00
Rémi Verschelde
7a176459b1
Merge pull request #76899 from rakkarage/spring-tween
...
Add TRANS_SPRING to Tween
2023-05-22 13:48:47 +02:00
Rémi Verschelde
0f0f233d37
Merge pull request #76751 from anvilfolk/swatch
...
Fix adding colors to swatches not updating in previous ColorPickers.
2023-05-22 13:48:43 +02:00
Rémi Verschelde
6b3a79261a
Merge pull request #76617 from tektrip-biggles/baked-curve-fix
...
Fix for "off-by-1" bug when sampling "baked" curve data towards the end of the curve.
2023-05-22 13:48:39 +02:00
Rémi Verschelde
405fe7aa1a
Merge pull request #76401 from bruvzg/rtl_tab_stops
...
[RichTextLabel] Add support for tab stops.
2023-05-22 13:48:35 +02:00
Rémi Verschelde
5ac6e9232b
Merge pull request #74962 from KoBeWi/pick_outside_the_box
...
Improve color picking
2023-05-22 13:48:26 +02:00
Pedro J. Estébanez
250d8d00b5
Fix compile issue in not very conformant compilers
2023-05-22 13:33:40 +02:00
ocean (they/them)
a132ed0ca4
Fix adding colors to swatches not updating in previous ColorPickers.
...
ColorPicker was only updating colors if its swatches were empty. It
should always update from the cache in case some other ColorPicker
updated the swatch cache.
2023-05-21 17:50:14 -04:00
Isard Botha
74041e3705
Fix issue 74259 by setting the sky cover property back to nil when it is reset in the editor.
2023-05-21 18:35:33 +01:00
ajreckof
ace7620e55
fix Window
derived nodes being unselectable for ViewportTexture
NodePath
2023-05-21 16:28:41 +02:00
ajreckof
465742d904
Fix typed array export
...
Apply suggestions from code review to squash later
Revert "Fix typed array export... again"
This reverts commit da8d6734fb
.
Co-Authored-By: Tomek <kobewi4e@gmail.com>
2023-05-21 08:40:11 +02:00
Arman Elgudzhyan
8ab2cf3d2d
Use defined key mapping for closing popups and dialogs
...
As opposed to hardcoding the escape key. Also removed such hardcoding in a few other places as well as a hardcoded enter key in one of the affected input fields.
2023-05-20 17:39:59 -07:00
Arman Elgudzhyan
49890a99c1
Expose get_window_id() from Window class
...
Window classes often need a Window ID for operations. This will help with performing operations on cached Windows.
2023-05-20 14:48:24 -07:00
bruvzg
fb78889904
[RichTextLabel] Add support for tab stops.
2023-05-20 22:58:51 +03:00
bruvzg
343c35e7b0
[ItemList] Fix item text positions in RTL mode.
2023-05-20 22:58:02 +03:00
Biggles Bristol
c920a4f051
[Fixed] for "off-by-1" bug when sampling "baked" curve data towards the end of the curve.
...
[Fixed] Failing test "[Curve] Custom curve with free tangents" by setting the curve's `bake_resolution` to 11.
[Fixed] test messages in "[Curve] Custom curve with free tangents" to match sample offset used in each test
[Added] New test "[Curve] Straight line offset test" in response to pull request feedback.
Update tests/scene/test_curve.h
Co-authored-by: kleonc <9283098+kleonc@users.noreply.github.com>
2023-05-20 11:28:09 +01:00
Yuri Sizov
605e25656f
Merge pull request #77242 from novalis/slider-remove-active
...
Stop dragging when `Slider` changes editability
2023-05-19 17:17:13 +02:00
David Turner
7d6b44c5a4
Stop dragging when a slider changes editability
2023-05-19 10:20:42 -04:00
kobewi
b76ddeda45
Improve color picking
2023-05-19 14:21:43 +02:00
SaracenOne
18c792fe42
Allocate unique track_blends vector for animation states.
...
Quick fix for a bug which occurs when blending the result of multiple instanced state machines outputting the same animation, but using filter tracks.
2023-05-18 20:02:43 +01:00
Yuri Sizov
0032c1c0c2
Merge pull request #77161 from AThousandShips/touch_texture_fix
...
Make `TouchScreenButton` connections reference counted
2023-05-18 19:19:31 +02:00
Yuri Sizov
ca8bbf24ae
Merge pull request #77194 from lyuma/pose_global_no_override
...
Fix get_bone_pose_global_no_override()
2023-05-18 18:55:00 +02:00
Lyuma
565803ce3d
Fix get_bone_pose_global_no_override()
2023-05-18 03:14:45 -07:00
Rakka Rage
780e21bcac
Add TRANS_SPRING to Tween
2023-05-17 17:54:37 -04:00
Ninni Pipping
0648cc65b2
Make TouchScreenButton
connections reference counted
...
Prevents errors when assigning the same texture to both slots
2023-05-17 22:51:42 +02:00
Rémi Verschelde
05cc281e4d
Merge pull request #77154 from RPicster/raffa/particles-noise-improvement
...
Reworked Particle Turbulence
2023-05-17 18:36:08 +02:00
Rémi Verschelde
d803304c62
Merge pull request #77145 from RandomShaper/enh_fix_mt_proc
...
Enhance/fix MT-processing related things
2023-05-17 15:59:21 +02:00
KdotJPG
91bdd4073b
Reworked Particle Turbulence - Rebased.
2023-05-17 14:25:21 +02:00
Rémi Verschelde
437041a983
Merge pull request #77141 from TokageItLab/optimize-tween-division
...
Optimize Tween calculations by caching some divisions
2023-05-17 11:25:30 +02:00
Pedro J. Estébanez
50cf3d6966
Optimize threading-sensitive node data for single-threaded processing
2023-05-17 02:04:41 +02:00
Pedro J. Estébanez
44cc0d2ec2
Let calls through thread guards in resource loading contexts
2023-05-17 01:43:28 +02:00
Rindbee
9bd1d3b5c8
Update size or size cache when toggling expand_icon
in Button
...
When the `expand_icon` is switched, the size cache can be updated to
solve the issue that the cache cannot be updated when the `OptionButton`
is enabled with `fit_to_longest_item`.
2023-05-17 06:06:25 +08:00
Silc Lizard (Tokage) Renew
e09c3d8126
Optimize Tween calculations by caching some divisions
2023-05-17 07:03:45 +09:00
Rémi Verschelde
755c61b57a
Merge pull request #77064 from brno32/push-input-null-check
...
Check for null event in Viewport::push_input
2023-05-16 11:04:08 +02:00
Rémi Verschelde
12b7a56202
Merge pull request #76713 from KoBeWi/TODO_is_now
...
Fix 2D audio in multiple viewports
2023-05-16 11:00:45 +02:00
Rémi Verschelde
d61827af05
Merge pull request #76605 from Rindbee/fix_get_visible_line_count
...
Fix calculation bug with `TextEdit::get_line_height()`
2023-05-16 10:59:52 +02:00
Rémi Verschelde
508a5bf16e
Merge pull request #76025 from YuriSizov/editor-reparentable-windows
...
Expose dialog parent-and-popup logic to the API
2023-05-16 10:49:09 +02:00
Rémi Verschelde
59c19a7172
Merge pull request #75250 from bruvzg/lbl_rtl_jst_flags
...
Expose TextServer justification flags to Label, Label3D, TextMesh and RTL. Add flags to control last/single line justification.
2023-05-16 10:48:45 +02:00
Rémi Verschelde
8cfa19a078
Merge pull request #77000 from reduz/make-more-base-nodes-thread-safe
...
Make more base nodes thread safe
2023-05-16 00:31:56 +02:00
Alex Drozd
a5a1c3a03c
check for null event in Viewport::push_input
2023-05-15 20:16:15 +02:00
Yuri Sizov
17f492fb82
Expose dialog parent-and-popup logic to the API
2023-05-15 19:49:28 +02:00
bruvzg
9163d8c336
Expose TextServer justification flags to Label, Label3D, TextMesh and RTL. Add flags to control last/single line justification.
2023-05-15 19:23:54 +03:00
Juan Linietsky
0a9f72d5a8
Make more base nodes thread safe
...
Ongoing work to make more of the base nodes thread safe.
2023-05-15 16:54:10 +02:00
Rémi Verschelde
591115dcde
Merge pull request #76989 from dalexeev/fix-draw-multiline-colors-usage
...
Fix `draw_multiline_colors` usage
2023-05-15 13:44:09 +02:00
Rémi Verschelde
88f5b8d687
Merge pull request #74190 from TokageItLab/respect-fade-abort-oneshot
...
Fix NodeOneShot doesn't respect fade-out when aborting and improvement
2023-05-15 13:43:20 +02:00
Silc Lizard (Tokage) Renew
238bc9fe1f
Fix NodeOneShot doesn't respect fade-out when aborting and improvement
2023-05-15 18:51:45 +09:00
Rémi Verschelde
37fd9a32f3
Merge pull request #77065 from FranckRJ/fix-capsuleshape2d-getrect
...
Fixed width of CapsuleShape2D::get_rect + set center to center of shape
2023-05-15 09:35:23 +02:00
Danil Alexeev
cc44d75cd8
Fix draw_multiline_colors
usage
2023-05-15 09:56:13 +03:00
Rindbee
391bce44b7
Fix calculation bug with TextEdit::get_line_height()
...
When `get_line_height()` is less than `1`, there is no visible text.
So limit the return value of `get_line_height()` to **not less** than
`1` for calculation.
2023-05-15 07:16:00 +08:00
FranckRJ
ab5462e386
Fixed width of CapsuleShape2D::get_rect + set center to center of shape
...
The width of the rect was only half of the width of the shape, and
the 0;0 coord was at the top left of the rect.
Now the width properly matches the width of the shape, and the 0;0
coord is at the center of the shape. It should match the behavior
of Godot 3.X.
2023-05-14 18:09:07 +02:00
kleonc
d3d84d90de
Fix AnimatedSprite3D autoplay warning
2023-05-13 13:10:38 +02:00
Clement C
999a1fffec
Fix crash when changing node type from PopMenu to ItemList
2023-05-12 23:29:52 +02:00
Rémi Verschelde
e8bc100c81
Merge pull request #74054 from Rindbee/clean_up_owner
...
Avoid crash when adjusting a node tree that is not in the tree
2023-05-12 11:17:03 +02:00
Rémi Verschelde
cc48827e4a
Merge pull request #76946 from AThousandShips/shadow_warning
...
Enable shadow warnings and fix raised errors
2023-05-12 10:04:09 +02:00
Rémi Verschelde
07764a4a11
Merge pull request #76852 from AThousandShips/item_list_rect
...
Add `get_item_rect` function to `ItemList`
2023-05-12 10:02:10 +02:00
Ninni Pipping
e5fdce7ca3
Add get_item_rect
function to ItemList
2023-05-11 19:01:54 +02:00
smix8
f986b52b3c
Make navigation mesh edge connections optional
...
Makes navigation mesh edge connections optional.
2023-05-11 18:46:34 +02:00
Ninni Pipping
71ee65dc57
Enable shadow warnings and fix raised errors
2023-05-11 16:00:59 +02:00
Rémi Verschelde
f78c2dd82f
Merge pull request #75678 from smix8/navregion_update_guards_4.x
...
Prevent unnecessary navigation map synchronizations
2023-05-11 13:33:10 +02:00
Rémi Verschelde
a745bf3802
Merge pull request #76826 from AThousandShips/item_list_fix
...
Minor bugfixes to `ItemList`
2023-05-11 11:47:33 +02:00
Rémi Verschelde
4020cc8acb
Merge pull request #76794 from Wiwip/inline-edit
...
Inline editor for the file system dock
2023-05-11 11:46:45 +02:00
Rémi Verschelde
f7070a64e0
Merge pull request #72277 from Geometror/improve-editor-state-preservation
...
Improve editor state persistence
2023-05-11 11:45:52 +02:00
smix8
7e1a261cc6
Prevent unnecessary navigation map synchronizations
...
Prevents unnecessary navigation map synchronizations triggered by redundant calls to setters of e.g. region, link or map properties.
2023-05-11 07:38:16 +02:00
Hendrik Brucker
dc46163b12
Improve editor state persistence
2023-05-11 04:17:03 +02:00
Rindbee
1eb250e17d
Avoid crash when adjusting a node tree that is not in the tree
...
When node tree `A` is not in the tree, `remove_child(B)` will not
automatically clean up the owners of `B` and `B`'s child nodes.
This is convenient for implementing operations like `replace_by()`,
but may have hidden dangers when manipulating the rest of the tree
`A`.
This commit makes it safe to manipulate the rest of `A` after freeing
`B`.
2023-05-11 08:57:39 +08:00
Wiwip
b08a6084af
Modifies the file system dock to use the inline editor instead of a dialog.
...
*Bugsquad edit:* Closes https://github.com/godotengine/godot-proposals/issues/4933
2023-05-10 18:49:35 -04:00
Pedro J. Estébanez
b6647a5808
Avoid sync issues in materials with scheduled shader updates
2023-05-10 18:53:41 +02:00
Pedro J. Estébanez
8983b20ccd
Avoid interaction issues between resource loading threads
2023-05-10 18:53:41 +02:00
Rémi Verschelde
5271186f2f
Merge pull request #75901 from reduz/refactor-node-processing
...
Refactor Node Processing to allow Scene Multithreading
2023-05-10 12:46:44 +02:00
Rémi Verschelde
31fc7a8525
Merge pull request #62378 from trollodel/gsoc_2022_multiwindow
...
Add multi window code and shader editors (GSOC'22 Project)
2023-05-10 12:46:19 +02:00
Rémi Verschelde
4d703280d5
Merge pull request #76532 from dalexeev/tree-fix-multiline-drawing
...
Fix multiline items drawing in `Tree`
2023-05-10 10:19:37 +02:00
Rémi Verschelde
3b8c828159
Merge pull request #69988 from smix8/navigation_rvo_rework_4.x
...
Rework Navigation Avoidance
2023-05-10 10:19:12 +02:00
Rémi Verschelde
8e608e9467
Merge pull request #64388 from Rindbee/improve-ViewportTexture
...
Improve the UX of ViewportTexture in the editor
2023-05-10 10:18:43 +02:00
trollodel
b4d6b47c17
Add multi window code and shader editors
2023-05-10 09:14:21 +02:00
smix8
a6ac305f96
Rework Navigation Avoidance
...
Rework Navigation Avoidance.
2023-05-10 05:01:58 +02:00
Rindbee
af58f1e854
Improve the UX of ViewportTexture in the editor
...
The associated `ViewportTexture`s will update the `viewport_path`
in time when the `Viewport`'s nodepath is changed (caused by renaming
the node names or moving in the SceneTree dock).
If the target `Viewport` is changed by resetting the `viewport_path`,
the `ViewportTexture`s will be re-setup and emit `changed` signal in
time.
2023-05-10 09:13:43 +08:00
Juan Linietsky
98c655ec8d
Refactor Node Processing
...
* Node processing works on the concept of process groups.
* A node group can be inherited, run on main thread, or a sub-thread.
* Groups can be ordered.
* Process priority is now present for physics.
This is the first steps towards implementing https://github.com/godotengine/godot-proposals/issues/6424 .
No threading or thread guards exist yet in most of the scene code other than Node. That will have to be added later.
2023-05-09 19:17:51 +02:00
RedworkDE
8e7afec479
Fix various errors when running the unit tests
...
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2023-05-09 18:40:56 +02:00
Rémi Verschelde
e0df3be64f
Merge pull request #70286 from the-sink/popupmenu_icon_modulate
...
Add icon_modulate set/get functionality to PopupMenu
2023-05-09 10:44:19 +02:00
Rémi Verschelde
72323a57d0
Merge pull request #57894 from Sauermann/fix-subviewport-1
...
Fix unrestricted mouse-event propagation to SubViewports for Physics-Picking
2023-05-09 10:43:49 +02:00
the-sink
a85eef4367
Add icon_modulate functionality to PopupMenu
2023-05-08 15:25:00 -07:00