Skip to content

Add node path validation & tweak warning in SkeletonModifier3D#115358

Merged
Repiteo merged 1 commit into
godotengine:masterfrom
TokageItLab:warn-smod3
Mar 13, 2026
Merged

Add node path validation & tweak warning in SkeletonModifier3D#115358
Repiteo merged 1 commit into
godotengine:masterfrom
TokageItLab:warn-smod3

Conversation

@TokageItLab
Copy link
Copy Markdown
Member

@TokageItLab TokageItLab commented Jan 25, 2026

For NodePath properties, if a path is assigned and the Modifier is in the scene tree, it will perform a check once via the setter and print a warning. But this can impact performance when paths are intentionally assigned to non-existent elements in the scene, so an option to disable this behavior will be added in Project Settings as same way with the AnimationMixer.

Also, index is now included and printed in bone index validation.

@TokageItLab TokageItLab added this to the 4.7 milestone Jan 25, 2026
@TokageItLab TokageItLab requested a review from a team as a code owner January 25, 2026 09:51
@TokageItLab TokageItLab requested review from a team as code owners January 25, 2026 09:51
@TokageItLab TokageItLab added usability topic:animation topic:3d cherrypick:4.6 Considered for cherry-picking into a future 4.6.x release labels Jan 25, 2026
Comment thread scene/3d/skeleton_modifier_3d.h Outdated
Comment thread scene/3d/bone_constraint_3d.cpp Outdated
Comment thread doc/classes/ProjectSettings.xml Outdated
Copy link
Copy Markdown
Contributor

@lyuma lyuma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved in meeting

@Repiteo
Copy link
Copy Markdown
Contributor

Repiteo commented Mar 12, 2026

Needs rebase

@Repiteo Repiteo merged commit 2078318 into godotengine:master Mar 13, 2026
20 checks passed
@Repiteo
Copy link
Copy Markdown
Contributor

Repiteo commented Mar 13, 2026

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherrypick:4.6 Considered for cherry-picking into a future 4.6.x release enhancement topic:animation topic:3d usability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FABRIK3D has no feedback to the user when an invalid NodePath is used as a target node

4 participants