[Bf-blender-cvs] [eb759730b12] blender2.8: Correct error from texface removal
Campbell Barton
noreply at git.blender.org
Thu Jul 13 11:20:06 CEST 2017
Commit: eb759730b1211d2da27e77b41a3bf4614b350320
Author: Campbell Barton
Date: Thu Jul 13 19:28:20 2017 +1000
Branches: blender2.8
https://developer.blender.org/rBeb759730b1211d2da27e77b41a3bf4614b350320
Correct error from texface removal
Missed stencil layer
===================================================================
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 996e351e715..1444a4ba8e3 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -1275,7 +1275,7 @@ class VIEW3D_PT_stencil_projectpaint(View3DPanel, Panel):
col = layout.column()
col.active = ipaint.use_stencil_layer
- stencil_text = mesh.uv_texture_stencil.name if mesh.uv_texture_stencil else ""
+ stencil_text = mesh.uv_layer_stencil.name if mesh.uv_layer_stencil else ""
col.label("UV Map")
col.menu("VIEW3D_MT_tools_projectpaint_stencil", text=stencil_text, translate=False)
@@ -1878,7 +1878,7 @@ class VIEW3D_MT_tools_projectpaint_stencil(Menu):
layout = self.layout
for i, uv_layer in enumerate(context.active_object.data.uv_layers):
props = layout.operator("wm.context_set_int", text=uv_layer.name, translate=False)
- props.data_path = "active_object.data.uv_texture_stencil_index"
+ props.data_path = "active_object.data.uv_layer_stencil_index"
props.value = i
More information about the Bf-blender-cvs
mailing list