Skip to content

Commit

Permalink
E57Simple: Files are allowed to contain no scans
Browse files Browse the repository at this point in the history
  • Loading branch information
asmaloney committed Apr 20, 2024
1 parent f5d1f5f commit 0f8927c
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 0f8927c

Please sign in to comment.