From 00f6c859282bb4dab3f6b4f6c20c44222221ebe9 Mon Sep 17 00:00:00 2001 From: TwistedTwigleg Date: Fri, 11 Aug 2017 15:10:05 -0400 Subject: Synchronize parameter names in definition and declaration Fixes #10244. --- scene/3d/skeleton.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scene/3d/skeleton.h') diff --git a/scene/3d/skeleton.h b/scene/3d/skeleton.h index dc0adbb337..a6546af64e 100644 --- a/scene/3d/skeleton.h +++ b/scene/3d/skeleton.h @@ -91,8 +91,8 @@ class Skeleton : public Spatial { } protected: - bool _get(const StringName &p_name, Variant &r_ret) const; - bool _set(const StringName &p_name, const Variant &p_value); + bool _get(const StringName &p_path, Variant &r_ret) const; + bool _set(const StringName &p_path, const Variant &p_value); void _get_property_list(List *p_list) const; void _notification(int p_what); static void _bind_methods(); @@ -113,7 +113,7 @@ public: void set_bone_parent(int p_bone, int p_parent); int get_bone_parent(int p_bone) const; - void unparent_bone_and_rest(int p_idx); + void unparent_bone_and_rest(int p_bone); void set_bone_disable_rest(int p_bone, bool p_disable); bool is_bone_rest_disabled(int p_bone) const; -- cgit v1.2.3