mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-08 04:00:44 +00:00
Qt5 fix: Mac bindtexture crash, snapshot graph is supposed to be invisible
This commit is contained in:
parent
0a7edfa2dd
commit
729e3d198a
@ -3284,7 +3284,7 @@ void gGraphView::setCubeImage(QImage *img)
|
|||||||
cubeimg.clear();
|
cubeimg.clear();
|
||||||
cubeimg.push_back(img);
|
cubeimg.push_back(img);
|
||||||
|
|
||||||
cubetex=bindTexture(*img);
|
//cubetex=bindTexture(*img);
|
||||||
glBindTexture(GL_TEXTURE_2D,0);
|
glBindTexture(GL_TEXTURE_2D,0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ Daily::Daily(QWidget *parent,gGraphView * shared)
|
|||||||
GraphView=new gGraphView(ui->graphMainArea,shared);
|
GraphView=new gGraphView(ui->graphMainArea,shared);
|
||||||
GraphView->setSizePolicy(QSizePolicy::Expanding,QSizePolicy::Expanding);
|
GraphView->setSizePolicy(QSizePolicy::Expanding,QSizePolicy::Expanding);
|
||||||
|
|
||||||
snapGV=new gGraphView(ui->graphMainArea);
|
snapGV=new gGraphView(GraphView); //ui->graphMainArea);
|
||||||
snapGV->setMinimumSize(172,172);
|
snapGV->setMinimumSize(172,172);
|
||||||
snapGV->hideSplitter();
|
snapGV->hideSplitter();
|
||||||
snapGV->hide();
|
snapGV->hide();
|
||||||
|
Loading…
Reference in New Issue
Block a user