src/gl/partrenderer.cpp

changeset 309
d862721d19a3
parent 291
42b4953dff85
child 311
fab454611f9b
--- a/src/gl/partrenderer.cpp	Wed Jun 29 16:21:44 2022 +0300
+++ b/src/gl/partrenderer.cpp	Wed Jun 29 16:33:49 2022 +0300
@@ -432,7 +432,7 @@
 		viewportVector);
 }
 
-ModelId PartRenderer::pick(QPoint where)
+ElementId PartRenderer::pick(QPoint where)
 {
 	// y is flipped, take that into account
 	where.setY(this->height() - where.y());
@@ -489,7 +489,7 @@
 	return this->highlighted;
 }
 
-void PartRenderer::setSelection(const QSet<ModelId>& selection)
+void PartRenderer::setSelection(const QSet<ElementId>& selection)
 {
 	Q_ASSERT(not selection.contains({0}));
 	gl::setModelShaderSelectedObjects(&this->shaders, selection);

mercurial