Add auto focal length for perspective in editor
If the focal length and/or crop factor for the camera-based perspective correction tool are not edited, they will be set using the focal length information found in the image metadata. This only applies to the editor (batch editor and CLI still default to 24 for the focal length and 1 for the crop factor).
This commit is contained in:
@@ -615,6 +615,7 @@ void ToolPanelCoordinator::initImage (rtengine::StagedImageProcessor* ipc_, bool
|
||||
|
||||
icm->setRawMeta (raw, (const rtengine::FramesData*)pMetaData);
|
||||
lensProf->setRawMeta (raw, pMetaData);
|
||||
perspective->setMetadata (pMetaData);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user