mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 12:27:14 +02:00
slsDetectorSoftware: users setSettings(-1) gives undefined settings. fixed
This commit is contained in:
@ -2640,6 +2640,9 @@ slsDetectorDefs::detectorSettings slsDetector::setSettings( detectorSettings ise
|
|||||||
std::cout<< "slsDetector setSettings " << isettings << std::endl;
|
std::cout<< "slsDetector setSettings " << isettings << std::endl;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (isettings == -1)
|
||||||
|
return getSettings(imod);
|
||||||
|
|
||||||
detectorType detType = thisDetector->myDetectorType;
|
detectorType detType = thisDetector->myDetectorType;
|
||||||
switch (detType) {
|
switch (detType) {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user