Add improved copy/paste or save/load for Locallab spots
Preliminary work: "nbspot" and "id" spot parameters have been removed to simplify Locallab spots management.
This commit is contained in:
@@ -1752,7 +1752,7 @@ void EditorPanel::procParamsChanged (Thumbnail* thm, int whoChangedIt)
|
||||
PartialProfile pp (true);
|
||||
pp.set (true);
|
||||
* (pp.pparams) = openThm->getProcParams();
|
||||
pp.pedited->locallab.spots.resize(pp.pparams->locallab.nbspot, new LocallabParamsEdited::LocallabSpotEdited(true));
|
||||
pp.pedited->locallab.spots.resize(pp.pparams->locallab.spots.size(), new LocallabParamsEdited::LocallabSpotEdited(true));
|
||||
tpc->profileChange (&pp, rtengine::EvProfileChangeNotification, M ("PROGRESSDLG_PROFILECHANGEDINBROWSER"));
|
||||
pp.deleteInstance();
|
||||
}
|
||||
|
Reference in New Issue
Block a user