Skip to content

Commit

Permalink
Merge pull request #325 from Arcod7/master
Browse files Browse the repository at this point in the history
Add copy name in ModelAnimation
  • Loading branch information
RobLoach authored Jun 19, 2024
2 parents 6a5286c + 7307816 commit 2d18aaa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/ModelAnimation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#include <vector>
#include <string>
#include <cstring>

#include "./raylib.hpp"
#include "./raylib-cpp-utils.hpp"
Expand Down Expand Up @@ -102,6 +103,7 @@ class ModelAnimation : public ::ModelAnimation {
frameCount = model.frameCount;
bones = model.bones;
framePoses = model.framePoses;
std::strcpy(name, model.name);
}
};
} // namespace raylib
Expand Down

0 comments on commit 2d18aaa

Please sign in to comment.