Changeset 2211 for trunk/GSASIIplot.py
- Timestamp:
- Apr 13, 2016 3:16:53 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r2209 r2211 1113 1113 RenderDots(HKL,RC) 1114 1114 time0 = time.time() 1115 #if Page.context: Page.canvas.SetCurrent(Page.context) # wx 2.9 fix1115 if Page.context: Page.canvas.SetCurrent(Page.context) # wx 2.9 fix 1116 1116 Page.canvas.SwapBuffers() 1117 1117 … … 4960 4960 G2frame.G2plotNB.status.SetStatusText('New quaternion: %.2f+, %.2fi+ ,%.2fj+, %.2fk'%(Q[0],Q[1],Q[2],Q[3]),1) 4961 4961 Draw('move') 4962 4963 4962 4964 4963 def OnMouseWheel(event): … … 5657 5656 RenderBackbone(Backbone,BackboneColor,bondR) 5658 5657 # print time.time()-time0 5659 #if Page.context: Page.canvas.SetCurrent(Page.context) # wx 2.9 fix5658 if Page.context: Page.canvas.SetCurrent(Page.context) # wx 2.9 fix 5660 5659 Page.canvas.SwapBuffers() 5661 5660 … … 5712 5711 except: 5713 5712 pass 5714 Draw('main')5713 wx.CallAfter(Draw,'main') 5715 5714 if firstCall: Draw('main') # draw twice the first time that graphics are displayed 5716 5715 … … 5964 5963 RenderBonds(x,y,z,Bonds[iat],0.05,color) 5965 5964 RenderLabel(x,y,z,' '+atNames[iat],matRot) 5966 #if Page.context: Page.canvas.SetCurrent(Page.context) # wx 2.9 fix5965 if Page.context: Page.canvas.SetCurrent(Page.context) # wx 2.9 fix 5967 5966 Page.canvas.SwapBuffers() 5968 5967 … … 6350 6349 if Page.labels: 6351 6350 RenderLabel(x,y,z,' '+AtNames[iat],matRot) 6352 #if Page.context: Page.canvas.SetCurrent(Page.context) # wx 2.9 fix6351 if Page.context: Page.canvas.SetCurrent(Page.context) # wx 2.9 fix 6353 6352 Page.canvas.SwapBuffers() 6354 6353
Note: See TracChangeset
for help on using the changeset viewer.