Add template string to SimpleDynamic
This commit is contained in:
@@ -153,7 +153,7 @@ void AnimState::decode(std::string_view s) {
|
||||
void AnimState::decode_persistent(std::string_view s) {
|
||||
map_.clear();
|
||||
StreamBuffer sb(s);
|
||||
SimpleDynamic dummy;
|
||||
AnimValue dummy;
|
||||
while (!sb.empty()) {
|
||||
eng::string name = sb.read_string();
|
||||
bool persistent = sb.read_bool();
|
||||
@@ -297,7 +297,7 @@ void AnimCoreState::decode(std::string_view s) {
|
||||
plane.clear();
|
||||
xyz = 0.0;
|
||||
StreamBuffer sb(s);
|
||||
SimpleDynamic value;
|
||||
AnimValue value;
|
||||
while (!sb.empty()) {
|
||||
eng::string name = sb.read_string();
|
||||
bool persistent = sb.read_bool();
|
||||
|
||||
Reference in New Issue
Block a user