src/dialogs.cpp

changeset 1231
ce0c9f2e6b9c
parent 1222
34def2630300
equal deleted inserted replaced
1230:29dc03eceb5f 1231:ce0c9f2e6b9c
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->renderer()->camera(); 63 ECamera cam = g_win->currentRenderer()->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->renderer()->getOverlay(newcam); 88 LDGLOverlay& info = g_win->currentRenderer()->getOverlay(newcam);
89 RadioDefault<int>(newcam, m_cameraArgs); 89 RadioDefault<int>(newcam, m_cameraArgs);
90 90
91 if (info.img) 91 if (info.img)
92 { 92 {
93 ui->filename->setText(info.fname); 93 ui->filename->setText(info.fname);

mercurial