58 { ui->back, EBackCamera }, |
58 { ui->back, EBackCamera }, |
59 { ui->left, ELeftCamera }, |
59 { ui->left, ELeftCamera }, |
60 { ui->right, ERightCamera } |
60 { ui->right, ERightCamera } |
61 }; |
61 }; |
62 |
62 |
63 ECamera cam = g_win->R()->camera(); |
63 ECamera cam = g_win->renderer()->camera(); |
64 |
64 |
65 if (cam == EFreeCamera) |
65 if (cam == EFreeCamera) |
66 cam = ETopCamera; |
66 cam = ETopCamera; |
67 |
67 |
68 connect (ui->width, SIGNAL (valueChanged (double)), this, SLOT (slot_dimensionsChanged())); |
68 connect (ui->width, SIGNAL (valueChanged (double)), this, SLOT (slot_dimensionsChanged())); |
83 |
83 |
84 // ============================================================================= |
84 // ============================================================================= |
85 // ============================================================================= |
85 // ============================================================================= |
86 void OverlayDialog::fillDefaults (int newcam) |
86 void OverlayDialog::fillDefaults (int newcam) |
87 { |
87 { |
88 LDGLOverlay& info = g_win->R()->getOverlay (newcam); |
88 LDGLOverlay& info = g_win->renderer()->getOverlay (newcam); |
89 RadioDefault<int> (newcam, m_cameraArgs); |
89 RadioDefault<int> (newcam, m_cameraArgs); |
90 |
90 |
91 if (info.img != null) |
91 if (info.img != null) |
92 { |
92 { |
93 ui->filename->setText (info.fname); |
93 ui->filename->setText (info.fname); |