Merge pull request #325 from Arcod7/master

Add copy name in ModelAnimation
This commit is contained in:
Rob Loach
2024-06-19 10:37:24 -04:00
committed by GitHub

View File

@@ -3,6 +3,7 @@
#include <vector>
#include <string>
#include <cstring>
#include "./raylib.hpp"
#include "./raylib-cpp-utils.hpp"
@@ -102,6 +103,7 @@ class ModelAnimation : public ::ModelAnimation {
frameCount = model.frameCount;
bones = model.bones;
framePoses = model.framePoses;
std::strcpy(name, model.name);
}
};
} // namespace raylib