Commit: 551204a17f14b94b4e222546231f4e5846762ce7
Author: Hans Goudey
Date:   Thu Oct 1 09:05:29 2020 -0500
Branches: master
https://developer.blender.org/rB551204a17f14b94b4e222546231f4e5846762ce7

Cleanup: Remove unused variable

===================================================================

M       source/blender/modifiers/intern/MOD_mesh_to_volume.cc

===================================================================

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

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to