Tracking: Create mesh from selected tracks only

Patch by Sebastian Koenig. thanks!
This commit is contained in:
Sergey Sharybin
2017-10-31 14:01:44 +01:00
parent 46963f359d
commit f1c7243376

View File

@@ -303,7 +303,7 @@ class CLIP_OT_bundles_to_mesh(Operator):
mesh = bpy.data.meshes.new(name="Tracks")
for track in tracking_object.tracks:
if track.has_bundle:
if track.has_bundle and track.select == True:
new_verts.append(track.bundle)
if new_verts: