From 6d09fa357731e3444a08aa7e705aab8fb4ed895d Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Wed, 24 Apr 2019 15:43:58 +0200 Subject: DynamicPaint: Remove Previews Modifier previews should be implemented by a more generic system. The current system is already a hack and needed a lot of work to get it working again in 2.80 and even so that would be replaced by another system in the near future. For Vertex Colors we have a work around in place by using Workbench Vertex Colors. For Vertex Weights we loose the previewing. Not sure targetting weight is working (even for 279). Reviewed By: brecht Maniphest Tasks: T63857 Differential Revision: https://developer.blender.org/D4734 --- .../scripts/startup/bl_ui/properties_physics_dynamicpaint.py | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py') diff --git a/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py b/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py index fec8723ef5e..4eb43695eb5 100644 --- a/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py +++ b/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py @@ -39,15 +39,6 @@ class PHYSICS_UL_dynapaint_surfaces(UIList): row.label(text="", icon_value=icon) row.prop(surf, "name", text="", emboss=False, icon_value=sticon) row = layout.row(align=True) - - if surf.use_color_preview: - row.prop( - surf, - "show_preview", - text="", - emboss=False, - icon='RESTRICT_VIEW_OFF' if surf.show_preview else 'RESTRICT_VIEW_ON' - ) row.prop(surf, "is_active", text="") elif self.layout_type == 'GRID': @@ -373,9 +364,6 @@ class PHYSICS_PT_dp_canvas_output(PhysicButtonsPanel, Panel): # vertex format outputs. if surface.surface_format == 'VERTEX': if surface_type == 'PAINT': - # toggle active preview. - layout.prop(surface, "preview_id") - # paint-map output. row = layout.row() row.prop_search(surface, "output_name_a", ob.data, "vertex_colors", text="Paintmap Layer") -- cgit v1.2.3