[Bf-blender-cvs] [10769522091] master: Fix wrong variable name in Sculpt Vertex Colors experimental check

Pablo Dobarro noreply at git.blender.org
Mon Jul 13 17:52:30 CEST 2020


Commit: 107695220918f07cab51dfe57f8dbcb465ac8466
Author: Pablo Dobarro
Date:   Fri Jul 10 23:00:21 2020 +0200
Branches: master
https://developer.blender.org/rB107695220918f07cab51dfe57f8dbcb465ac8466

Fix wrong variable name in Sculpt Vertex Colors experimental check

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D8269

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

M	release/scripts/startup/bl_ui/space_view3d_toolbar.py

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

diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index 3286209bd63..39e4ee2beac 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -812,7 +812,7 @@ class VIEW3D_PT_sculpt_voxel_remesh(Panel, View3DPaintPanel):
         col.prop(mesh, "use_remesh_preserve_volume", text="Volume")
         col.prop(mesh, "use_remesh_preserve_paint_mask", text="Paint Mask")
         col.prop(mesh, "use_remesh_preserve_sculpt_face_sets", text="Face Sets")
-        if preferences.experimental.use_preserver_vertex_colors:
+        if context.preferences.experimental.use_sculpt_vertex_colors:
             col.prop(mesh, "use_remesh_preserve_vertex_colors", text="Vertex Colors")



More information about the Bf-blender-cvs mailing list