We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e404cd commit 4bcb0ecCopy full SHA for 4bcb0ec
src/io/MdlIO.cpp
@@ -5,6 +5,7 @@
5
#include <glm/gtc/matrix_inverse.hpp>
6
#include <glm/gtx/matrix_decompose.hpp>
7
#include <format>
8
+#include <array>
9
10
namespace MDL {
11
void SceneGraphNode::Read(bStream::CStream* stream){
@@ -726,8 +727,8 @@ namespace MDL {
726
727
for(uint32_t i = 0; i < jointCount; i++){
728
std::array<std::pair<uint8_t, uint8_t>, 9> flags;
729
for(uint32_t j = 0; j < 9; j++){
- std::get<0>(flags[j]) = stream->readUInt8();
730
- std::get<1>(flags[j]) = stream->readUInt8();
+ flags[j].first = stream->readUInt8();
731
+ flags[j].second = stream->readUInt8();
732
}
733
trackFlags.push_back(flags);
734
0 commit comments