summaryrefslogtreecommitdiff
path: root/scene/main/viewport.cpp
AgeCommit message (Collapse)Author
2022-02-25Improve popup window handling.bruvzg
Add window FLAG_POPUP and a platform specific routines to control popup auto-hiding and event forwarding.
2022-02-19Update variable name to reflect usageMarkus Sauermann
2022-02-15Connect notifications from Container to ViewportMarkus Sauermann
mouse enter+exit
2022-02-15Use `switch` consistently in `_notification` (`scene` folder)Rémi Verschelde
2022-02-15Fix tooltip flickering in some casesHendrik Brucker
2022-02-12Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker
2022-02-04[Windows] Add WS_BORDER flag to windows in WINDOW_MODE_FULLSCREEN mode to ↵bruvzg
allow multi-window interface in full-screen. [Windows] Add WINDOW_MODE_EXCLUSIVE_FULLSCREEN without WS_BORDER flag enabled (no multi-window support).
2022-02-03Merge pull request #57517 from groud/viewport_expose_gui_focusRémi Verschelde
2022-02-01Fix mouse_over not dropped when mouse leaves windowMarcel Admiraal
2022-02-01Exposes gui_release_focus and gui_get_focus_owner to ViewportGilles Roudière
2022-01-23Bring reusable variables out of while looprafallus
2022-01-23Fix mouse position not being scaled when window size is changedMarcel Admiraal
2022-01-17Allow embedded windows to be non-resizableMario Liebisch
This fixes issue #56869.
2022-01-11Merge pull request #56667 from Ice-Cube69/fix_incorrect_property_typesRémi Verschelde
2022-01-11Fixed incorrect property typesArnav Vijaywargiya
2022-01-11Merge pull request #56322 from madmiraal/fix-42450Rémi Verschelde
2022-01-07Merge pull request #53419 from TechnoPorg/rework-subwindowsRémi Verschelde
2022-01-06Update the minimum size of ViewportContainerTomasz Chabora
2022-01-04Merge pull request #56305 from Calinou/rename-lod-thresholdRémi Verschelde
2022-01-04Merge pull request #51206 from clayjohn/Vulkan-ASSGIRémi Verschelde
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-12-29Rename speed to velocity when it's a directional VectorMarcel Admiraal
2021-12-29Rename Lod Threshold to Mesh Lod ThresholdHugo Locurcio
This makes it more obvious that the setting only affects mesh LOD, not manual (H)LOD achieved using visibility ranges.
2021-12-13Added check for SceneTree being nullvitika9
2021-12-12Fix bad mouse offset to show tooltips in Treejmb462
2021-12-06Fix bad popups offset in editor with single window offjmb462
Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com> Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2021-12-03Fix mouse cursor and notification for force draggingHaoyu Qiu
2021-11-30Merge pull request #55486 from nekomatata/physics-contacts-debugRémi Verschelde
2021-11-30Fix physics 2D/3D contact points renderingPouleyKetchoupp
Physics internal process was removed by mistake, it's needed for contact points to be updated each frame. Fixed some multimesh parameters to allow 3D contact points to be drawn, although it's still not working well in 3D as only some of the contact points are drawn, and some of them keep being drawn when the number of visible instances drops to 0 instead of hiding them all.
2021-11-29Don't obtain a reference to a subwindowTechnoPorg
Fixes the wrong location being accessed after changing the order of embedded windows. This commit also removes an unused variable.
2021-11-29Don't show tooltips for paused controlskobewi
2021-11-24Merge pull request #51679 from Je06jm/fsrRémi Verschelde
AMD FidelityFX Super Resolution
2021-11-23Rename `remove()` to `remove_at()` when removing by indexLightning_A
2021-11-23Implemented AMD's FSR as a computer shader for upscaling 3D scenesJe06jm
2021-11-15Fix drag and drop on LineEditConteZero
2021-11-12Use "enum class" for input enumsAaron Franke
2021-11-06Added SSIL post processing effectclayjohn
2021-11-04Use parameter classes instead of arguments for all physics queriesPouleyKetchoupp
Same as what is already done for shape queries, applied to point and ray queries. Easier to document and more flexible to add more parameters. Also expose intersect_point method to script in 3D. Remove intersect_point_on_canvas in 2D, replaced with a parameter.
2021-11-01Merge pull request #54369 from S0yKaf/fix-hardcoded-ray-distanceRémi Verschelde
Fix hardcoded raycast distance in viewport object picking
2021-10-28fix hardcoded raycast distance with viewport object pickingvdyotte
having the raycast distance hardcoded to `10000` caused input events to not be registered in very large 3D scenes. This resolves the issue by using the cameras far distance instead. Creating the more predictable behavior of if an object is visible, it will be picked by the viewport. resolves: #49735
2021-10-28Fix off by one in Viewport.render_target_update_mode property enumLyuma
2021-10-28clang-format: Disable alignment of operands, too unreliableRémi Verschelde
Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`.
2021-10-20Fix errors in mouse detection when removing collision object from treePouleyKetchoupp
Now behaves the same way as ui elements, mouse exit is skipped when the object is removed from the tree.
2021-10-11Merge pull request #53630 from timothyqiu/viewport-recursionRémi Verschelde
2021-10-10Fix Viewport::handle_input_locally related infinite recursionHaoyu Qiu
2021-10-09Executing AcceptDialog.push_input no longer crashesmashumafi
2021-10-08Allow any floating-point value as a 3D rendering scale optionHugo Locurcio
This allows for finer control over 3D rendering resolution. Supersampling can also be performed by setting a 3D rendering resolution above 1.0, which is useful for offline rendering or for very high-end GPUs.
2021-10-05Fix ViewportTexture error when viewport is used from a child scenejitspoe
Fix invalid errors when a separate child scene file contains a viewport and that viewport is used for a texture in the current scene. Fixes #27790.
2021-09-21Fix focus shortcuts triggering incorrectlyEric M
2021-09-16Rename Listener2D/Listener3D to AudioListener2D/AudioListener3DWilson E. Alvarez