Skip to content
Snippets Groups Projects
Commit 269e5b28 authored by Ansgar Philippsen's avatar Ansgar Philippsen
Browse files

re-applied lost commit bc3f186d

parent d1d0cb03
No related branches found
No related tags found
No related merge requests found
......@@ -318,7 +318,7 @@ void Surface::Apply(const gfx::GradientLevelColorOp& op, bool store)
for(VMap::const_iterator it=vmap_.begin();it!=vmap_.end();++it) {
mol::AtomHandle ah = sh_.GetVertex(it->first).atom;
if(ah.IsValid()) {
va_.SetColor(it->second,gradient.GetColorAt(normalize(epm.Get(ah),minv,maxv)));
va_.SetColor(it->second,gradient.GetColorAt(normalize(epm.Get(ah,minv),minv,maxv)));
}
}
FlagRefresh();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment