Cleanup: Use more python way of checking boolean

This commit is contained in:
Sergey Sharybin
2018-03-22 09:31:33 +01:00
parent 865fbe343a
commit e35f964daa

View File

@@ -302,7 +302,7 @@ class CLIP_OT_bundles_to_mesh(Operator):
matrix = camera.matrix_world * reconstructed_matrix.inverted()
for track in tracking_object.tracks:
if track.has_bundle and track.select == True:
if track.has_bundle and track.select:
new_verts.append(track.bundle)
if new_verts: