Fix T58635: 2.8 - "3D Markers to Mesh" error.

This commit is contained in:
Bastien Montagne 2018-12-03 20:06:35 +01:00
parent 9637a17856
commit dc26c5e1ad
Notes: blender-bot 2023-02-14 05:53:38 +01:00
Referenced by issue #58635, 2.8 - "3D Markers to Mesh" error
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ class CLIP_OT_bundles_to_mesh(Operator):
if camera:
reconstruction = tracking_object.reconstruction
framenr = scene.frame_current - clip.frame_start + 1
reconstructed_matrix = reconstruction.cameras.matrix_from_frame(framenr)
reconstructed_matrix = reconstruction.cameras.matrix_from_frame(frame=framenr)
matrix = camera.matrix_world @ reconstructed_matrix.inverted()
for track in tracking_object.tracks: