--- a/src/gl/compiler.cpp Wed Jun 29 16:21:44 2022 +0300 +++ b/src/gl/compiler.cpp Wed Jun 29 16:33:49 2022 +0300 @@ -309,7 +309,7 @@ } } -ModelId gl::idFromUcharColor(const std::array<GLubyte, 3>& data) +ElementId gl::idFromUcharColor(const std::array<GLubyte, 3>& data) { return { static_cast<std::int32_t>(data[0]) | @@ -332,7 +332,7 @@ shaderObject.vertexArray.release(); } -void gl::setModelShaderSelectedObjects(gl::ModelShaders* shaders, const QSet<ModelId> &ids) +void gl::setModelShaderSelectedObjects(gl::ModelShaders* shaders, const QSet<ElementId> &ids) { for (ModelShaders::ShaderObject& object : shaders->shaderObjects) {