Bug in readEntityArguments when ENABLE_OPENMP
ExternPointer opened this issue · 1 comments
ExternPointer commented
There is some code in the method for compatibility with old IFC formats.
File: ReaderSTEP.cpp, line 649
This code can not works in parallel, because one style can be related to several entities. As a result we have broken styles:
PROPOSITION: Parse file as usual and then "tweak" styles (just move this code to new loop after OMP section). Result:
Fixed method:
https://gist.github.com/ExternPointer/1ccd55f3e9fec1eb37236a06dbe5d68e
ifcquery commented
Thanks for the hint!
I will include the fix in the next release.