Skip to content

Commit 8d1af4f

Browse files
committed
Fixed version handling of origin IO.
1 parent 3d9fd47 commit 8d1af4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vsg/app/ViewMatrix.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ void ViewMatrix::read(Input& input)
1919
{
2020
Object::read(input);
2121

22-
if (input.version_greater_equal(1, 1, 8))
22+
if (input.version_greater_equal(1, 1, 9))
2323
input.read("origin", origin);
2424
else
2525
origin = {};
@@ -29,7 +29,7 @@ void ViewMatrix::write(Output& output) const
2929
{
3030
Object::write(output);
3131

32-
if (output.version_greater_equal(1, 1, 8))
32+
if (output.version_greater_equal(1, 1, 9))
3333
output.write("origin", origin);
3434
}
3535

0 commit comments

Comments
 (0)