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:
authorDalai Felinto <dfelinto@gmail.com>2018-09-28 22:34:12 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-09-28 22:34:12 +0300
commitfc96283c1c6cb4dc210e5ab9a535e7810b57cc7a (patch)
treea3f0a3356a8c148747cad106cd9b6d581b35cf2f /release/scripts/startup/bl_ui
parent0c6103557a185dcc0d14cf336fc96688a108fba2 (diff)
Fix painting clone ui/rna not working
Diffstat (limited to 'release/scripts/startup/bl_ui')
-rw-r--r--release/scripts/startup/bl_ui/properties_paint_common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/properties_paint_common.py b/release/scripts/startup/bl_ui/properties_paint_common.py
index 7649925b52b..aa53bc44750 100644
--- a/release/scripts/startup/bl_ui/properties_paint_common.py
+++ b/release/scripts/startup/bl_ui/properties_paint_common.py
@@ -98,7 +98,7 @@ class VIEW3D_MT_tools_projectpaint_clone(Menu):
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_clone_index"
+ props.data_path = "active_object.data.uv_layer_clone_index"
props.value = i
@@ -182,7 +182,7 @@ def brush_texpaint_common(panel, context, layout, brush, settings, projpaint=Fal
elif settings.mode == 'IMAGE':
mesh = ob.data
- clone_text = mesh.uv_texture_clone.name if mesh.uv_texture_clone else ""
+ clone_text = mesh.uv_layer_clone.name if mesh.uv_layer_clone else ""
col.label(text="Source Clone Image")
col.template_ID(settings, "clone_image")
col.label(text="Source Clone UV Map")