mirror of https://github.com/CGAL/cgal
Mesh_3 fix post merge
This commit is contained in:
parent
8ab112f5bd
commit
0a55b1399e
|
|
@ -117,7 +117,7 @@ private:
|
|||
void compile_shaders();
|
||||
void compute_texture(int, int);
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void changed();
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ private:
|
|||
void attrib_buffers(QGLViewer*) const;
|
||||
void compile_shaders();
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void changed();
|
||||
|
||||
}; // end class Scene_polygon_soup
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ private:
|
|||
void attrib_buffers(QGLViewer*) const;
|
||||
void compile_shaders();
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void changed();
|
||||
|
||||
}; // end class Scene_polyhedron_item
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ private:
|
|||
void attrib_buffers(QGLViewer*) const;
|
||||
void compile_shaders();
|
||||
void draw_Bbox(Bbox bbox, std::vector<float> *vertices);
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void changed();
|
||||
#endif // SCENE_SEGMENTED_IMAGE_GL_BUFFERS_AVAILABLE
|
||||
};
|
||||
|
|
|
|||
|
|
@ -54,23 +54,18 @@ Scene::erase(int index)
|
|||
return -1;
|
||||
|
||||
Scene_item* item = entries[index];
|
||||
<<<<<<< HEAD
|
||||
|
||||
#if QT_VERSION >= 0x050000
|
||||
QAbstractListModel::beginResetModel();
|
||||
emit itemAboutToBeDestroyed(item);
|
||||
Q_EMIT itemAboutToBeDestroyed(item);
|
||||
delete item;
|
||||
entries.removeAt(index);
|
||||
|
||||
selected_item = -1;
|
||||
emit updated();
|
||||
Q_EMIT updated();
|
||||
QAbstractListModel::endResetModel();
|
||||
#else
|
||||
|
||||
emit itemAboutToBeDestroyed(item);
|
||||
=======
|
||||
Q_EMIT itemAboutToBeDestroyed(item);
|
||||
>>>>>>> cgal/master
|
||||
delete item;
|
||||
entries.removeAt(index);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue