summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2023-02-09Merge pull request #72884 from groud/fix_trackpad_viewpannerRémi Verschelde
Fix panning via InputEventPanGesture
2023-02-09Merge pull request #69550 from Rindbee/fix-script-editor-not-reload-via-lspRémi Verschelde
Fix internal editor not updating when using external editor via LSP
2023-02-09Improve some editor strings for localizationHaoyu Qiu
2023-02-09Merge pull request #72947 from DarkKilauea/nav-fix-avoidance-callbackRémi Verschelde
Fix missing avoidance updates when using same velocity
2023-02-09Merge pull request #72897 from Geometror/graphedit-set-deprecatedRémi Verschelde
Update configuration warning for `GraphEdit` and mark it as experimental
2023-02-09Merge pull request #72922 from smix8/fix_debug_binding_rb_4.xRémi Verschelde
Fix NavigationAgent debug functions bindings in release builds
2023-02-08Fix missing avoidance updates when using same velocityJosh Jones
When using avoidance, if you set the same velocity for the agent, you won't get an update from the avoidance system. This changes both the `set_target_position` and `set_velocity` setters to always accept user provided values, even if they are the same. This ensures that repathing and avoidance logic is always run when the user expects.
2023-02-09Update GraphEdit configuration warning, mark GraphNode/GraphEdit as experimentalHendrik Brucker
2023-02-08Mark fma function as high end so it isn't used with the gl_compatibility ↵clayjohn
renderer
2023-02-08Fix NavigationAgent debug functions bindings in release buildssmix8
Fixes that certain NavigationAgent debug functions bindings were not available in release builds.
2023-02-08Fix panning via InputEventPanGestureGilles Roudière
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
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