fix: added missing serialization for eye rotation parameters

This commit is contained in:
Turánszki János
2022-09-16 15:34:47 +02:00
parent 6151fd82e6
commit 29be5b3dcb
+4
View File
@@ -1644,6 +1644,8 @@ namespace wi::scene
archive >> default_look_direction;
archive >> head_rotation_max;
archive >> head_rotation_speed;
archive >> eye_rotation_max;
archive >> eye_rotation_speed;
for (auto& entity : bones)
{
@@ -1656,6 +1658,8 @@ namespace wi::scene
archive << default_look_direction;
archive << head_rotation_max;
archive << head_rotation_speed;
archive << eye_rotation_max;
archive << eye_rotation_speed;
for (auto& entity : bones)
{