Fix T58635: 2.8 - "3D Markers to Mesh" error.
authorBastien Montagne <montagne29@wanadoo.fr>
Mon, 3 Dec 2018 19:06:35 +0000 (20:06 +0100)
committerBastien Montagne <montagne29@wanadoo.fr>
Mon, 3 Dec 2018 19:06:50 +0000 (20:06 +0100)
release/scripts/startup/bl_operators/clip.py

index 74b3e420cdfc9329980bf77e9f591183a3238c9a..df8f2d1c089979f6669eaf7db571f230ba938ac2 100644 (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: