Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <bastien@blender.org>2020-11-25 13:19:14 +0300
committerBastien Montagne <bastien@blender.org>2020-11-25 13:19:28 +0300
commit9e77fc533c1387776900fcc91ed9591f33dd8bf2 (patch)
tree490111a48723dc5e4dcfffb9ad9aca6edce760de /source/blender/blenkernel/intern/action.c
parentb1533f8fa4b157a1f6d4e383c4e60d384cb6dd97 (diff)
Cleanup: remove useless cast.
Diffstat (limited to 'source/blender/blenkernel/intern/action.c')
-rw-r--r--source/blender/blenkernel/intern/action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/action.c b/source/blender/blenkernel/intern/action.c
index 126063288d8..ccb077d6b82 100644
--- a/source/blender/blenkernel/intern/action.c
+++ b/source/blender/blenkernel/intern/action.c
@@ -609,7 +609,7 @@ bPoseChannel *BKE_pose_channel_find_name(const bPose *pose, const char *name)
return BLI_ghash_lookup(pose->chanhash, (const void *)name);
}
- return BLI_findstring(&((const bPose *)pose)->chanbase, name, offsetof(bPoseChannel, name));
+ return BLI_findstring(&pose->chanbase, name, offsetof(bPoseChannel, name));
}
/**