diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-03-05 00:33:26 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-03-05 00:38:41 +0300 |
commit | 1da8ed2a9737088a29f8782b290ba237bd0e813c (patch) | |
tree | 9bcb8424c7d58ae7a082e747e95f5aad1fac72d7 /source/blender/editors/space_buttons/buttons_context.c | |
parent | 2fb4de1f8c1b3117da47aff39972d92cc078dd29 (diff) |
Cleanup: redundant casts
Diffstat (limited to 'source/blender/editors/space_buttons/buttons_context.c')
-rw-r--r-- | source/blender/editors/space_buttons/buttons_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_buttons/buttons_context.c b/source/blender/editors/space_buttons/buttons_context.c index 813290cbe97..035239cc7d0 100644 --- a/source/blender/editors/space_buttons/buttons_context.c +++ b/source/blender/editors/space_buttons/buttons_context.c @@ -1233,7 +1233,7 @@ ID *buttons_context_id_path(const bContext *C) /* pin particle settings instead of system, since only settings are an idblock*/ if (sbuts->mainb == BCONTEXT_PARTICLE && sbuts->flag & SB_PIN_CONTEXT) { if (ptr->type == &RNA_ParticleSystem && ptr->data) { - ParticleSystem *psys = (ParticleSystem *)ptr->data; + ParticleSystem *psys = ptr->data; return &psys->part->id; } } |