Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2017-07-13 12:28:20 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-07-13 12:30:00 +0300
commiteb759730b1211d2da27e77b41a3bf4614b350320 (patch)
treeb998c6806e7e15d7f955bfb199c4953a2d0474ad /release
parenta3240df269609e8c7cafaeeec8dfbccd07df7cd3 (diff)
Correct error from texface removal
Missed stencil layer
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d_toolbar.py4
1 files changed, 2 insertions, 2 deletions
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