Changeset 1996 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Oct 9, 2015 2:57:18 PM (6 years ago)
Author:
vondreele
Message:

fix Fade problem
ModulationDeriv? work
twin sf error fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r1993 r1996  
    50505050        glShadeModel(GL_SMOOTH)
    50515051                           
    5052     def Draw(caller='',Fade=None):
     5052    def Draw(caller='',Fade=[]):
    50535053#useful debug?       
    50545054#        if caller:
     
    50625062            pageName = G2frame.dataDisplay.GetPageText(page)
    50635063        rhoXYZ = []
     5064        rho = []
    50645065        if len(D4mapData.get('rho',[])):        #preferentially select 4D map if there
    50655066            rho = D4mapData['rho'][:,:,:,int(G2frame.tau*10)]   #pick current tau 3D slice
     
    51295130#        glEnable(GL_BLEND)
    51305131#        glBlendFunc(GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA)
    5131         if Fade == None:
     5132        if not len(Fade):
    51325133            atmFade = np.ones(len(drawingData['Atoms']))
    51335134        else:
Note: See TracChangeset for help on using the changeset viewer.