diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-10-13 19:47:31 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-10-15 16:42:44 +0300 |
commit | 70376154a0b09dc05fcc5bd79c33fdf7c6acbd9a (patch) | |
tree | 13c9cd619b20a6891ab306e5c2fe92adc69c3b71 /intern/cycles/blender | |
parent | 53f25df5bcc59dbaee085d3a319df2a685b67d1a (diff) |
Fix Cycles Python error with pinned materials in properties editor
Diffstat (limited to 'intern/cycles/blender')
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 4 |
1 files changed, 2 insertions, 2 deletions
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): |