Changeset 31
- Timestamp:
- 09/24/07 20:25:51 (1 year ago)
- Files:
-
- mactorii.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
mactorii.py
r30 r31 331 331 global fps_display 332 332 global display_picture 333 334 # first thing, load baselines335 for baseline in config.baselines:336 load_baseline(baseline)337 333 338 334 # order is important here. window_setup must be setup first! Likewise with font … … 373 369 win.set_visible() 374 370 unloaded = list(files) 371 unloaded_baselines = list(config.baselines) 375 372 376 373 while not win.has_exit: … … 379 376 glClear(GL_COLOR_BUFFER_BIT) 380 377 378 if len(unloaded_baselines) > 0: 379 f = unloaded_baselines.pop() 380 str = "|||||"*len(unloaded_baselines) 381 t = font.Text(ft, str, 0, config.text_yoffset) 382 t.draw() 383 win.flip() 384 385 load_baseline(f) 386 continue 387 381 388 if len(unloaded) > 0: 382 389 f = unloaded.pop() … … 384 391 t = font.Text(ft, str, 0, config.text_yoffset) 385 392 t.draw() 386 win.flip() 393 #win.flip() 394 387 395 load_file(f) 388 396 389 if len(unloaded) == 0:390 update_renderables()391 continue397 #if len(unloaded) == 0: 398 update_renderables() 399 #continue 392 400 393 401 if display_picture != None:
