0025910: The material with 0-density causes errors during writing STEP files
authordrazmyslovich <razmyslovich@volumegraphics.com>
Thu, 19 Mar 2015 12:52:21 +0000 (15:52 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 19 Mar 2015 14:08:14 +0000 (17:08 +0300)
commit41e259eb8bc13a6e50bd7be6aed765fd2094a810
tree07a8c66413716b897ef70dbe68145e29499e3bd3
parent9bd59d1c5be3128d4cb65684fd7e6de69d0f623f
0025910: The material with 0-density causes errors during writing STEP files

- properly process 0-density material - create STEP density structures if and only if the density is > 0
- properly process 0-density material - create STEP density structures if and only if the density is > 0, but preserve the already mapped structures

Test-case for issue #25910
src/STEPCAFControl/STEPCAFControl_Writer.cxx
tests/bugs/xde/bug25910 [new file with mode: 0644]