From 70376154a0b09dc05fcc5bd79c33fdf7c6acbd9a Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 13 Oct 2021 18:47:31 +0200 Subject: Fix Cycles Python error with pinned materials in properties editor --- intern/cycles/blender/addon/ui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'intern/cycles/blender/addon/ui.py') diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index 55782088444..598f6f083ac 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -981,8 +981,8 @@ class CYCLES_PT_context_material(CyclesButtonsPanel, Panel): row.prop(slot, "link", text="", icon=icon_link, icon_only=True) elif mat: - split.template_ID(space, "pin_id") - split.separator() + layout.template_ID(space, "pin_id") + layout.separator() class CYCLES_OBJECT_PT_motion_blur(CyclesButtonsPanel, Panel): -- cgit v1.2.3