diff options
author | Bastien Montagne <bastien@blender.org> | 2022-08-24 20:16:18 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-08-24 20:16:18 +0300 |
commit | 3a1ea04d46de8cbddecc018bfc07d3600dd45d5e (patch) | |
tree | ff40ed7a7356140e65708f5a22de8eda54d98fc9 /source/blender/editors | |
parent | 8b7293eb4168908945d562fdd1c3f8cd4d4944e5 (diff) |
Cleanup warning about missing pointer casting.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/object/object_relations.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_relations.c b/source/blender/editors/object/object_relations.c index 71dfaefe6a3..22f777c0846 100644 --- a/source/blender/editors/object/object_relations.c +++ b/source/blender/editors/object/object_relations.c @@ -2599,7 +2599,7 @@ static int clear_override_library_exec(bContext *C, wmOperator *UNUSED(op)) ob_iter->id.override_library->reference, ID_REMAP_SKIP_INDIRECT_USAGE); if (do_remap_active) { - Object *ref_object = ob_iter->id.override_library->reference; + Object *ref_object = (Object *)ob_iter->id.override_library->reference; Base *basact = BKE_view_layer_base_find(view_layer, ref_object); if (basact != NULL) { view_layer->basact = basact; |