Clip editor: Fix usage of template_marker

Needs an update to the new Python API.

Reported by Sebastian in IRC, thanks!
This commit is contained in:
2018-09-26 11:28:37 +02:00
parent 12c664f7fb
commit b125bd7e0e

View File

@@ -588,7 +588,7 @@ class CLIP_PT_track(CLIP_PT_tracking_panel, Panel):
sub = row.row(align=True)
sub.template_marker(sc, "clip", sc.clip_user, act_track, True)
sub.template_marker(sc, "clip", sc.clip_user, act_track, compact=True)
icon = 'LOCKED' if act_track.lock else 'UNLOCKED'
sub.prop(act_track, "lock", text="", icon=icon)