summaryrefslogtreecommitdiff
path: root/scene/main/node.cpp
AgeCommit message (Collapse)Author
2023-02-01More codespell fixes, do more changes from previous ignore listRémi Verschelde
2023-01-30Fix Editor Description tooltip not changing until scene is reopenedHugo Locurcio
You still need to select another node to see the tooltip updated first, but you no longer need to save and reopen the scene to view the updated tooltip.
2023-01-24PropertyUsage: Rename "DO_NOT_SHARE_ON_DUPLICATE" to "ALWAYS_DUPLICATE"Aaron Franke
2023-01-24Merge pull request #65137 from dalexeev/editor-namingYuri Sizov
Rearrange `editor/naming/*` project settings
2023-01-23Merge pull request #57606 from SaracenOne/update_on_reimportRémi Verschelde
Update instances of scenes which have been reimported.
2023-01-21Merge pull request #71021 from reduz/prevent-physics-callback-removalRémi Verschelde
Error when removing a physics node during a physics callback
2023-01-16Update instances of scenes which have been reimported.SaracenOne
2023-01-12Rearrange `editor/naming/*` project settingsDanil Alexeev
2023-01-10Add Node::get_window() method.bruvzg
2023-01-07Merge pull request #36301 from KoBeWi/daddy_nodeRémi Verschelde
Add reparent methods to Node
2023-01-07Error when removing a phycics node during a physics callbackJuan Linietsky
* This behavior is not allowed, the error text suggests using call_deferred(). * Added a check in Node::remove_child to prevent future crashes of this type. * Fixed a performance regression introduced by #36244. Fixes #63718, probably other crashes too.
2023-01-06Merge pull request #68429 from KoBeWi/PropertySettingsRémi Verschelde
Add PropertyInfo overload for GLOBAL_DEF
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2022-12-11Add PropertyInfo overload for GLOBAL_DEFkobewi
2022-11-28Merge pull request #68874 from TokageItLab/fix-unique-path-keyingRémi Verschelde
Added option to `get_path_to()` to get the shortest path considering unique name
2022-11-24Merge pull request #68566 from Mickeon/node-print-orphans-staticRémi Verschelde
Make `Node.print_orphan_nodes()` static
2022-11-23Merge pull request #68568 from Mickeon/node-parent-busy-errorRémi Verschelde
Update "Parent node is busy" errors to use `Callable.call_deferred()`
2022-11-23Update "Parent node is busy" errors to use `Callable.call_deferred()`Micky
Also fixes outdated method names in the messages.
2022-11-19Add option to get_path_to() to get the shortest path with unique nameSilc Renew
2022-11-16Merge pull request #68709 from MewPurPur/instance-begone-part3Rémi Verschelde
Remove more instances of 'instance' being used as a verb
2022-11-16Remove more instances of 'instance' being used as a verbVolTer
2022-11-15Fix crash of queue_free() when main loop is not SceneTreeHaoyu Qiu
2022-11-14Merge pull request #68564 from Mickeon/node-no-remove-group-errorRémi Verschelde
Strip ERR_FAIL from `Node.remove_from_group()`
2022-11-14Remove redundant Variant-types initializationsMarkus Sauermann
2022-11-13Strip ERR_FAIL from `Node.remove_from_group()`Micky
Also simplifies group check removing unnecessary `!data.grouped.has`
2022-11-12Make `Node.print_orphan_nodes()` staticMicky
2022-10-31Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde
Unify usage of GLOBAL/EDITOR_GET
2022-10-31Merge pull request #67445 from Zylann/rename_queue_deleteRémi Verschelde
Rename queue_delete => queue_free
2022-10-24Rename queue_delete => queue_freeMarc Gilleron
# Conflicts: # editor/plugins/tiles/tiles_editor_plugin.cpp
2022-10-18Unify usage of GLOBAL/EDITOR_GETkobewi
2022-10-16Fix get_path() error when calling get_node()Haoyu Qiu
2022-10-14Rename pos -> index on NodeMiguel Gonzalez Sanchez
2022-10-10Fix node name casing issueskobewi
Co-authored-by: ryburnj <jordanryburn@gmail.com>
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-03Unix: Remove now unnecessary I/O defines, cleanupRémi Verschelde
- `LIBC_FILEIO_ENABLED` wasn't defined anywhere, even in _other platforms_. - `NO_NETWORK` is also never defined. It probably isn't enough anyway to disable network APIs in the current codebase. - `UNIX_SOCKET_UNAVAILABLE` is never defined in this code but used by some other platforms, clarify that. - `NO_STATVFS` can be removed as Android supports it since API level 19, which is our current min SDK level. It's also only used for `DirAccessUnix::get_space_left()` which is anyway overridden by `DirAccessJAndroid::get_space_left()` so it shouldn't make a difference. * Fixed documentation for `DirAccess.get_space_left()`. - `NO_FCNTL` is likely also a remnant of early Android days, in current NDK r23 it seems to be available. Also cleaned up unused `fcntl.h` includes. - `NO_ALLOCA` is never defined, and we use alloca in many places now.
2022-09-19Change return type of `get_configuration_warnings` to `PackedStringArray`Marc Gilleron
2022-09-10Merge pull request #65595 from KoBeWi/minus_childrenRémi Verschelde
Allow negative indices in `move_child()`
2022-09-10Allow negative indices in move_child()kobewi
2022-09-09Remove Remove and SkipVolTer
2022-09-08Merge pull request #60108 from KoBeWi/arise_to_topRémi Verschelde
Rename raise() to move_to_front()
2022-09-07Rename `legible_unique_name` param to `force_readable_name`Micky
With the introduction of Scene Unique Nodes, `is_unique_in_owner`, "Unique Name in Scene" and other descriptions related to the feature, the second parameter of add_child() and add_simbling() could be misunderstood to be related, at first glance.
2022-09-06Rename raise() to move_to_front()kobewi
2022-08-30Merge pull request #63902 from dalexeev/string-casesRémi Verschelde
2022-08-30Merge pull request #64410 from MewPurPur/rename-notification-instancedRémi Verschelde
2022-08-30Add `String.to_{camel,pascal,snake}_case` methodsDanil Alexeev
2022-08-26Merge pull request #64570 from KoBeWi/node🧳ingRémi Verschelde
Unify node casing adjustment
2022-08-23Replace Array return types with TypedArray 2kobewi
2022-08-18Unify node casing adjustmentkobewi
2022-08-16Add methods for node reparentingTomasz Chabora
2022-08-16Rename NOTIFICATION_INSTANCED to NOTIFICATION_SCENE_INSTANTIATEDVolTer