Changeset 478


Ignore:
Timestamp:
Feb 10, 2012 10:20:53 AM (12 years ago)
Author:
vondreele
Message:

spelling error!
reduce unneeded Draw() commands in structure plotting. Might help Linux graphics a bit.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIgrid.py

    r468 r478  
    362362            id=wxID_IMCALIBRATE, kind=wx.ITEM_NORMAL,text='Calibrate')
    363363        self.ImageEdit.Append(help='Recalibrate detector by fitting to calibrant lines',
    364             id=wxID_IMRECALIBRATE, kind=wx.ITEM_NORMAL,text='Realibrate')
     364            id=wxID_IMRECALIBRATE, kind=wx.ITEM_NORMAL,text='Recalibrate')
    365365        self.ImageEdit.Append(help='Clear calibration data points and rings',id=wxID_IMCLEARCALIB,
    366366            kind=wx.ITEM_NORMAL,text='Clear calibration')
  • trunk/GSASIIplot.py

    r477 r478  
    22312231            x,y,z = drawingData['testPos'][0]
    22322232            G2frame.G2plotNB.status.SetStatusText('moving test point %.4f,%.4f,%.4f'%(x,y,z),1)
     2233            Draw()
    22332234                               
    22342235        if event.Dragging() and not event.ControlDown():
     
    22452246                angX,angY,angZ = drawingData['Rotation'][:3]
    22462247                G2frame.G2plotNB.status.SetStatusText('New rotation: %.2f, %.2f, %.2f'%(angX,angY,angZ),1)
    2247         Draw()
     2248            Draw()
    22482249       
    22492250    def OnMouseWheel(event):
     
    22602261                panel[names.index('cameraPos')].SetLabel('Camera Position: '+'%.2f'%(drawingData['cameraPos']))
    22612262                panel[names.index('cameraSlider')].SetValue(drawingData['cameraPos'])
    2262         Draw()
     2263            Draw()
    22632264       
    22642265    def getSelection():
     
    23332334            drawingData['viewPoint'] = [[Tx,Ty,Tz],pI]
    23342335            SetViewPointText(drawingData['viewPoint'][0])
     2336            G2frame.G2plotNB.status.SetStatusText('View point at atom '+drawAtoms[pI[0]][ct-1]+str(pI),1)
    23352337               
    23362338        elif key in ['p','P']:
     
    23502352            drawingData['viewPoint'] = [[Tx,Ty,Tz],pI]
    23512353            SetViewPointText(drawingData['viewPoint'][0])           
     2354            G2frame.G2plotNB.status.SetStatusText('View point at atom '+drawAtoms[pI[0]][ct-1]+str(pI),1)
    23522355        Draw()
    23532356           
Note: See TracChangeset for help on using the changeset viewer.