summaryrefslogtreecommitdiffstats
path: root/scene/main/node.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix copyright headers referring to GodotSpartan3222024-10-271-2/+2
|
* Add an additional input stage after physics pickingMarkus Sauermann2024-10-171-0/+42
| | | | | | Allow handling events, that were not used during physics picking. (cherry picked from commit godotengine/godot@fbd5d2ba8bbd3c548a67dc3c462e0e0666510228)
* Rebrand preambles to RedotSpartan3222024-10-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit e8542b06acca3c1bdeee4b528411771f0819f084) Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* Fix node.duplicate, return nullptr if this operation fails.Radiant2024-09-161-1/+5
| | | | (cherry picked from commit 70f41e414eefd21ecbe98d429c5fc82b4c30ce8a)
* Fixed Timestep Interpolation: Fix behaviour on pauseRicardo Buring2024-07-071-0/+6
| | | | Co-authored-by: lawnjelly <lawnjelly@gmail.com>
* Fix duplicating nodes with Array propertieskobewi2024-06-271-2/+1
|
* Merge pull request #92678 from warriormaster12/dup_prop_before_remap_resourcesRémi Verschelde2024-06-181-4/+4
|\ | | | | | | Duplicate properties first before remapping resources
| * Duplicate properties first before remapping resourceswarriormaster122024-06-021-4/+4
| |
* | Use GDExtension `to_string` in NodeRaul Santos2024-06-111-1/+7
|/ | | | Matches the `Object::to_string` implementation.
* Cleanup unused/underused singleton StringNameskobewi2024-05-141-4/+2
|
* Use Core/Scene stringnames consistentlykobewi2024-05-131-2/+0
|
* Fix outdated name for `script` `StringName`A Thousand Ships2024-05-131-3/+1
|
* Merge pull request #91329 from warriormaster12/dont-do-things-twiceRémi Verschelde2024-05-131-62/+48
|\ | | | | | | Fix a performance regression when duplicating a node
| * Fix a performance regression when duplicating a nodewarriormaster122024-05-121-62/+48
| |
* | Add shorthand for using singleton string nameskobewi2024-05-111-8/+8
|/
* Fix crash when adding a child while duplicating a nodekobewi2024-05-071-2/+4
|
* Reduce and prevent unnecessary random-access to `List`A Thousand Ships2024-05-041-1/+1
| | | | | | | | | Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when accessing a single element) * Removed subscript operator, in favor of a more explicit `get` * Added conversion from `Iterator` to `ConstIterator` * Remade existing operations into other solutions when applicable
* Expose is_part_of_edited_scene()kobewi2024-04-261-0/+1
|
* Revert what needs to be revertedajreckof2024-04-101-27/+24
|
* Fix per-node physics interpolation settingRicardo Buring2024-04-051-2/+2
| | | | The per-node default should be ON.
* Merge pull request #89992 from ↵Rémi Verschelde2024-04-041-24/+27
|\ | | | | | | | | ajreckof/fix-my-mistake-with-replace-in-update-scene Fix node duplication in update after external changes.
| * fix node duplication in update after external changes.ajreckof2024-04-031-24/+27
| |
* | Merge pull request #89957 from warriormaster12/regress-dupRémi Verschelde2024-03-281-3/+1
|\ \ | |/ |/| | | Fix regression when duplicating a node with a resource attached
| * Fix duplicating resources regressionwarriormaster122024-03-271-3/+1
| |
* | Merge pull request #89686 from ↵Rémi Verschelde2024-03-241-15/+6
|\ \ | | | | | | | | | | | | | | | kleonc/unique-node-names-check-owned-then-in-owner Always look for unique node names in owner if not found in owned nodes
| * | Always look for unique node names in owner if not found in owned nodeskleonc2024-03-191-15/+6
| | |
* | | Merge pull request #89628 from twobitadder/whoops_no_internals_plsRémi Verschelde2024-03-241-1/+1
|\ \ \ | | | | | | | | | | | | Fix crash on `reparent()` with Node containing internal children
| * | | fixes crash on nodes with internal childrentwobit2024-03-171-1/+1
| |/ /
* | | Merge pull request #88424 from rburing/fti_2dRémi Verschelde2024-03-241-0/+119
|\ \ \ | |_|/ |/| | | | | Physics interpolation (2D)
| * | Fixed Timestep Interpolation (2D)Ricardo Buring2024-03-231-0/+119
| |/ | | | | | | | | | | | | Adds fixed timestep interpolation to the rendering server (2D only). Switchable on and off with a project setting (default is off). Co-authored-by: lawnjelly <lawnjelly@gmail.com>
* / Fix property duplication when duplicating a parent nodewarriormaster122024-03-171-18/+44
|/
* Merge pull request #86743 from Mickeon/autocompletion-optimise-objectRémi Verschelde2024-03-011-1/+3
|\ | | | | | | Optimise comparisons for Object's `get_argument_options`
| * Optimise Object's `get_argument_options`Micky2024-02-291-1/+3
| |
* | Fix owner when importing meshesMarkus Sauermann2024-02-261-2/+9
|/ | | | | Handle the case correctly, that a child of a replaced node has as owner an ancestor of the replaced node.
* Fix inefficient list iteration in Nodekobewi2024-02-241-4/+4
|
* Fix AnimationMixer breaking animations with redundant checkTravis Lange2024-02-191-1/+1
| | | | | | | | | | Also change `Node::get_node_and_resource` to prevent it from printing an error from `Node::get_node`, and just returns nullptr. This is what the redundant check was trying to prevent. Fixes #88428. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* Merge pull request #88521 from YeldhamDev/atr_regressionRémi Verschelde2024-02-191-4/+2
|\ | | | | | | Fix regression in auto translation overhaul
| * Fix regression in auto translation overhaulMichael Alexsander2024-02-181-4/+2
| |
* | Merge pull request #87743 from WhalesState/camera2dRémi Verschelde2024-02-191-1/+1
|\ \ | |/ |/| | | Fix `Camera2D` is enabled when dragging scene files to the `CanvasItemEditor`
| * Fix dragging scene files to the `CanvasItemEditor`Mounir Tohami2024-02-181-1/+1
| |
* | Revert "Allow configuration warnings to refer to a property"Rémi Verschelde2024-02-171-91/+6
| | | | | | | | This reverts commit bf37a9bac6ebfb09c0a374260c35ede8373ce427.
* | Make auto translation inheritableMichael Alexsander2024-02-151-2/+85
| |
* | Merge pull request #84824 from Rindbee/fix-double-internal-nodeRémi Verschelde2024-02-091-0/+5
|\ \ | | | | | | | | | Fix duplicating sub-scene may get two copies of internal node
| * | Fix duplicating sub-scene may get two copies of internal node风青山2023-12-201-0/+5
| | | | | | | | | | | | | | | Previously, internal node might be mistaken for `hidden_root` and be duplicated again. Exclude those internal nodes to avoid this case, unless the owner is set intentionally.
* | | Allow configuration warnings to refer to a propertyRedMser2024-02-081-6/+91
| |/ |/| | | | | | | This is used by the inspector so it can show a warning icon on a specific property.
* | Allow Node.create_tween() outside SceneTreekobewi2024-01-291-2/+8
| |
* | Merge pull request #87535 from Mickeon/scene-tree-configuration-warnings-cleanupRémi Verschelde2024-01-291-14/+0
|\ \ | | | | | | | | | Improve appearance of Node configuration warnings
| * | Improve appearance of Node configuration warningsMicky2024-01-271-14/+0
| | |
* | | Merge pull request #87252 from ↵Yuri Sizov2024-01-241-0/+5
|\ \ \ | |/ / |/| | | | | | | | | | | ajreckof/Fix-renaming-a-node-to-the-name-of-its-siblings-breaking-NodePath Fix renaming a node to the name of its siblings breaking NodePath
| * | Fix renaming a node to the name of its siblings breaking NodePathajreckof2024-01-161-0/+5
| | | | | | | | | | | | | | | | | | Also fix cases where node name was not visually updated because name was not changed Co-Authored-By: Nông Văn Tình <53887662+nongvantinh@users.noreply.github.com>