提交 d4a7dab1 编写于 作者: Z ZeusJupiter 提交者: GoLancer

Framework: fix issue

上级 24eaeafa
......@@ -27,8 +27,8 @@ PointCloud::PointCloud(int pointCount, int vertexElementCount,
PointCloud::~PointCloud(void) {
if (buffer_) {
delete buffer_;
buffer_ = 0;
delete [] buffer_;
buffer_ = nullptr;
}
}
......
......@@ -46,7 +46,7 @@ void InteractiveGraphicsView::init(void) {
setCursor(Qt::PointingHandCursor);
setRenderHint(QPainter::Antialiasing);
setSceneRect(-INT_MIN / 2, -INT_MIN / 2, INT_MAX, INT_MAX);
setSceneRect(INT_MIN, INT_MIN, INT_MAX, INT_MAX);
centerOn(0, 0);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册