summaryrefslogtreecommitdiff
path: root/scene/main
AgeCommit message (Collapse)Author
2019-04-25Cancel tooltip when hiding the node it belongs toJames Buck
2019-04-22Merge pull request #27673 from qarmin/small_fixesRémi Verschelde
Small fixes, mostly duplicated code
2019-04-22Merge pull request #28140 from Daw11/orphan-nodesRémi Verschelde
Add a monitor for the orphan nodes
2019-04-20Fix disable_3d=yes -Wunused-variable errorsRémi Verschelde
2019-04-20Object::script may not be a valid Ref<Script>Hein-Pieter van Braam-Stewart
It appears that Object::script may be a valid ScriptInstance but not be castable to Ref<Script>. There were only 5 places in the code that made this assumption. This commit fixes that.
2019-04-17Add a monitor for the orphan nodesDaw11
- Allow the user to keep track of the nodes that might leak - Possible fix for #27103
2019-04-11No more metadata and dependency indices kept in resources saved.Juan Linietsky
-Node folding is now saved externally together with the properties -External resources remember their ID when scenes are saved.
2019-04-10Decrease the default tooltip delay to 0.5 secondsHugo Locurcio
This matches other applications' and OS' tooltip behaviors more closely.
2019-04-08Small fixes, mostly dupicated codeqarmin
2019-04-05Merge pull request #26803 from ptrojahn/emptynodeRémi Verschelde
Make get_node return NULL for empty NodePaths
2019-04-05Ability to make CanvasLayers have pseudo 3D depth.Juan Linietsky
2019-04-04Clean up notifications and merge Node and MainLoop ones for clarity, closes ↵Juan Linietsky
#27614
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).
2019-03-13Merge pull request #26484 from Andrettin/Configurable-Tooltip-OffsetRémi Verschelde
Make the Tooltip Position Offset Configurable
2019-03-09Merge pull request #26851 from RandomShaper/fix-26460-fake-event-floodRémi Verschelde
Fix fake null-motion mouse event flood
2019-03-09Fix fake null-motion mouse event floodPedro J. Estébanez
This commit also improves a bit the code quality by making the intent of fake events (and themselves) more explicit. Fixes #26460.
2019-03-09Fixes UI navigation with joysticksGilles Roudière
2019-03-08Make get_node return NULL for empty NodePathsPaul Trojahn
Fixes #25292
2019-03-05Improve/fix pickingPedro J. Estébanez
Acknowledge mouse button events as position tellers (to make picking more solid; for instance, the touch mouse is raised with a mouse unpressed event that may have a more current position) Forget mouse position for physics if touch mouse raised (because the position known as last is no longer meaningful) Remove needless check for mouse over/exit (now there's code to inject an spurious move for cases where camera/objects have moved) Restrict 2D mouse over/exit to mouse events (including emulated from touch; true touches shouldn't trigger the signals) Fixes #26460.
2019-03-04Update focus mask only if there is a focused control, fixes #26524Juan Linietsky
2019-03-02hide hdr and shadow_contact in gles2clayjohn
2019-03-02Made the tooltip position offset configurableAndrettin
2019-02-22Added a workaround to avoid crashes due to how TileSet editor works, fixes ↵Juan Linietsky
#23672 Also fixed a few uninitialized memory variables.
2019-02-20Add -Wshadow=local to warnings and fix reported issues.marxin
Fixes #25316.
2019-02-14Fix possible crash with an invalid last_mouse_focus pointerMarcelo Fernandez
2019-02-13Fix typos with codespellRémi Verschelde
Using codespell 1.14.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang doubleclick lod nd numer que te unselect EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2019-02-12Scene: Ensure classes match their header filenameRémi Verschelde
Also drop some unused files. Renamed: - `scene/2d/navigation2d.h` -> `navigation_2d.h` - `scene/2d/screen_button.h` -> `touch_screen_button.h` - `scene/3d/scenario_fx.h` -> `world_environment.h` - `scene/audio/audio_player.h` -> `audio_stream_player.h` - `scene/resources/bit_mask.h` -> `bit_map.h` - `scene/resources/color_ramp.h` -> `gradient.h` - `scene/resources/shape_line_2d.h` -> `line_shape_2d.h` - `scene/resources/scene_format_text.h` -> `resource_format_text.h` - `scene/resources/sky_box.h` -> `sky.h` Dropped: - `scene/resources/bounds.h`
2019-02-08Merge pull request #25524 from Calinou/fix-font-oversampling-warningRémi Verschelde
Fix a font oversampling warning being printed when it shouldn't
2019-01-31Fix a font oversampling warning being printed when it shouldn'tHugo Locurcio
2019-01-30Add check in folding to see if the nodepath exists to avoid message spam.K. S. Ernest (iFire) Lee
2019-01-26Warn of invalid pointer when converting object to RID, closes #19023Juan Linietsky
2019-01-26Rewrite how font oversampling is updated more carefully, fixes #24338Juan Linietsky
2019-01-18respect mouse mode when setting enter/exit notifications and signals, fixes ↵Juan Linietsky
#19785
2019-01-16Appease some CppCheck warns for files in the "scene" directoryMichael Alexsander Silva Dias
2019-01-14Added a flag to specify an exported node path must be supplied from scene ↵Juan Linietsky
root, fixes #24412
2019-01-11Redo serial name fixup from 799ed2b98984414fd3b7b667c5e3e5d2e6d35a66Rémi Verschelde
reduz wanted the original PR reverted due to issues, so this follow-up had to be too (done in 8cb54182ad2698a962def84f79cc8206ac9f13b2). But he ended up adapting part of the original PR in 27d77723811c2652c6118eca03a38c4ae1441895 without including this fix.
2019-01-10Rewrote rename logic to be less buggy and more efficient, fixes #23803 and ↵Juan Linietsky
probably many recent bugs using GraphEdit
2019-01-10Revert "Node: make _generate_serial_child_name manipulate numbers as String"Rémi Verschelde
This reverts commits 1025e3ecea67b90232cfdc9590a7ee8887efdcc8 and 799ed2b98984414fd3b7b667c5e3e5d2e6d35a66.
2019-01-08Fix strip out spaces while generating serial number for node namevolzhs
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-19fix near infinite loop when no previous mouse positionArjen van Staalduinen
Added physics_has_last_mousepos to better deal with situations where there is no last_mousepos
2018-12-14Fix touch release event on _gui_inputKonrad Nowakowski
2018-12-11Merge pull request #23923 from bruvzg/ime_gdscriptRémi Verschelde
Changes IME to make it possible to use it from gdscript/gdnative
2018-12-09Merge pull request #20609 from YeldhamDev/menu_hover_explicitRémi Verschelde
Make opening menus with the same parent on mouse focus explicit
2018-12-02Add missing validationsGuilherme Felipe
Add missing validations to prevent crash of multiple mouse buttons being pressed
2018-12-01Fix crash when multiple mouse buttons is pressed.Guilherme Felipe
2018-11-28Fixes crash, closes #24038Juan Linietsky
2018-11-28Improved the mouse focus system (mouse keeps focus on a control while ↵Juan Linietsky
buttons are pressed). Fixes #19154 and likely many others. WARNING: Test well in every OS, if mouse wheel events are not properly sent as pressed+unpressed pair, it will fail and break (and the OS needs to be fixed). Only tested on X11 so far.
2018-11-23Changes IME input to use notification instead of callback, exposes IME ↵bruvzg
methods to gdscript/gdnative.
2018-11-21Node: make _generate_serial_child_name manipulate numbers as StringlupoDharkael
The conversion from an String to int can overflow int and int64 so it is safer to manipulate strings when we try to find the next available name for a Node.