Skip to content

Commit

Permalink
VOXELFORMAT: VOX: disable assert about the reserved id in nTRN chunks
Browse files Browse the repository at this point in the history
it looks like the voxedit.io (sandbox) editor is exporting invalid nTRN chunks and vengi errors out when this assert is triggered
  • Loading branch information
mgerhardy committed Jun 15, 2023
1 parent 0782879 commit 993b9bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/voxelformat/external/ogt_vox.h
Expand Up @@ -1389,7 +1389,7 @@
_vox_file_read_uint32(fp, &reserved_id);
_vox_file_read_uint32(fp, &layer_id);
_vox_file_read_uint32(fp, &num_frames);
ogt_assert(reserved_id == UINT32_MAX, "unexpected values for reserved_id in nTRN chunk");
//ogt_assert(reserved_id == UINT32_MAX, "unexpected values for reserved_id in nTRN chunk");
ogt_assert(num_frames > 0, "must have at least 1 frame in nTRN chunk");

// make space in misc_data array for the number of transforms we'll need for this node
Expand Down

0 comments on commit 993b9bb

Please sign in to comment.