diff options
author | Hans Goudey <h.goudey@me.com> | 2020-10-01 17:05:29 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-10-01 17:05:29 +0300 |
commit | 551204a17f14b94b4e222546231f4e5846762ce7 (patch) | |
tree | 1f72e84a84939a8c4b9806b0970d783dda5c84ad /source/blender/modifiers/intern | |
parent | d7af1c7bd96b2800c4150ff515a713038176f370 (diff) |
Cleanup: Remove unused variable
Diffstat (limited to 'source/blender/modifiers/intern')
-rw-r--r-- | source/blender/modifiers/intern/MOD_mesh_to_volume.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_mesh_to_volume.cc b/source/blender/modifiers/intern/MOD_mesh_to_volume.cc index ce8a456f66f..14c3733525b 100644 --- a/source/blender/modifiers/intern/MOD_mesh_to_volume.cc +++ b/source/blender/modifiers/intern/MOD_mesh_to_volume.cc @@ -139,8 +139,7 @@ static void panel_draw(const bContext *UNUSED(C), Panel *panel) { uiLayout *layout = panel->layout; - PointerRNA ob_ptr; - PointerRNA *ptr = modifier_panel_get_property_pointers(panel, &ob_ptr); + PointerRNA *ptr = modifier_panel_get_property_pointers(panel, NULL); MeshToVolumeModifierData *mvmd = static_cast<MeshToVolumeModifierData *>(ptr->data); uiLayoutSetPropSep(layout, true); |