aboutsummaryrefslogtreecommitdiff
path: root/scene/main/scene_tree.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add option to disable automatic multiplayer pollFabio Alessandrelli2018-06-031-1/+15
| | | | | | | | Automatic poll from SceneTree is enabled by default. This allows for polling (and thus RPCs/RSETs) manually in other loops (e.g. physics, thread, specific step) and for proper mutex protecion when accessing the multiplayer API from threads (e.g. for sending larger files in chunks).
* Rename multiplayer_api to just multiplayer.Fabio Alessandrelli2018-05-081-31/+31
| | | | Only the class name retain the MultiplayerAPI name
* Merge pull request #18514 from neikeq/api-hash-fixesRémi Verschelde2018-05-031-6/+6
|\ | | | | API hash fixes
| * Fix binding some core API methods only in tools buildsIgnacio Etcheverry2018-04-291-6/+6
| |
* | Implement universal translation of touch to mousePedro J. Estébanez2018-04-301-0/+8
|/ | | | | | | | | | | | | | | | | | | Now generating mouse events from touch is optional (on by default) and it's performed by `InputDefault` instead of having each OS abstraction doing it. (*) The translation algorithm waits for a touch index to be pressed and tracks it translating its events to mouse events until it is raised, while ignoring other pointers. Furthermore, to avoid an stuck "touch mouse", since not all platforms may report touches raised when the window is unfocused, it checks if touches are still down by the time it's focused again and if so it resets the state of the emulated mouse. *: In the case of Windows, since it already provides touch-to-mouse translation by itself, "echo" mouse events are filtered out to have it working like the rest. On X11 a little hack has been needed to avoid a case of a spurious mouse motion event that is generated during touch interaction. Plus: Improve/fix tracking of current mouse position. ** Summary of changes to settings: ** - `display/window/handheld/emulate_touchscreen` becomes `input/pointing_devices/emulate_touch_from_mouse` - New setting: `input/pointing_devices/emulate_mouse_from_touch`
* Merge pull request #17227 from Faless/multiplayer_apiJuan Linietsky2018-04-081-442/+39
|\ | | | | [RFC] MultiplayerAPI refactor
| * Use MultiplayerAPI class for high level networkingFabio Alessandrelli2018-03-031-442/+39
| | | | | | | | | | | | Remove networking related logic from Node and SceneTree. SceneTree now simply relay all networking related stuff to MultiplayerAPI for compatibility
* | Fix oversampled font artifacts after resizeRuslan Mustakov2018-03-191-3/+3
| | | | | | | | | | | | | | | | Font update after resize relies on the viewport size which was updated after the font was already refreshed, which resulted in artifacts when it was rendered into the actual/new viewport size. Fixes #15173.
* | FIX Windows enter/exit mouse notificationsRanoller2018-03-031-0/+2
|/ | | Fix to this issue #17202
* Fix typos with codespellluz.paz2018-02-211-1/+1
| | | | | | | | | | | | | | Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
* Bind many more properties to scriptsBojidar Marinov2018-01-121-0/+20
| | | | | | | 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
* Fix typo in new stringsPoommetee Ketson2018-01-061-1/+1
|
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | 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.
* Merge pull request #15192 from volzhs/expose-quit-on-go-backRémi Verschelde2018-01-031-0/+1
|\ | | | | Bind SceneTree::set_quit_on_go_back() to gdscript
| * Bind SceneTree::set_quit_on_go_back() to gdscriptvolzhs2017-12-301-0/+1
| | | | | | | | Fix #15189
* | Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
|/ | | | Happy new year to the wonderful Godot community!
* Removed the InputEvent ID field, which was unused and can cause bugs.Juan Linietsky2017-12-261-8/+7
|
* Fixed wrong Project Settings direction on an error message.Michael Alexsander Silva Dias2017-12-201-1/+1
|
* Make dynamic font oversampling fully dynamic.Juan Linietsky2017-12-191-0/+1
|
* Added font oversampling supportJuan Linietsky2017-12-191-0/+24
|
* Style: Apply new clang-format 5.0 style to all filesRémi Verschelde2017-12-071-0/+2
|
* Do not cancel event if no need to cancel it. Fixes problem with GUI in 3D.Juan Linietsky2017-12-041-2/+2
|
* Merge pull request #12572 from RandomShaper/onion-skinningJuan Linietsky2017-11-261-5/+5
|\ | | | | Onion skinning
| * Implement onion skinning for the animation editorPedro J. Estébanez2017-11-251-5/+5
| |
* | Made Vector::ptrw explicit for writing, compiler was sometimes using the ↵Juan Linietsky2017-11-251-4/+4
|/ | | | | | wrong function, leading to unnecesary copy on writes and reduced performance.
* Merge pull request #12224 from NathanWarden/scene_tree_added_signalRémi Verschelde2017-10-201-0/+7
|\ | | | | Added a node_added signal to the SceneTree
| * Added a node_added signal to the SceneTreeNathan Warden2017-10-191-0/+7
| |
* | Fix window display shrink can't set to float numbersgeequlim2017-10-201-1/+1
|/
* Renamed fixed_process to physics_processAndreaCatania2017-09-301-6/+6
|
* Merge pull request #11545 from ↵Rémi Verschelde2017-09-251-1/+1
|\ | | | | | | | | | | | | Paulb23/line_edit_caret_blink_resetting_issue_10764 Fixed caret blink and speed resetting in scenes, issue 10764 [ci skip]
| * Fixed caret blink and speed resetting in scenes, issue 10764Paulb232017-09-241-1/+1
| |
* | Merge pull request #11552 from Tetane/masterPoommetee Ketson2017-09-251-0/+1
|\ \ | |/ |/| Add missing constant binding STRETCH_ASPECT_EXPAND in SceneTree
| * Add a missing constant binding in SceenTreeTetane2017-09-241-0/+1
| | | | | | | | Add missing constant binding "STRETCH_ASPECT_EXPAND" (I cannot test it because godot does not compile anymore on my pc (windows10))
* | Fix unused variable warningsHein-Pieter van Braam2017-09-081-1/+0
|/ | | | The forth in my quest to make Godot 3.x compile with -Werror on GCC7
* Fix files headerPoommetee Ketson2017-09-011-1/+1
|
* Do not error flood if removing default environment. Closes #9945Juan Linietsky2017-08-311-0/+4
|
* Dead code tells no talesRémi Verschelde2017-08-271-18/+5
|
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Merge pull request #10579 from quinnyo/rpc-sender-idRémi Verschelde2017-08-271-0/+9
|\ | | | | Method to get ID of RPC calling peer
| * add SceneTree method to get ID of rpc calling peerQuinn Schwab2017-08-231-0/+9
| |
* | Add two missing Null checksHein-Pieter van Braam2017-08-261-1/+4
| | | | | | | | | | | | | | These Null checks were removed in #10581 but actually changed the logic of the functions in this case. This fixes #10654
* | Convert Object::cast_to() to the static versionHein-Pieter van Braam2017-08-241-5/+2
|/ | | | | | | | | | | | Currently we rely on some undefined behavior when Object->cast_to() gets called with a Null pointer. This used to work fine with GCC < 6 but newer versions of GCC remove all codepaths in which the this pointer is Null. However, the non-static cast_to() was supposed to be null safe. This patch makes cast_to() Null safe and removes the now redundant Null checks where they existed. It is explained in this article: https://www.viva64.com/en/b/0226/
* Add missing NULL check for the new show_about() callMarcelo Fernandez2017-08-221-1/+1
|
* Fix build after merge of #10254Rémi Verschelde2017-08-221-1/+1
|
* Merge pull request #10254 from marcelofg55/masterRémi Verschelde2017-08-221-0/+14
|\ | | | | Added notification const NOTIFICATION_WM_ABOUT
| * Added notification const NOTIFICATION_WM_ABOUTMarcelo Fernandez2017-08-171-0/+14
| |
* | Merge pull request #10351 from neikeq/enums-are-for-the-weakJuan Linietsky2017-08-211-11/+12
|\ \ | | | | | | ClassDB: Provide the enum name of integer constants
| * | ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry2017-08-201-11/+12
| | |
* | | Merge pull request #10319 from neikeq/pr-engine-editor-hintJuan Linietsky2017-08-201-19/+5
|\ \ \ | |/ / |/| | Adds Engine::is_editor_hint() method
| * | Removes editor_hint from SceneTreeIgnacio Etcheverry2017-08-191-19/+5
| | |