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:
authorHans Goudey <h.goudey@me.com>2020-10-01 17:05:29 +0300
committerHans Goudey <h.goudey@me.com>2020-10-01 17:05:29 +0300
commit551204a17f14b94b4e222546231f4e5846762ce7 (patch)
tree1f72e84a84939a8c4b9806b0970d783dda5c84ad
parentd7af1c7bd96b2800c4150ff515a713038176f370 (diff)
Cleanup: Remove unused variable
-rw-r--r--source/blender/modifiers/intern/MOD_mesh_to_volume.cc3
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);