mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Color table. Fixed bug
This commit is contained in:
parent
5d672356d2
commit
ca56454acb
@ -95,7 +95,7 @@ cvf::Color3fArray ColorTable::color3fArray() const
|
||||
{
|
||||
cvf::Color3fArray col3fArr;
|
||||
|
||||
col3fArr.resize(m_colors.size());
|
||||
col3fArr.reserve(m_colors.size());
|
||||
for (const auto& c : m_colors)
|
||||
{
|
||||
col3fArr.add(cvf::Color3f(c));
|
||||
|
Loading…
Reference in New Issue
Block a user