Changeset 4501
- Timestamp:
- Jun 20, 2020 10:37:16 AM (3 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIphsGUI.py
r4500 r4501 7369 7369 if 'Voids' not in drawingData: 7370 7370 drawingData['Voids'] = [] 7371 drawin Data['showVoids'] = False7371 drawingData['showVoids'] = False 7372 7372 drawingData['showMap'] = False 7373 7373 cx,ct,cs,ci = [0,0,0,0] -
trunk/GSASIIplot.py
r4499 r4501 9189 9189 elif atom[cs+1] == 'chain' and atom[ct-1] in ['CA','CA A']: 9190 9190 RenderLabel(x,y,z,' '+atom[ct-2],radius,wxGreen,matRot) 9191 # glDisable(GL_BLEND)9192 9191 if not FourD and len(rhoXYZ) and drawingData['showMap']: #no green dot map for 4D - it's wrong! 9193 9192 RenderMap(rho,rhoXYZ,indx,Rok) … … 9255 9254 Backbone = Backbones[chain] 9256 9255 RenderBackbone(Backbone,BackboneColor,bondR) 9257 if drawingData.get('showSlice',False): 9256 if drawingData['showVoids']: 9257 for x,y,z in drawingData['Voids']: 9258 RenderFadeSphere(x,y,z,.05,(0.,0.,1.)) 9259 if drawingData.get('showSlice',False): #must be done last to properly show things behind as faded 9258 9260 global contourSet,Zslice 9259 9261 if len(D4mapData.get('rho',[])): #preferentially select 4D map if there … … 9297 9299 # agg = canvas.switch_backends(Canvas) 9298 9300 RenderViewPlane(msize*eplane,Zimg,width,height) 9299 if drawingData['showVoids']:9300 for x,y,z in drawingData['Voids']:9301 RenderFadeSphere(x,y,z,.05,(0.,0.,1.))9302 9301 try: 9303 9302 if Page.context: Page.canvas.SetCurrent(Page.context)
Note: See TracChangeset
for help on using the changeset viewer.