--- a/src/gl/compiler.cpp Wed May 25 20:36:34 2022 +0300 +++ b/src/gl/compiler.cpp Mon Jun 06 22:01:22 2022 +0300 @@ -311,7 +311,7 @@ } } -ldraw::id_t gl::idFromColor(const std::array<GLubyte, 3>& data) +ModelId gl::idFromColor(const std::array<GLubyte, 3>& data) { return {data[0] * std::int32_t{0x10000} + data[1] * std::int32_t{0x100} + data[2]}; } @@ -330,7 +330,7 @@ shaderObject.vertexArray.release(); } -void gl::setModelShaderSelectedObjects(gl::ModelShaders* shaders, const QSet<ldraw::id_t>& ids) +void gl::setModelShaderSelectedObjects(gl::ModelShaders* shaders, const QSet<ModelId> &ids) { for (ModelShaders::ShaderObject& object : shaders->shaderObjects) {