occt: master ce83709a
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
kgv | master | 2021-08-30 17:53:33 | master 19691a22 | |
Affected Issues | 0032546: Data Exchange, XCAF - mark material as defined XCAFDoc_VisMaterialPBR::IsDefined=true within default constructor | |||
Changeset | 0032546: Data Exchange, XCAF - mark material as defined XCAFDoc_VisMaterialPBR::IsDefined=true within default constructor XCAFDoc_VisMaterialCommon and XCAFDoc_VisMaterialPBR default constructors now set IsDefined property to TRUE. So that it is required to set IsDefined=false explicitly to create an undefined material, which is done by XCAFDoc_VisMaterial constructor. Existing application code shouldn't require any modifications in most cases (IsDefined=true required before to setup material could be now removed). |
|||
mod - src/XCAFDoc/XCAFDoc_VisMaterial.cxx | Diff File | |||
mod - src/XCAFDoc/XCAFDoc_VisMaterial.hxx | Diff File | |||
mod - src/XCAFDoc/XCAFDoc_VisMaterialCommon.hxx | Diff File | |||
mod - src/XCAFDoc/XCAFDoc_VisMaterialPBR.hxx | Diff File |