Skip to content
Snippets Groups Projects
Commit d244ff2e authored by leprob001's avatar leprob001
Browse files

The user now gets notified when there are points selected that do not match...

The user now gets notified when there are points selected that do not match the lifetime of a soundsource.
parent 2b1e0eae
No related branches found
No related tags found
No related merge requests found
218
\ No newline at end of file
219
\ No newline at end of file
......@@ -31,13 +31,17 @@ if ~success
end
%% Filter selection by date
selection = artoaWorkspace.editTimeOfArrival.userSelection;
userSelection = artoaWorkspace.editTimeOfArrival.userSelection;
selection = artoa.toa.filterSelectionBySoundsourceLifetime( ...
selection, ...
userSelection, ...
artoaWorkspace.toaData, ...
artoaWorkspace.filteredSoundsources.(soundsources{index}) ...
);
if ~all(userSelection == selection)
msgbox('Some of the selected Points do not match the lifetime of the applied soundsource and have therefore been NOT applied to it!');
end
%% Store
% update sound source of selected points
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment