Rev 646 | Rev 649 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 646 | Rev 647 | ||
---|---|---|---|
Line 404... | Line 404... | ||
404 | {
|
404 | {
|
405 | if (mViewerWindow) |
405 | if (mViewerWindow) |
406 | mViewerWindow->setViewport(center_point, scale_px_per_m); |
406 | mViewerWindow->setViewport(center_point, scale_px_per_m); |
407 | }
|
407 | }
|
408 | 408 | ||
409 | void ModelController::addLayers(const LayeredGridBase *layers) |
- | |
- | 409 | void ModelController::addLayers(const LayeredGridBase *layers, const QString &name) |
|
410 | {
|
410 | {
|
411 | qDebug() << layers->names(); |
- | |
- | 411 | if (mViewerWindow) |
|
- | 412 | mViewerWindow->addLayers(layers, name); |
|
- | 413 | //qDebug() << layers->names();
|
|
412 | }
|
414 | }
|
413 | 415 | ||
414 | 416 |