src/gl/partrenderer.cpp

changeset 200
ca23936b455b
parent 199
6988973515d2
child 201
5d201ee4a9c3
--- a/src/gl/partrenderer.cpp	Wed May 25 20:36:34 2022 +0300
+++ b/src/gl/partrenderer.cpp	Mon Jun 06 22:01:22 2022 +0300
@@ -25,6 +25,7 @@
 #include "geometry.h"
 #include "partrenderer.h"
 #include "model.h"
+#include "gl/compiler.h"
 
 static constexpr double MIN_ZOOM = -3.0;
 static constexpr double MAX_ZOOM = 3.0;
@@ -352,7 +353,7 @@
 		viewportVector);
 }
 
-ldraw::id_t PartRenderer::pick(QPoint where)
+ModelId PartRenderer::pick(QPoint where)
 {
 	// y is flipped, take that into account
 	where.setY(this->height() - where.y());
@@ -402,7 +403,7 @@
 /**
  * @return the currently highlighted object
  */
-ldraw::id_t PartRenderer::getHighlightedObject() const
+ModelId PartRenderer::getHighlightedObject() const
 {
 	return this->highlighted;
 }

mercurial