Frame matching methods for follow track constraint
This is needed in cases when using blender camera with different resolution than original footage. Behaves in the same way as background picture framing.
This commit is contained in:
@@ -773,16 +773,21 @@ class ConstraintButtonsPanel():
|
||||
row.prop(con, "use_active_clip")
|
||||
row.prop(con, "use_3d_position")
|
||||
|
||||
col = layout.column()
|
||||
|
||||
if not con.use_active_clip:
|
||||
layout.prop(con, "clip")
|
||||
col.prop(con, "clip")
|
||||
|
||||
row = col.row()
|
||||
row.prop(con, "frame_method", expand=True)
|
||||
|
||||
if clip:
|
||||
layout.prop_search(con, "object", clip.tracking, "objects", icon='OBJECT_DATA')
|
||||
layout.prop_search(con, "track", clip.tracking, "tracks", icon='ANIM_DATA')
|
||||
col.prop_search(con, "object", clip.tracking, "objects", icon='OBJECT_DATA')
|
||||
col.prop_search(con, "track", clip.tracking, "tracks", icon='ANIM_DATA')
|
||||
|
||||
layout.prop(con, "camera")
|
||||
col.prop(con, "camera")
|
||||
|
||||
row = layout.row()
|
||||
row = col.row()
|
||||
row.active = not con.use_3d_position
|
||||
row.prop(con, "depth_object")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user