summaryrefslogtreecommitdiff
path: root/scene/main/viewport.cpp
AgeCommit message (Collapse)Author
2018-07-05Merge pull request #19015 from ↵Max Hilbrunner
toger5/fixed_scrolling_with_trackpad_in_new_inspector fixed scrolling in new ispector when using trackpad pan gesture
2018-07-03-Fix fullscreen on Windows with a HiDPI monitor but a non-HiDPI projectJuan Linietsky
-Replaced some viewport size calls to screen size, since viewport size should be deprecated at this point..
2018-06-27Changes to how node paths are selected from property, allowing setting a hint.Juan Linietsky
2018-06-07Fix regression with cursor shapeGuilherme Felipe
2018-06-07Entirely new (and much improved) animation editor.Juan Linietsky
2018-05-24Revert #14753, as it is buggy and no longer necessary.Webster Sheets
2018-05-18fixed scrolling in new ispector when using trackpad pan gesturetoger5
2018-05-16Merge pull request #18928 from BastiaanOlij/fix_viewport_flagsRémi Verschelde
Store flags so it isn't lost when viewport isn't setup yet
2018-05-16Store flags so it isn't lost when viewport isn't setup yetBastiaan Olij
2018-05-15-New inspector.Juan Linietsky
-Changed UI resizing code, gained huge amount of speed. -Reorganized timer sync to clean up behavior (sorry forgot commit this before) -
2018-05-08Merge pull request #15119 from poke1024/visible-subwindowsJuan Linietsky
More efficient subwindow handling
2018-05-08Merge pull request #15074 from ↵Juan Linietsky
PJB3005/17-12-26-remove_gui_focus_on_visibility_loss Hiding a Control now fires NOTIFICATION_FOCUS_EXIT.
2018-05-08Fix double free for drag preview control in viewportGeequlim
2018-05-06Added option to viewport to keep linear colorBastiaan Olij
2018-04-10Implement Input.set_default_cursor_shape to change the default shapeGuilherme Felipe
Closes #18043
2018-04-07Improve popup menus usabilityPedro J. Estébanez
It seems that popups were intended to "grab" the mouse click that triggered them, but their intent was being lost. This commit does the necessary changes to let it happen and updates items that were trying to get advantage of it, because the semantics of `Control::grab_click_focus()` have changed a bit. Namely, it must be called **before** showing the modal. This allows to popup a menu and activate an item in it in a single click-point-release cycle, instead of having to click once to open the menu and once more to pick an item. This ability is extended even to context menus activated with the RMB (or any other mouse button, for that matter). The editor benefits from this in the context menu of the tree dock, which has been patched to opt-in for this feature. This improves UX a bit by saving unnecessary clicks. From now on, `PopupMenu` always grabs the click and also invalidates the first button release unless the mouse has moved (that's what `set_invalidate_click_until_motion()` was doing and now it's removed), so there is no longer the need of doing both things at every point a pop-up menu is shown.
2018-03-16Merge pull request #16947 from Faless/ui_actionsFabio Alessandrelli
GUI elements ui_action usage, improvements
2018-03-04Fix gesture events being blockedBernhard Liebl
2018-03-01Viewport: Fix missing tooltips w/ disabled physics object pickingRémi Verschelde
Previously this option seemed to be the sole responsible for enabling physics processing in Viewport, while several other features like tooltips and debugging collision hints rely on it. All this logic is moved to internal processing (it's incorrect to let it be affected by users disabling physics/idle processing), and disabling physics object picking no longer affects the internal physics processing. Fixes #17001.
2018-02-28Fix various valgrind reported uninitialized variable usesHein-Pieter van Braam
2018-02-23Properly set input as handled when closing modalFabio Alessandrelli
2018-01-18Remove obsolete Viewport _update_rect() codeRémi Verschelde
2018-01-12Bind many more properties to scriptsBojidar Marinov
Notable potentially breaking changes: - PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL - Some properties were renamed, and sometimes even shadowed by new ones - New getter methods (some virtual) were added
2018-01-05Force button release when window focuses out, fixes #15318 and likely many ↵Juan Linietsky
other issues.
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-01-01Merge pull request #14953 from poke1024/fix-toolbar-gestureNoshyaar
Hide tooltip on gesture input
2017-12-28More efficient subwindow handlingBernhard Liebl
2017-12-26Hiding a control now fires NOTIFICATION_FOCUS_EXIT.PJB3005
It always removed the focus from the control, but this happened without firing the relevant notification.
2017-12-26Removed the InputEvent ID field, which was unused and can cause bugs.Juan Linietsky
2017-12-25Merge pull request #14899 from volzhs/render-quality-optionNoshyaar
Respect HDR option
2017-12-25Merge pull request #14753 from NathanWarden/mouse_button_fixNoshyaar
Fixed a bug where mouse button focus breaks when using multiple buttons at once.
2017-12-22Hide tooltip on gesture inputBernhard Liebl
2017-12-21-Make capture dependent on a cell size, not subdivision.Juan Linietsky
-Fixed a bug recently introduced when releasing mouse events and calling popups
2017-12-21Respect HDR optionvolzhs
2017-12-20properly send mouse released event when grabbing modal focus, fixes #14854Juan Linietsky
2017-12-19Should no longer crash after rebaking, may be a solution to #14795Juan Linietsky
Not sure if this is the same problem, as reported, please test.
2017-12-16Fixed a bug where mouse button focus breaks when using multiple buttons at once.Nathan Warden
2017-12-16Revert "Fix mouse button release not sent to gui_input if it's different ↵Juan Linietsky
from the button that gave focus"
2017-12-16Merge pull request #14484 from Zylann/fix_mouse_focus_button_releaseRémi Verschelde
Fix mouse button release not sent to gui_input if it's different from the button that gave focus
2017-12-15Fixes oversized tooltip labels (issue 14570)Bernhard Liebl
2017-12-10Merge pull request #13351 from poke1024/fix12451_2Rémi Verschelde
Make click on arrow properly open and close property editor modals
2017-12-10fix certain popup close clicks with popup buttonsBernhard Liebl
2017-12-10Fix mouse button release not sent to gui_input if it's different from the ↵Marc Gilleron
button that gave focus
2017-12-10Fix mouse position in viewportvolzhs
2017-12-07Added some clean up in camera/viewport management. Fixes #12279, Fixes #12774Juan Linietsky
2017-12-04-Implemented Proxy Textures (needed to solve the problem with ViewportTexture)Juan Linietsky
-Properly use hierarchy to initialize resources local to scene (solves problem of GUI in 3D)
2017-11-21Removed type_mask and fixed some variable nameAndreaCatania
2017-11-21Native pan and zoom for macOSBernhard Liebl
2017-10-20Merge pull request #12149 from endragor/check-input-handledRémi Verschelde
Check if input is handled before handling it