mirror of
https://github.com/allankoechke/raylib-cpp.git
synced 2026-11-30 17:19:27 +00:00
Merge pull request #325 from Arcod7/master
Add copy name in ModelAnimation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user