Correctly apply Local adjustments when loading a pp3 profile

This commit is contained in:
Thanatomanic 2021-02-28 11:13:21 +01:00
parent 7a4ad241a2
commit 09441c7e54

View File

@ -531,6 +531,9 @@ void ProfilePanel::load_clicked (GdkEventButton* event)
if (!fillMode->get_active()) {
*custom->pedited = pe;
} else {
// Resize custom->pedited to be compliant with pe spot size
custom->pedited->locallab.spots.resize(pe.locallab.spots.size(), LocallabParamsEdited::LocallabSpotEdited(true));
}
}