Changeset 1381 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Jun 12, 2014 9:51:15 PM (9 years ago)
Author:
toby
Message:

fix blank initial GL window for structure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r1379 r1381  
    32073207################################################################################
    32083208           
    3209 def PlotStructure(G2frame,data):
     3209def PlotStructure(G2frame,data,firstCall=False):
    32103210    '''Crystal structure plotting package. Can show structures as balls, sticks, lines,
    32113211    thermal motion ellipsoids and polyhedra
     
    41394139        Draw('focus')
    41404140       
     4141    # PlotStructure execution starts here
    41414142    try:
    41424143        plotNum = G2frame.G2plotNB.plotList.index(generalData['Name'])
     
    41764177        pass
    41774178    Draw('main')
    4178        
     4179    if firstCall: Draw('main') # draw twice the first time that graphics are displayed
     4180
    41794181################################################################################
    41804182#### Plot Rigid Body
Note: See TracChangeset for help on using the changeset viewer.