git-svn-id: svn://db.shs.com.ru/libs@649 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -88,6 +88,7 @@ QGLViewWindow::QGLViewWindow(QWidget * parent): QMainWindow(parent), Ui::QGLView
|
||||
//connect(matEditor, SIGNAL(changed()), this, SLOT(materialChanged()));
|
||||
sceneTree->assignQGLView(view->view());
|
||||
matEditor->assignQGLView(view->view());
|
||||
objectEditor->assignQGLView(view->view());
|
||||
|
||||
session.load();
|
||||
|
||||
@@ -153,7 +154,6 @@ void QGLViewWindow::loadFile(const QString & path, bool import) {
|
||||
|
||||
void QGLViewWindow::selectionChanged() {
|
||||
ObjectBase * sel_obj = view->view()->selectedObject();
|
||||
//qDebug() << "selected" << (sel_obj ? sel_obj->name() : "0");
|
||||
labelName->setText(sel_obj ? sel_obj->name() : "");
|
||||
/**if (cur == 0) box->hide();
|
||||
else {
|
||||
@@ -165,7 +165,6 @@ void QGLViewWindow::selectionChanged() {
|
||||
cur->addChild(box);
|
||||
box->show();
|
||||
}*/
|
||||
objectEditor->setObject(sel_obj);
|
||||
//qDebug() << sel_obj->boundingBox();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user