Skip to content

Commit

Permalink
E57Simple: Files are allowed to contain no scans (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
asmaloney authored Apr 20, 2024
1 parent f5d1f5f commit ad6c654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ReaderImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ namespace e57

ReaderImpl::ReaderImpl( const ustring &filePath, const ReaderOptions &options ) :
imf_( filePath, "r", options.checksumPolicy ), root_( imf_.root() ),
data3D_( root_.get( "/data3D" ) ),
data3D_( root_.isDefined( "/data3D" ) ? root_.get( "/data3D" ) : VectorNode( imf_ ) ),
images2D_( root_.isDefined( "/images2D" ) ? root_.get( "/images2D" ) : VectorNode( imf_ ) )
{
}
Expand Down

0 comments on commit ad6c654

Please sign in to comment.