summaryrefslogtreecommitdiff
path: root/scene/main/viewport.cpp
AgeCommit message (Collapse)Author
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 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-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
2021-09-13Merge pull request #50375 from Paulb23/code_edit_unit_testsRémi Verschelde
2021-09-13Merge pull request #49063 from Calinou/remove-16x-msaaRémi Verschelde
Remove 16× MSAA support due to driver bugs and low performance
2021-09-12Fix multiple definitions of Listener2Dkobewi
2021-09-10Clean up Viewport, remove dead code.Max Hilbrunner
2021-09-10Merge pull request #52431 from dozingpip/patch-1Max Hilbrunner
Remove dead code from Viewport::_gui_input_event
2021-09-06Remove dead code from Viewport::_gui_input_eventPip
2021-09-01Prevent crash on startup if no audio serverPaulb23
2021-08-31Add Listener2Dkobewi
2021-08-28Merge pull request #51906 from requizm/fix/49077Michael Alexsander
Fix tooltips don't appear for PopupMenus
2021-08-27Do all audio mixing in the AudioServerEllen Poe
2021-08-26Optionally scale 3D render contentBastiaan Olij
2021-08-25Remove 16× MSAA support due to driver bugs and low performanceHugo Locurcio
In the `master` branch, 16× MSAA caused the entire system to freeze on NVIDIA GPUs. This is likely caused by graphics drivers not actually implementing 16× MSAA, but combining 8× MSAA with 2× SSAA instead. On top of that, modern shader complexity makes 16× MSAA very difficult to use while keeping a good framerate. 8× MSAA is hard enough to use as it is.
2021-08-23Entirely removes BIND_VMETHOD in favor of GDVIRTUALreduz
* `_gui_input`, `_input`, `_unhandled_input` and `_unhandled_key_input` are now regular C++ virutal functions. * Everything else converted to GDVIRTUAL * BIND_VMETHOD is gone, always use the new syntax from now on. Creating `_gui_input` method and using the binder to register events will no longer work, simply override the virtual function now.
2021-08-20Fix tooltip message working incorrectly in PopupMenurequizm
fix
2021-08-13Disable Node3D when compiling without 3D and fix disable_3d optionAaron Franke
2021-08-13Merge pull request #51607 from aaronfranke/includesRémi Verschelde
Fix some unnecessary includes
2021-08-13Fix some unnecessary includesAaron Franke
2021-08-12Use the Unicode multiplication symbol where relevantHugo Locurcio
2021-08-10Merge pull request #49417 from Bhu1-V/gsoc-cmd-pltRémi Verschelde
Command Palette For Godot
2021-08-10Organize methods in Viewport and explicitly name 3D methods with 3DAaron Franke
2021-08-09Added EditorCommandPaletteBhuvan Vemula
2021-07-29Add `auto_translate` toggle for automatic translationMichael Alexsander
2021-07-27Multiple cosmetic fixes for embedded windowsMichael Alexsander
2021-07-26Use Ref<T> references as iterators where relevantRémi Verschelde
And const when possible.
2021-07-23Use C++ iterators for Lists in many situationsAaron Franke