summaryrefslogtreecommitdiff
path: root/scene/main/viewport.cpp
AgeCommit message (Collapse)Author
2022-10-15Expose Viewport::get_screen_transform to GDScriptMarkus Sauermann
2022-10-14Always update Viewport's last_mosue_positionMarkus Sauermann
When the mouse cursor is over a embedded Window, the Viewport's last_mouse_position did not get updated. This patch makes sure that the update happens on every InputEventMouse. Document canvas layer of embedded Windows.
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-04Merge pull request #66869 from Sauermann/fix-transform-det-0-spamRémi Verschelde
Fix Transform2D det == 0 spam for SubViewports
2022-10-04Fix Transform2D det == 0 spam for SubViewportsMarkus Sauermann
2022-10-04Make sure to reset the tooltip of its gui_parent when the viewport is removedRindbee
2022-10-02Allow shortcut input to be JoypadButton.EricEzaM
2022-09-28Merge pull request #58995 from Sauermann/fix-mouse-cursor-change-2Rémi Verschelde
Update mouse cursor shape after changes
2022-09-19Change return type of `get_configuration_warnings` to `PackedStringArray`Marc Gilleron
2022-09-18Update mouse cursor shape after changesMarkus Sauermann
This fixes some cases where the mouse cursor shape did not change automatically, but instead required a MouseMove to update.
2022-09-14Fix XR rendering in 'opengl3' driver and expose true size via the Viewport nodeDavid Snopek
2022-09-06Rename raise() to move_to_front()kobewi
2022-09-02Merge pull request #64735 from KoBeWi/viewportshifterRémi Verschelde
2022-08-30Prevent subwindow_focused from pointing to a window that is not a subwindowMinusKube
2022-08-30Merge pull request #63003 from Geometror/msaa-2dRémi Verschelde
2022-08-29Rename `CanvasItem.update()` to `queue_redraw()`Micky
Affects a lot of classes. Very thoroughly checked signal connections and deferred calls to this method, add_do_method/add_undo_method calls, and so on. Also renames the internal `_update_callback()` to `_redraw_callback()` for consistency. Just a few comments have also been changed to say "redraw". In CPUParticles2D, there was a private variable with the same name. It has been renamed to `do_redraw`.
2022-08-26Remove Inspector tooltip hack that never actually workedYuri Sizov
2022-08-26Merge pull request #64574 from Begah/fix_transient_window_wrap_mouseRémi Verschelde
2022-08-25Merge pull request #53299 from Calinou/viewport-tweak-configuration-warningRémi Verschelde
2022-08-25Fix warp_mouse for transient windows, smoother mouse positioning when ↵MathieuRoux
releasing mouse for spinbox
2022-08-23Avoid warnings about cursor shape change not supportedPedro J. Estébanez
2022-08-22Make `_validate_property` a multilevel methodYuri Sizov
2022-08-22Fix Viewport size change not updating textureskobewi
2022-08-13Implement MSAA for 2D [Vulkan only]Hendrik Brucker
2022-08-05Fix some bugs with `Window`sMichael Alexsander
2022-07-28Allow changing mipmap LOD bias when FSR 1.0 scaling is not usedHugo Locurcio
Mipmap LOD bias can be useful to improve the appearance of distant textures without increasing anisotropic filtering (or in situations where anisotropic filtering is not effective). `fsr_mipmap_bias` was renamed to `texture_mipmap_bias` accordingly. The property hint now allows for greater precision as well.
2022-07-23Make tooltips be shown at different directions if there's not enough spaceMichael Alexsander
2022-07-18Rename Control PRESET_WIDE to PRESET_FULL_RECTFireForge
2022-07-17Adding Variable Rate Shading support to GodotBastiaan Olij
Improve GI renderer and add VRS support Implement render device has_feature and move subgroup settings to limit_get
2022-07-13Rename soft shadow quality project settings for easier searchingHugo Locurcio
`rendering/quality/shadows` is now `rendering/quality/positional_shadow` to explicitly denote that the settings only affect positional light shadows, not directional light shadows. Shadow atlas settings now contain the word "atlas" for easier searching. Soft shadow quality settings were renamed to contain the word "filter". This makes the settings appear when searching for "filter" in the project settings dialog, like in Godot 3.x.
2022-07-06Refactor Font configuration and import UI, and Font resources.bruvzg
2022-06-11Add suffixes to all nodes and resourcesFireForge
2022-06-09Remove TooltipPanel and TooltipLabelkobewi
2022-06-07Initial TAA implementationjfons
Initial TAA support based on the implementation in Spartan Engine. Motion vectors are correctly generated for camera and mesh movement, but there is no support for other things like particles or skeleton deformations.
2022-06-06Fix `Viewport.own_world_3d` documentationHaoyu Qiu
Also fixed the naming of the setter's parameter and made an `if` block straightforward.
2022-05-19Use range iterators for RBSet in most casesAaron Record
2022-05-17Merge pull request #61088 from groud/keep_unhandled_events_on_passRémi Verschelde
2022-05-17Keep input event as unhandled if they go through a control set to ↵Gilles Roudière
MOUSE_FILTER_PASS
2022-05-16Replace most uses of Map by HashMapreduz
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
2022-05-05Make `{call,set,notify}_group()` immediate by defaultHugo Locurcio
This results in less surprising behavior out of the box. Internal usages were modified to keep the existing behavior identical there.
2022-04-29Tweak the Viewport configuration warning to mention 2×2 size requirementHugo Locurcio
2022-04-29Rename Transform2D "elements" to "columns"Aaron Franke
2022-04-23Rename theme properties to include underscoresFireForge
- check_vadjust -> check_v_adjust - close_h_ofs -> close_h_offset - close_v_ofs -> close_v_offset - commentfocus -> comment_focus - hseparation -> h_separation - ofs -> offset - selectedframe -> selected_frame - state_machine_selectedframe -> state_machine_selected_frame - table_hseparation -> table_h_separation - table_vseparation -> table_v_separation - vseparation -> v_separation
2022-04-16Fix the Audio Listener 3D property not being grouped with 2D in ViewportHugo Locurcio
2022-04-09Fix 3D scaling enum size in the editor and improve descriptionsHugo Locurcio
2022-04-05[Input] Add extra `shortcut_input` input processing step to process Unicode ↵bruvzg
character input with Alt / Ctrl modifiers, after processing of shortcuts.
2022-03-31Fix Drag n Drop Transform in main embedding windowMarkus Sauermann
2022-03-30Merge pull request #59308 from Sauermann/fix-viewport-warp-mouseRémi Verschelde
2022-03-29Update sub-viewport canvas items to ensure oversampling is applied correctly.bruvzg
2022-03-28String: Remove TTR and DTR defines in non-tools buildRémi Verschelde
This ensures we don't use TTR in runtime code, as it's specifically meant to source translations for the editor.