summaryrefslogtreecommitdiffstats
path: root/scene/3d/skeleton_modifier_3d.cpp
diff options
context:
space:
mode:
authorLyuma <xn.lyuma@gmail.com>2024-05-03 04:08:08 -0700
committerLyuma <xn.lyuma@gmail.com>2024-05-09 19:48:56 -0700
commit1ccf0c294767c48c98bee45dc01d8481cfbb2760 (patch)
tree520d12facfaa4ce499d2edc9a81f533fc994ffec /scene/3d/skeleton_modifier_3d.cpp
parent03e6fbb010c3546593bd91a0dabc045a9882705a (diff)
downloadredot-engine-1ccf0c294767c48c98bee45dc01d8481cfbb2760.tar.gz
Allow users to override SkeletonModifier3D._process_modification
Diffstat (limited to 'scene/3d/skeleton_modifier_3d.cpp')
-rw-r--r--scene/3d/skeleton_modifier_3d.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/3d/skeleton_modifier_3d.cpp b/scene/3d/skeleton_modifier_3d.cpp
index 96e3e33841..8d806ef5fc 100644
--- a/scene/3d/skeleton_modifier_3d.cpp
+++ b/scene/3d/skeleton_modifier_3d.cpp
@@ -110,7 +110,7 @@ void SkeletonModifier3D::process_modification() {
}
void SkeletonModifier3D::_process_modification() {
- //
+ GDVIRTUAL_CALL(_process_modification);
}
void SkeletonModifier3D::_notification(int p_what) {
@@ -133,6 +133,7 @@ void SkeletonModifier3D::_bind_methods() {
ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "influence", PROPERTY_HINT_RANGE, "0,1,0.001"), "set_influence", "get_influence");
ADD_SIGNAL(MethodInfo("modification_processed"));
+ GDVIRTUAL_BIND(_process_modification);
}
SkeletonModifier3D::SkeletonModifier3D() {