diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-09-28 22:34:12 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-09-28 22:34:12 +0300 |
commit | fc96283c1c6cb4dc210e5ab9a535e7810b57cc7a (patch) | |
tree | a3f0a3356a8c148747cad106cd9b6d581b35cf2f /release/scripts/startup/bl_ui/properties_paint_common.py | |
parent | 0c6103557a185dcc0d14cf336fc96688a108fba2 (diff) |
Fix painting clone ui/rna not working
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_paint_common.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_paint_common.py | 4 |
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") |