From ef7fcaf8e6c684463ce143bf0ea43d23803919d2 Mon Sep 17 00:00:00 2001 From: Pablo Dobarro Date: Wed, 23 Jun 2021 18:42:20 +0200 Subject: Voxel Remesher: Make smooth shading output automatic Previously the smooth shading of the voxel remesher was controlled by a mesh property. With this change, the output will try to match the current shading of the object. This only takes into consideration the shading mode of the first polygon of the model, but it is probably what most users expect as it works as intended with the shade smooth/flat object mode options. Reviewed By: JulienKaspar, JacquesLucke Differential Revision: https://developer.blender.org/D11626 --- release/scripts/startup/bl_ui/properties_data_mesh.py | 1 - release/scripts/startup/bl_ui/space_view3d_toolbar.py | 1 - 2 files changed, 2 deletions(-) (limited to 'release/scripts/startup') diff --git a/release/scripts/startup/bl_ui/properties_data_mesh.py b/release/scripts/startup/bl_ui/properties_data_mesh.py index a9d7b8d71f3..b0e466d3e51 100644 --- a/release/scripts/startup/bl_ui/properties_data_mesh.py +++ b/release/scripts/startup/bl_ui/properties_data_mesh.py @@ -517,7 +517,6 @@ class DATA_PT_remesh(MeshButtonsPanel, Panel): col.prop(mesh, "remesh_voxel_size") col.prop(mesh, "remesh_voxel_adaptivity") col.prop(mesh, "use_remesh_fix_poles") - col.prop(mesh, "use_remesh_smooth_normals") col = layout.column(heading="Preserve") col.prop(mesh, "use_remesh_preserve_volume", text="Volume") diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index 89bb2005f53..bc385faf378 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -832,7 +832,6 @@ class VIEW3D_PT_sculpt_voxel_remesh(Panel, View3DPaintPanel): props.mode = 'VOXEL' col.prop(mesh, "remesh_voxel_adaptivity") col.prop(mesh, "use_remesh_fix_poles") - col.prop(mesh, "use_remesh_smooth_normals") col = layout.column(heading="Preserve", align=True) col.prop(mesh, "use_remesh_preserve_volume", text="Volume") -- cgit v1.2.3