diff options
author | laws65 <seanes118@gmail.com> | 2021-12-24 17:32:51 +1030 |
---|---|---|
committer | laws65 <seanes118@gmail.com> | 2021-12-24 17:32:51 +1030 |
commit | c559bef1c7f301c3c79b8b9197a867145ef9ecba (patch) | |
tree | a92d5575e3b6f42b94dd7f4058524048188886ae /scene | |
parent | 1906b59675ce807d3be35924a1b4338976061e0f (diff) |
Prevent crashes on exported project relating to Skin resource
Diffstat (limited to 'scene')
-rw-r--r-- | scene/resources/skin.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/scene/resources/skin.h b/scene/resources/skin.h index 6857bf743a..eff7783e4e 100644 --- a/scene/resources/skin.h +++ b/scene/resources/skin.h @@ -67,23 +67,17 @@ public: void set_bind_name(int p_index, const StringName &p_name); inline int get_bind_bone(int p_index) const { -#ifdef DEBUG_ENABLED ERR_FAIL_INDEX_V(p_index, bind_count, -1); -#endif return binds_ptr[p_index].bone; } inline StringName get_bind_name(int p_index) const { -#ifdef DEBUG_ENABLED ERR_FAIL_INDEX_V(p_index, bind_count, StringName()); -#endif return binds_ptr[p_index].name; } inline Transform3D get_bind_pose(int p_index) const { -#ifdef DEBUG_ENABLED ERR_FAIL_INDEX_V(p_index, bind_count, Transform3D()); -#endif return binds_ptr[p_index].pose; } |