[Bf-blender-cvs] [b125bd7e0e0] blender2.8: Clip editor: Fix usage of template_marker

Sergey Sharybin noreply at git.blender.org
Wed Sep 26 11:29:26 CEST 2018


Commit: b125bd7e0e060212f47a33bcbd8d6e5ce2632c00
Author: Sergey Sharybin
Date:   Wed Sep 26 11:28:37 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBb125bd7e0e060212f47a33bcbd8d6e5ce2632c00

Clip editor: Fix usage of template_marker

Needs an update to the new Python API.

Reported by Sebastian in IRC, thanks!

===================================================================

M	release/scripts/startup/bl_ui/space_clip.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/space_clip.py b/release/scripts/startup/bl_ui/space_clip.py
index e0d07f05a72..0a2207019eb 100644
--- a/release/scripts/startup/bl_ui/space_clip.py
+++ b/release/scripts/startup/bl_ui/space_clip.py
@@ -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)



More information about the Bf-blender-cvs mailing list