Hi Lukas,

this was a bug which is fixed in SVN revision 4072.

Cheers,
  Thomas

On 12 Mar 2014, at 05:07, Lukáš Pravda <xpra...@ncbr.muni.cz> wrote:
> Dear PyMOL users,
>  
> I’m wondering about coloring CGO objects in PyMOL. In the recent version 1.7. 
> If ALPHA is specified for a cgo object, all the colors are neglected. In 
> version 1.6 and previous everything works just fine. Is this a bug, an 
> intension or am I missing a point somewhere? Let’s take a following piece of 
> code. It provides correct colorful triangle, only in the case ‘ALPHA’ line is 
> omitted for version of PyMOL 1.7+ (I’m running Windows).
>  
> data = [
>   BEGIN,TRIANGLES,
>   ALPHA,1.0,
>   COLOR,1.00,0.30,0.30,
>   NORMAL,-0.997,-0.057,-0.051,
>   VERTEX,52.083,62.446,50.739,
>   COLOR,0.6,0.60,0.10,
>   NORMAL,-0.999,-0.009,-0.044,
>   VERTEX,52.048,63.219,50.739,
>   COLOR,1.000,0.567,0.567,
>   NORMAL,-0.998,-0.059,0.024,
>   VERTEX,52.076,62.446,51.498,
>   COLOR,0.600,0.2,0.2,
>   END
> ]
> cmd.load_cgo(data,'triangle')
>  
> Thank you for your answer
>  
> Lukas

-- 
Thomas Holder
PyMOL Developer
Schrödinger, Inc.


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to