summaryrefslogtreecommitdiff
path: root/scene/2d
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2021-06-07 11:26:47 +1000
committerBastiaan Olij <mux213@gmail.com>2021-06-08 12:18:33 +1000
commit51ab10d3f467c0f0c6258da78b78bb5f43ad0d56 (patch)
tree189d3847e6b40025bd72619d8e1f4acf9d5d2d3c /scene/2d
parentcb8244273b0038595d8be6e0d56a430feac217f0 (diff)
Fixed mistake in binding of Skeleton2D::execute_modifications
Diffstat (limited to 'scene/2d')
-rw-r--r--scene/2d/skeleton_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/skeleton_2d.cpp b/scene/2d/skeleton_2d.cpp
index c5ad3dde39..8f1f5fadbc 100644
--- a/scene/2d/skeleton_2d.cpp
+++ b/scene/2d/skeleton_2d.cpp
@@ -787,7 +787,7 @@ void Skeleton2D::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_modification_stack", "modification_stack"), &Skeleton2D::set_modification_stack);
ClassDB::bind_method(D_METHOD("get_modification_stack"), &Skeleton2D::get_modification_stack);
- ClassDB::bind_method(D_METHOD("execute_modifications", "execution_mode", "execution_mode"), &Skeleton2D::execute_modifications);
+ ClassDB::bind_method(D_METHOD("execute_modifications", "delta", "execution_mode"), &Skeleton2D::execute_modifications);
ClassDB::bind_method(D_METHOD("set_bone_local_pose_override", "bone_idx", "override_pose", "strength", "persistent"), &Skeleton2D::set_bone_local_pose_override);
ClassDB::bind_method(D_METHOD("get_bone_local_pose_override", "bone_idx"), &Skeleton2D::get_bone_local_pose_override);