[Kalzium] Molecular Viewer Bug

Johannes Simon johannes.simon at gmail.com
Sat Aug 25 12:57:30 CEST 2007


Yes, I'm already subscribed to the kalzium mailing list.

> I just had an idea. This is perhaps not a bug in our code, but in 
> OpenBabel. Which exact version are you using? You should use the latest 
> stable (2.1.x), not anything from SVN.
I'm using openbabel 2.1.1.

> Here's the idea: your bug looks like all atoms are painted in black. But 
> libavogadro asks OpenBabel for the color in which to paint atoms. So 
> perhaps the problem is that OpenBabel is always returning black colors. 
> Let's check that.
It indeed only returns black colors. Changing m_red (or m_gree,m_blue,m_alpha)
at the beginning of applyAsMaterials() doesn't make any difference at all.

Joh



More information about the Kalzium mailing list