src/gl/partrenderer.h

changeset 340
e17e07661f4c
parent 338
719b909a7d2b
child 359
73b6c478378e
--- a/src/gl/partrenderer.h	Sat Jul 23 01:38:06 2022 +0300
+++ b/src/gl/partrenderer.h	Sat Jul 23 01:38:43 2022 +0300
@@ -9,7 +9,7 @@
 class PartRenderer final : public QOpenGLWidget
 {
 	Q_OBJECT
-	Model* const model;
+	QTextDocument* const model;
 	DocumentManager* const documents;
 	const ColorTable& colorTable;
 	BoundingBox boundingBox;
@@ -32,7 +32,7 @@
 	bool frozen = false;
 public:
 	PartRenderer(
-		Model* model,
+		QTextDocument* model,
 		DocumentManager* documents,
 		const ColorTable& colorTable,
 		QWidget* parent = nullptr);

mercurial