mirror of https://github.com/CGAL/cgal
Fix for alpha values
This commit is contained in:
parent
b8ecd34eb5
commit
3dfa4cb2c4
|
|
@ -570,6 +570,8 @@ public:
|
||||||
else
|
else
|
||||||
rgb[index] = static_cast<unsigned char>(atoi(color_info.c_str()));
|
rgb[index] = static_cast<unsigned char>(atoi(color_info.c_str()));
|
||||||
index++;
|
index++;
|
||||||
|
if(index == 3)
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
CGAL::Color color;
|
CGAL::Color color;
|
||||||
//if there were only one number, fetch the color in the color map
|
//if there were only one number, fetch the color in the color map
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue