Page MenuHome

Fix T90651: camera reconstruction crash without scene camera
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Aug 16 2021, 5:39 PM.

Details

Summary

This was working differently in 2.79, tried tracking this down and it
seems this was wrong since the 2.8 beginning in rB7907dfc40018: Motion Tracking Reconstruction Viewport Drawing (T51544).

This would not only crash without an active scene camera, but would also
result in different tracks from different camera's constraints not being selectable.

So select id depends on corresponding camera, remove the dependency on
scene camera completely.

Diff Detail

Repository
rB Blender
Branch
T90651 (branched from master)
Build Status
Buildable 16448
Build 16448: arc lint + arc unit

Event Timeline

Philipp Oeser (lichtwerk) requested review of this revision.Aug 16 2021, 5:39 PM
Philipp Oeser (lichtwerk) created this revision.

To me the change looks correct. Marking Dalai and Jeroen as blocking to give them a chance to review from the draw manager side.

Nothin against a change. I recall that this was always flaky. So currently when selecting a track it belongs to the object and not the camera anymore. Remember a ticket when having multiple cameras the trackers were not selectable. D6360: Tracking: Selection Crash

Would want to test drive this patch to see if there is unwanted behavior.

It seems correct to me. The logic and the faulty assumptions in the original commit. I will let Jeroen have the final word if he wants to stress test it, but honestly I can't see this going bad.

I didn't find anything functional incorrect during testing so accepting.

This revision is now accepted and ready to land.Aug 23 2021, 12:07 PM