Local adjustments - Fix apply/paste actions with LA
- Fixes LA lost when applying partial profile (fixes #6150) - Fixes LA behavior when using apply/paste actions: spots are now totally replaced and not anymore merged (fixes #6136 and #6411) - Fixes a crash in specific situations when saving/copying a partial number of spots - Partial paste dialog: Fixes Locallab button remaining inconsistent if all the spots are deselected
This commit is contained in:
@@ -496,6 +496,12 @@ void ProfilePanel::load_clicked (GdkEventButton* event)
|
||||
custom->pedited->locallab.spots.clear();
|
||||
}
|
||||
|
||||
// For each Locallab spot, loaded profile pp only contains activated tools params
|
||||
// Missing tool params in pe shall be also set to true to avoid a "spot merge" issue
|
||||
for (int i = 0; i < (int)pe.locallab.spots.size(); i++) {
|
||||
pe.locallab.spots.at(i).set(true);
|
||||
}
|
||||
|
||||
custom->set(true);
|
||||
|
||||
bool prevState = changeconn.block(true);
|
||||
|
||||
Reference in New Issue
Block a user