Skip to content

Commit c0afc0b

Browse files
committed
When syncing accidentally reset the magic number test to the old
version. Signed-off-by: Jeff Lait <jlait@andorra.sidefx.com>
1 parent c372647 commit c0afc0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nanovdb/nanovdb/CNanoVDB.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ cnanovdb_griddata_valid(const CNANOVDB_GLOBAL cnanovdb_griddata *RESTRICT grid)
921921
{
922922
if (!grid)
923923
return 0;
924-
if (grid->mMagic != 0x304244566f6e614eUL)
924+
if (grid->mMagic != 0x304244566f6e614eUL && grid->mMagic != 0x314244566f6e614eUL)
925925
return 0;
926926
return 1;
927927
}

0 commit comments

Comments
 (0)