458 |
458 |
459 if (ok) |
459 if (ok) |
460 g_win->R ()->setDepthValue (depth); |
460 g_win->R ()->setDepthValue (depth); |
461 } |
461 } |
462 |
462 |
|
463 #ifndef RELEASE |
|
464 // This is a test to draw a dummy axle. Meant to be used as a primitive gallery, |
|
465 // but I can't figure how to generate these pictures properly. Multi-threading |
|
466 // these is an immense pain. |
463 MAKE_ACTION (testpic, "Test picture", "", "", (0)) { |
467 MAKE_ACTION (testpic, "Test picture", "", "", (0)) { |
464 LDOpenFile* file = getFile ("axle.dat"); |
468 LDOpenFile* file = getFile ("axle.dat"); |
465 setlocale (LC_ALL, "C"); |
469 setlocale (LC_ALL, "C"); |
466 |
470 |
467 if (!file) { |
471 if (!file) { |