Changeset 483 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Feb 14, 2012 1:59:51 PM (10 years ago)
Author:
vondreele
Message:

changes to eliminate wx objects (Colour & Point) from being saved in the gpx file
finish saving of selected sequential refinement results

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r478 r483  
    22142214                GetTruePosition(xy,True)
    22152215        else:
    2216             drawingData['Rotation'][3] = xy
     2216            drawingData['Rotation'][3] = list(xy)
    22172217        Draw()
    22182218       
     
    23802380        Ty += dxy[1]*0.01
    23812381        Tz -= dxy[2]*0.01
    2382         drawingData['Rotation'][3] = newxy
     2382        drawingData['Rotation'][3] = list(newxy)
    23832383        drawingData['viewPoint'][0] =  Tx,Ty,Tz
    23842384        SetViewPointText([Tx,Ty,Tz])
     
    23952395        Ty -= dxy[1]*0.001
    23962396        Tz += dxy[2]*0.001
    2397         drawingData['Rotation'][3] = newxy
     2397        drawingData['Rotation'][3] = list(newxy)
    23982398        drawingData['testPos'][0] =  Tx,Ty,Tz
    23992399       
     
    24362436        angley += dxy[0]*.25
    24372437        oldxy = newxy
    2438         drawingData['Rotation'] = [anglex,angley,anglez,oldxy]
     2438        drawingData['Rotation'] = [anglex,angley,anglez,list(oldxy)]
    24392439       
    24402440    def SetRotationZ(newxy):                       
     
    24432443        anglez += (dxy[0]+dxy[1])*.25
    24442444        oldxy = newxy
    2445         drawingData['Rotation'] = [anglex,angley,anglez,oldxy]
     2445        drawingData['Rotation'] = [anglex,angley,anglez,list(oldxy)]
    24462446       
    24472447    def RenderBox():
Note: See TracChangeset for help on using the changeset viewer.