summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2023-02-08Optimize `draw_dashed_line()` and `draw_rect()`Danil Alexeev
2023-02-07Merge pull request #62179 from Rindbee/fix-popup_center-off-centerRémi Verschelde
Use min_size/max_size to limit window size and position while popup center
2023-02-07Merge pull request #72829 from Sauermann/fix-code-simplificationsRémi Verschelde
Some code simplifications
2023-02-07Merge pull request #71768 from Sauermann/fix-vp-mouse-positionRémi Verschelde
Fix Viewport::get_mouse_position for SubViewports
2023-02-07Some code simplificationsMarkus Sauermann
1. `number_width` isn't used later 2. `return_type` is used only once 3. AudioServer::get_singleton()->get_channel_count() always returns a channel_count of 1 or larger 4. negative `aa->backward` conditional 5. `current_canvas` == `find_world_2d()->get_canvas()` 6. identical if `render_shadows`
2023-02-07Use min_size/max_size to limit the window size and the position while popup ↵Rindbee
center
2023-02-07Fix sub-resource IDs resetting when preloadedkobewi
2023-02-07Fix Viewport::get_mouse_position for SubViewportsMarkus Sauermann
SubViewports don't have a cached mouse position available. This PR calculates the mouse position from the screen position of the mouse cursor.
2023-02-07Merge pull request #72722 from TokageItLab/animtree-mapRémi Verschelde
Fix AnimationNodeTransition initialization and AnimationNode remapping method
2023-02-06Merge pull request #72740 from Sauermann/fix-event-device-idRémi Verschelde
Fix mouse/drag/touch InputEvents having no device id
2023-02-06Merge pull request #71677 from Sauermann/fix-emulate-touch-passthroughRémi Verschelde
Fix MOUSE_FILTER_STOP not affecting emulated mouse events
2023-02-06Merge pull request #72770 from Kabiirk/Control-has-point-doc-updateRémi Verschelde
Fix description and argument name in `Control._has_point`
2023-02-06Fix mouse/drag/touch InputEvents having no device idMarkus Sauermann
Some internally created emulated/instantiated events didn't have a device id. This PR sets for these cases a device id. Also rename `DEVICE_ID_TOUCH_MOUSE` to the more generic `DEVICE_ID_EMULATION`.
2023-02-06Merge pull request #69185 from Sauermann/fix-optionpopup-screentransformRémi Verschelde
Fix Screen-Transform missing in Button Size in OptionButton::show_popup
2023-02-06Fix MOUSE_FILTER_STOP not affecting emulated mouse eventsMarkus Sauermann
Touch and Drag events are now stopped by MOUSE_FILTER_STOP
2023-02-07Fix description and argument name in Control._has_pointKabiir
2023-02-06Merge pull request #72727 from TokageItLab/fix-audio-retrieveYuri Sizov
Fixed animation audio to play considering time when seeking
2023-02-06Fix Screen-Transform missing in Button Size in OptionButton::show_popupMarkus Sauermann
The button size is affected by the screen transform, which was previously not taken into consideration.
2023-02-06Merge pull request #68492 from Sauermann/fix-picking-sortRémi Verschelde
Fix propagation order for 2D physics picking events
2023-02-06Merge pull request #72204 from MinusKube/anchorable_rect_editor_bugYuri Sizov
Fix get_parent_anchorable_rect() not returning the correct size in some cases
2023-02-05Avoid returning self from `_get_base_font_or_default()`Patrick Dawson
2023-02-04Fix propagation order for 2D physics picking eventsMarkus Sauermann
This patch adds a viewport-configuration-option for sorting physics-picking events by the Z-Index and the scene tree position of the collision objects.
2023-02-05Fix NodeTransition initialization and AnimationNode remapping methodSilc Renew
2023-02-05Fixed animation audio to play considering time when seekingSilc Renew
2023-02-04Merge pull request #72655 from smix8/navigationmesh_bake_aabb_fix_4.xRémi Verschelde
Fix NavigationMesh baking AABB Editor handling and visuals
2023-02-03Merge pull request #71862 from RedMser/splitcontainer-fixesYuri Sizov
Fix SplitContainer rendering and theming
2023-02-03Merge pull request #72665 from ↵Rémi Verschelde
KoBeWi/sneaky_ParallaxBackground_destroys_the_world Fix Camera2D crash due to ParallaxBackground node
2023-02-03Merge pull request #72660 from Chaosus/vs_fix_instance_previewsRémi Verschelde
Prevent preview error for the instance parameter in visual shader
2023-02-03Fix Camera2D crash due to ParallaxBackground nodekobewi
2023-02-03Merge pull request #72570 from DarkKilauea/nav-cleanup-agentRémi Verschelde
Improve consistency of NavigationAgent setters
2023-02-03Prevent preview error for the instance parameter in visual shaderYuri Rubinsky
2023-02-03Fix NavigationMesh baking AABB Editor handling and visualssmix8
Fixes handling and visuals for Navigation Mesh baking AABB in the Editor.
2023-02-03Fix `RichTextLabel` context menu not customizableDanil Alexeev
2023-02-02Improve consistency of NavigationAgent settersJosh Jones
2023-02-02Remove `Viewport::_get_input_pre_xform`Markus Sauermann
This function is only relevant for `Window`. So this PR moves the functionality to the `Window`-class.
2023-02-02Merge pull request #72618 from Sauermann/fix-simplify-set-sizeRémi Verschelde
Simplify Viewport::_set_size
2023-02-02Merge pull request #72601 from ↵Rémi Verschelde
Calinou/primitivemesh-uv2-padding-add-property-hint Add a property hint for PrimitiveMesh's `uv2_padding`
2023-02-02Simplify Viewport::_set_sizeMarkus Sauermann
`Viewport.to_screen_rect` is used only in a single location to compare it to `Rect2i()`. When called from `SubViewport`, `to_screen_rect` is always equal to `Rect2i()`. When called from `Window`, `to_screen_rect` is always different from `Rect2i()`. So the comparison `to_screen_rect != Rect2i()` can be replaced by `Object::cast_to<Window>(this)`. This allows the removal of `Viewport.to_screen_rect` and the simplification of `Viewport::_set_size`.
2023-02-02Merge pull request #72613 from Sauermann/fix-toplevel-top-levelYuri Sizov
Fix toplevel nomenclature
2023-02-02Fix toplevel nomenclatureMarkus Sauermann
toplevel was 3.x top_level is 4.x
2023-02-02Merge pull request #72509 from TokageItLab/seekconRémi Verschelde
Consistent with NodeTimeSeek parameters OtherNodes
2023-02-02Add a property hint for PrimitiveMesh's `uv2_padding`Hugo Locurcio
Negative values are not valid and will always cause lightmap bleeding to occur. This also improves the documentation for the `uv2_padding` property in the class reference.
2023-02-02Merge pull request #72513 from TokageItLab/remove-rename-param-animRémi Verschelde
Remove the meaningless API `rename_parameter()` in AnimationTree
2023-02-02Merge pull request #72471 from mbrlabs/blinkRémi Verschelde
Always show caret when moving in LineEdit
2023-02-01Fix Camera2D crasheskobewi
2023-02-01Remove meaningless `rename_parameter` in AnimationTreeSilc Renew
2023-02-01Consistent with NodeTimeSeek parameters OtherNodesSilc Renew
2023-02-01More codespell fixes, do more changes from previous ignore listRémi Verschelde
2023-02-01Merge pull request #67331 from Sauermann/fix-subviewport-no-stretch-updateRémi Verschelde
Fix stretch transform when resizing SubViewports
2023-02-01Merge pull request #72497 from bruvzg/x11_ime_popup_focusRémi Verschelde
[X11] Fix IME subwindow in the popup not getting input focus.