summaryrefslogtreecommitdiff
path: root/scene/main/viewport.cpp
AgeCommit message (Collapse)Author
2020-02-20Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky
objects and made them default.
2020-02-20Fix MIMPAMPS typos in constants throughout the engineAndrii Doroshenko (Xrayez)
2020-02-12ObjectID converted to a structure, fixes many bugs where used incorrectly as ↵Juan Linietsky
32 bits.
2020-02-11Re-implemented screen space ambient occlusionJuan Linietsky
2020-02-11Auto exposure re-implemented in VulkanJuan Linietsky
2020-02-11Several fixes to 3D rendering, and multimesh implementation.Juan Linietsky
2020-02-11Base 3D engine done, still untested, though.Juan Linietsky
2020-02-11Vulkan/RD rasterizer now does clean exit.Juan Linietsky
2020-02-11Bugfixes and ability to better specify filter and repeat modes everywhere.Juan Linietsky
Removes antialiased flag for draw_* methods.
2020-02-11basic 2D engine is more or less working with Vulkan, including editor.Juan Linietsky
Still a lot to do
2020-02-11Texture refactorJuan Linietsky
-Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
2020-02-05Add do..while(0) wrappers to macros without one.Marcel Admiraal
- Add do..while(0) wrapper to ERR_FAIL_NULL macros. - Add do..while(0) wrapper to ERR_FAIL_COND macros. - Add do..while(0) wrapper to ERR_CONTINUE macros. - Add do..while(0) wrapper to ERR_BREAK macros. - Add do..while(0) wrapper to CRASH_COND macros. - Add do..while(0) wrapper to ERR_FAIL macros. - Add do..while(0) wrapper to ERR_PRINT macros. - Add do..while(0) wrapper to WARN_PRINT macros. - Add do..while(0) wrapper to WARN_DEPRECATED macros. - Add do..while(0) wrapper to CRASH_NOW macros.
2020-01-06Merge pull request #33987 from nekomatata/own-world-environmentRémi Verschelde
Viewport environment is updated properly when set to own world
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2019-12-18Revert "Allow tab key to be used for shortcuts"Rémi Verschelde
This reverts commit cafb888361eba08297dd88b18dc71f4d418525c0. Fixes #34405. Reopens #8799, #24064.
2019-12-11Scroll ScrollContainer to focused childrenTomasz Chabora
2019-11-29Viewport environment is updated properly when set to own worldPouleyKetchoupp
When own_world property is set, the viewport stores a unique resource for the world. With this change it keeps being updated from changes made to the world property instead of storing a default empty world with environment settings that can't be modified. Fixes #23412
2019-11-20Rename External MSAA to AndroidVR MSAA on Viewport propertyvolzhs
following up f392c4ea7a778db6c5c73a1c6b9348b84707ee81
2019-11-11Merge pull request #33518 from BastiaanOlij/msaa_ext_modesRémi Verschelde
Add MSAA mode for Quest
2019-11-11Add special external MSAA modes for GLES2 Rift S/Quest and OpenXR optimisationBastiaan Olij
2019-11-11Merge pull request #29579 from mrcdk/fix_29575Rémi Verschelde
Drop the physics mouseover whenever a input has been handled.
2019-11-08Merge pull request #27742 from rxlecky/camera-replicationRémi Verschelde
Game camera override
2019-11-07Merge pull request #30721 from NilsIrl/tab_keyRémi Verschelde
Allow tab key to be used for shortcuts
2019-10-23Implement game camera overrideErik
Implemented uniform API in Viewport class to override 2D and/or 3D camera. Added buttons in 2D and 3D editor viewport toolbars that override the running game camera transform with the editor viewport camera transform. Implemented via remote debugger protocol and camera override API. Removed LiveEditFuncs function pointers from ScriptDebugger class. Since the debugger got access to the SceneTree instance (if one exists), there is no need to store the function pointers. The live edit functions in SceneTree are used directly instead. Also removed the static version of live edit functions in SceneTree for the same reason. This reduced the SceneTree -> Debugger coupling too since the function pointers don't need to be set from SceneTree anymore. Moved script_debugger_remote.h/cpp from 'core/' to 'scene/debugger/'. This is because the remote debugger is now using SceneTree directly and 'core/' classes should not depend on 'scene/' classes.
2019-10-22Fixed crashes when renaming a state in AnimationNodeStateMachineEditorPouleyKetchoupp
Recursive calls to Control::_modal_stack_remove could cause a crash because of the list element not being invalidated while being erased from the list. It happens in the state machine case by hiding a line edit control when it loses focus. Fixes #23808
2019-10-05Make tooltips have the same scale as their ControlsMichael Alexsander
2019-09-26Merge branch 'master' into tab_keyNils ANDRÉ-CHANG
2019-09-25Merge pull request #32047 from ↵Rémi Verschelde
codecustard/fix_scrollwheel_triggering_focus_change Fix scrollwheel triggering focus change
2019-09-25Added some obvious errors explanationsqarmin
2019-09-08Fix scrollwheel triggering focus changeEmmanuel Barroga
Clicking or using the scrollwheel outside of the focused control triggers a focus change. This makes sense for mouse clicks, but scrollwheeling outside the focuses control does not. This PR ignores scrollwheeling outside of the focused control.
2019-09-02Fixed UI navigation using joy axis inputsPouleyKetchoupp
Fixes #31879
2019-08-09Remove ERR_EXPLAIN from scene/* codeTomasz Chabora
2019-07-20Allow tab key to be used for shortcutsNils ANDRÉ-CHANG
2019-07-20Changed some code showed in LGTM and Coverageqarmin
2019-07-11Fix #29478 multiple modals possibly freezeShiqing
2019-07-09Fix issue with displaying empty tooltip hintEmmanuel Barroga
Closes #30448
2019-07-05Make 'size_override_stretch' a property in 'Viewport'Michael Alexsander Silva Dias
2019-07-01Merge pull request #29980 from Dentrax/directed-by-qarminRémi Verschelde
Fix some editor crashes
2019-07-01fix some crashesFurkan Türkal
2019-06-26Some code changed with Clang-Tidyqarmin
2019-06-20Merge pull request #29283 from qarmin/fix_some_always_same_valuesRémi Verschelde
Remove always true/false values
2019-06-20Fix always true/false valuesqarmin
2019-06-19Made use of semicolons more consitent, fixed formattingJohnJLight
2019-06-07Drop the physics mouseover whenever a input has been handled.MrCdK
Fixes #29575
2019-05-30Merge pull request #26942 from RandomShaper/fix-vp-issuesRémi Verschelde
Fix Viewport and Camera issues
2019-05-13Implement ability to render viewports directly to screenclayjohn
2019-04-25Cancel tooltip when hiding the node it belongs toJames Buck
2019-04-20Fix disable_3d=yes -Wunused-variable errorsRémi Verschelde
2019-04-10Decrease the default tooltip delay to 0.5 secondsHugo Locurcio
This matches other applications' and OS' tooltip behaviors more closely.
2019-03-30Drop mouseover when mouse not in the windowPedro J. Estébanez
Not that this is critical, but it makes behavior of GUI and 2D/3D picking consistent among them. This also contributes to dropping GUI focus when the mouse leaves the window (in addition to when it loses focus).