Changeset 1996 for trunk/GSASIIplot.py
- Timestamp:
- Oct 9, 2015 2:57:18 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r1993 r1996 5050 5050 glShadeModel(GL_SMOOTH) 5051 5051 5052 def Draw(caller='',Fade= None):5052 def Draw(caller='',Fade=[]): 5053 5053 #useful debug? 5054 5054 # if caller: … … 5062 5062 pageName = G2frame.dataDisplay.GetPageText(page) 5063 5063 rhoXYZ = [] 5064 rho = [] 5064 5065 if len(D4mapData.get('rho',[])): #preferentially select 4D map if there 5065 5066 rho = D4mapData['rho'][:,:,:,int(G2frame.tau*10)] #pick current tau 3D slice … … 5129 5130 # glEnable(GL_BLEND) 5130 5131 # glBlendFunc(GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA) 5131 if Fade == None:5132 if not len(Fade): 5132 5133 atmFade = np.ones(len(drawingData['Atoms'])) 5133 5134 else:
Note: See TracChangeset
for help on using the changeset viewer.