summaryrefslogtreecommitdiff
path: root/scene/main/node.cpp
AgeCommit message (Collapse)Author
2019-11-21Setting the node process priority should not trigger an errorMartin Capitanio
Fixes #33749 This function can be called outside the scene tree.
2019-11-17Implement `Node::get_process_priority()` and its associated propertyHugo Locurcio
This closes #33660.
2019-10-17Expose Node::update_configuration_warning() to scriptsPouleyKetchoupp
This method can be used to generate custom node warnings by script. Node::_get_configuration_warning was already exposed to generate custom warnings, but it wasn't fully usable without being able to notify the scene tree when the warning needs to appear or change.
2019-09-25Merge pull request #32051 from qarmin/some_error_explanationRémi Verschelde
Added some obvious errors explanations
2019-09-25Added some obvious errors explanationsqarmin
2019-09-19Add new events and accompanying logic to notify when the app is paused and ↵fhuya
resumed on Android devices.
2019-08-23Add an `editor_description` property to Node for documentation purposesHugo Locurcio
It is implemented using editor-only metadata, in a way similar to edit locking or Position2D gizmo extents. This closes #2082.
2019-08-17Improve the scene tree signals/groups tooltipHugo Locurcio
The tooltip now displays the number of connections and groups that are assigned to the hovered node.
2019-08-09Remove ERR_EXPLAIN from scene/* codeTomasz Chabora
2019-08-08Merge pull request #31185 from mitchcurtis/get_pathRémi Verschelde
Improve error message in Node::get_path()
2019-08-08Merge pull request #31182 from mitchcurtis/remove_childRémi Verschelde
Improve error message in Node::remove_child()
2019-08-08Improve error message in Node::remove_child()Mitch Curtis
2019-08-07Improve error message in Node::get_path()Mitch Curtis
2019-08-07Merge pull request #31122 from Muller-Castro/enhancementRémi Verschelde
Unnecessary reassignments
2019-08-07Add some code changes/fixes proposed by Coverity and Clang Tidyqarmin
2019-08-06Removed unnecessary reassignsMuller-Castro
Those assignments are duplicated since add_to_group() or remove_from_group() aren't changing the state of those members.
2019-07-20Changed some code showed in LGTM and Coverageqarmin
2019-07-11Merge pull request #30498 from bojidar-bg/30495-cannot-insert-keyRémi Verschelde
Fix inability to insert keys via Insert Key context menu
2019-07-10Fix inability to insert keys via Insert Key context menuBojidar Marinov
Fixes #30495
2019-07-10Use reference to constant in functionsqarmin
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-27Merge pull request #29941 from qarmin/redundant_code_and_othersRémi Verschelde
Remove redundant code, possible NULL pointers and others
2019-06-26Node: Fix logic of has/get_node_and_resource and document itRémi Verschelde
Also document NodePath.
2019-06-26Some code changed with Clang-Tidyqarmin
2019-06-11Fix error macro calls not ending with semicolonRémi Verschelde
It's not necessary, but the vast majority of calls of error macros do have an ending semicolon, so it's best to be consistent. Most WARN_DEPRECATED calls did *not* have a semicolon, but there's no reason for them to be treated differently.
2019-05-28Node::duplicate: Don't set name if original node is namelessRémi Verschelde
In practice this only happens when duplicating a node which is not in the scene tree yet, as nameless nodes get assigned a generated name when added to the scene tree. Fixes #27319.
2019-05-24Fixed scene tree update after changing node name in tool scriptPouleyKetchoupp
2019-04-30Merge pull request #24437 from mateusfccp/single_quotes_optionRémi Verschelde
Add settings for single-quotes on completion
2019-04-22Merge pull request #28140 from Daw11/orphan-nodesRémi Verschelde
Add a monitor for the orphan nodes
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-05Merge pull request #26803 from ptrojahn/emptynodeRémi Verschelde
Make get_node return NULL for empty NodePaths
2019-04-04Clean up notifications and merge Node and MainLoop ones for clarity, closes ↵Juan Linietsky
#27614
2019-03-08Make get_node return NULL for empty NodePathsPaul Trojahn
Fixes #25292
2019-01-30Add check in folding to see if the nodepath exists to avoid message spam.K. S. Ernest (iFire) Lee
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-18Add settings for single-quotes on completionMateus Felipe C. C. Pinto
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.
2018-11-18Massive speed up on deleting nodes, fixes #18673Juan Linietsky
Also makes the editor exit faster
2018-11-14Merge pull request #23564 from endragor/fix-remove-child-orderingJuan Linietsky
Notify node's moved children after sibling removed
2018-11-08-Moved EditorDefaultValue to ClassDB, made it coreJuan Linietsky
-Removed one and zero hints for properties, replaced by default value
2018-11-07Notify node's moved children after sibling removedRuslan Mustakov
Fixes #16213.
2018-10-29Moved folding outside the resource files, now saved outside the project.Juan Linietsky
2018-10-11Fixed error when duplicating a scene which has connectionDualMatrix
Fixed error when duplicating a scene which has connection