Changeset 4997 for trunk/GSASIIplot.py
- Timestamp:
- Jul 16, 2021 9:21:10 AM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r4992 r4997 9340 9340 9341 9341 def RenderBonds(x,y,z,Bonds,radius,color,slice=20): 9342 if not len(Bonds): 9343 return 9342 9344 GL.glMaterialfv(GL.GL_FRONT_AND_BACK,GL.GL_DIFFUSE,color) 9343 9345 GL.glPushMatrix() … … 9576 9578 for i,xyz in enumerate(Atoms): 9577 9579 ax,ay,az = xyz 9578 RenderBonds(ax,ay,az,bondData[i],bondR,Color[i]) 9580 if len(bondData[i]): 9581 RenderBonds(ax,ay,az,bondData[i],bondR,Color[i]) 9579 9582 9580 9583 def Draw(caller='',Fade=[],NPkey=False):
Note: See TracChangeset
for help on using the changeset viewer.