aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio
diff options
context:
space:
mode:
authorMirta <mirta@twine-s.com>2022-12-01 16:15:23 +0200
committerMirta <mirta@twine-s.com>2022-12-01 16:15:23 +0200
commitac51428de0cf381beae9f94db62efb09372bfdee (patch)
tree2a1ba1de1e07b12804eebe41548a9f6550db582d /Software/Visual_Studio
parentdbce1a6042c49c09ca370339a91ca5472c37477f (diff)
downloadTango-ac51428de0cf381beae9f94db62efb09372bfdee.tar.gz
Tango-ac51428de0cf381beae9f94db62efb09372bfdee.zip
Fixed bug in Ink Rounding
Diffstat (limited to 'Software/Visual_Studio')
-rw-r--r--Software/Visual_Studio/ColorLib/Tango.ColorLib_v6/ColorConverter.cpp4
-rw-r--r--Software/Visual_Studio/ColorLib/Tango.ColorLib_v6/ColorConverter.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/Software/Visual_Studio/ColorLib/Tango.ColorLib_v6/ColorConverter.cpp b/Software/Visual_Studio/ColorLib/Tango.ColorLib_v6/ColorConverter.cpp
index 2b80c3e21..30870a983 100644
--- a/Software/Visual_Studio/ColorLib/Tango.ColorLib_v6/ColorConverter.cpp
+++ b/Software/Visual_Studio/ColorLib/Tango.ColorLib_v6/ColorConverter.cpp
@@ -4963,8 +4963,8 @@ void Tango::ColorLib::ColorConverter::DefineSplitLimits(double &low, double &hi
//Set Limits
//1st Region
double lim1 = 0;
- double lim2 = m_CurrentProcessRangesMax[0];
- double lim3 = m_CurrentProcessRangesMin[0];
+ double lim2 = m_CurrentProcessRangesMin[0];
+ double lim3 = m_CurrentProcessRangesMax[0];
int ProcessRangeInd = 0;
//Regions 1 to n-1
for (int iReg = 0; iReg < m_nProcessRanges - 1; ++iReg)
diff --git a/Software/Visual_Studio/ColorLib/Tango.ColorLib_v6/ColorConverter.h b/Software/Visual_Studio/ColorLib/Tango.ColorLib_v6/ColorConverter.h
index ba32fa44e..ee247eac4 100644
--- a/Software/Visual_Studio/ColorLib/Tango.ColorLib_v6/ColorConverter.h
+++ b/Software/Visual_Studio/ColorLib/Tango.ColorLib_v6/ColorConverter.h
@@ -138,6 +138,8 @@ namespace Tango
// bool m_AdaptWP;
CalibData *m_CalibCurves;
//ForwardModel *m_forwardmodel;
+ bool m_has_forfinetuning;
+ bool m_forfinetuning;
int m_nInks;
int m_nVolumes;
//double *m_ProcessRangesMaxInkUptake;