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 committed by Bastien Montagne
parent ad7385422e
commit 333ef6e6f7
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,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: