Can you please explain what the checkbox is under the Reference panel and for Yaw and why it has a checkbox next to it?
Sometimes it is 'unchecked', which seems to cause the Yaw value to be ignored during photo alignment. Is there a pattern for when photos are loaded checked/unchecked, and is there a way to verify this in the python API?