Rework Serialization functions
add name and handle more types
This commit is contained in:
@@ -1368,7 +1368,7 @@ namespace Nz
|
||||
{
|
||||
for (unsigned int i = 0; i < 16; ++i)
|
||||
{
|
||||
if (!Serialize(context, matrix[i]))
|
||||
if (!Serialize(context, "", matrix[i]))
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -1388,7 +1388,7 @@ namespace Nz
|
||||
T* head = &matrix->m11;
|
||||
for (unsigned int i = 0; i < 16; ++i)
|
||||
{
|
||||
if (!Unserialize(context, head + i))
|
||||
if (!Unserialize(context, "", head + i))
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user