Skip to content

Commit 8dd90ba

Browse files
Fix bug: does not cancel loading when adjust styles (#16)
1 parent 5bed283 commit 8dd90ba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Reader/ReaderSTEP.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,9 @@ void ReaderSTEP::readEntityArguments( std::vector<std::pair<std::string, shared_
685685
} // implicic barrier
686686

687687
for( auto& idToEntityPair: map_entities ) {
688+
if( this->IsCancellationRequested() ) {
689+
continue;
690+
}
688691
auto entity = idToEntityPair.second;
689692
if( entity->classID() == IFCSTYLEDITEM )
690693
{

0 commit comments

Comments
 (0)