summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2023-02-10Merge pull request #73024 from TokageItLab/fix-transtition-first-frameRémi Verschelde
Fix broken first frame of `NodeTransition`/`NodeOneShot` when xfade is 0
2023-02-10Merge pull request #72378 from maximkulkin/line-edit-consume-eventsRémi Verschelde
Fix LineEdit not consuming events
2023-02-10Merge pull request #72714 from DarkMessiah/fix-unlimited-text-in-treeRémi Verschelde
Fix unlimited text rendering in Tree if width <= 0
2023-02-10Merge pull request #73000 from Sauermann/fix-editor-viewport-size-zero-crashRémi Verschelde
Fix crash in editor when setting `SubViewport.size` to zero
2023-02-10Add some missing translatable editor stringsHaoyu Qiu
2023-02-10Fix broken first frame of NodeTransition/NodeOneShot when xfade is 0Silc Renew
2023-02-10Fix crash in editor when setting `SubViewport.size` to zeroMarkus Sauermann
`Viewport::_set_size` now verifies, that the minimum size is at least 2x2. Also fix `RendererViewport::viewport_set_size` fail condition.
2023-02-09Merge pull request #72931 from TokageItLab/improve-root-motion-for-rot-and-posRémi Verschelde
Add root motion accumulator to fix broken RootMotionView
2023-02-09Fix that `popup_centered` didn't take the window's size into considerationMarkus Sauermann
2023-02-10Add root motion accumulator to fix broken RootMotionViewSilc Renew
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-04Fix unlimited text rendering in Tree if width <= 0Stanislav Labzyuk
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-03Fix LineEdit not consuming eventsMaxim Kulkin
The most important issue is LineEdit not consuming "ui_text_submit" event which makes pressing Enter after editing escape to other components causing unwanted interactions. Also fix handling mouse button interactions not consuming some events. Also implement early return in case we know which event type it is and there is no point in checking other event types. PS I'm also suspicious that mouse motion events also need to be consumed, but haven't explored those cases.
2023-02-03Merge pull request #72665 from ↵Rémi Verschelde
KoBeWi/sneaky_ParallaxBackground_destroys_the_world Fix Camera2D crash due to ParallaxBackground node