diff options
-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); |