mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0030945: JT Import, JtProperty_LateLoaded - expose type of Deferred object
RWMesh_NodeAttributes has been extended with NamedData property for passing Metadata. RWMesh_CafReader::addShapeIntoDoc() has been corrected to avoid adding calling XCAFDoc_ShapeTool::AddSubShape() for sub-shape labels. Attributes for Products and Instances are now set independently to shape labels. Sharing of Compounds (previously always duplicated) as sub-Components has been fixed. TDataStd_NamedData has been extended with interface for deferred data loading. Setters have been corrected to avoid duplicating lookups within map.
This commit is contained in:
@@ -204,6 +204,7 @@ void BinMDataStd_NamedDataDriver::Paste(const Handle(TDF_Attribute)& theSource,
|
||||
if(S.IsNull()) return;
|
||||
// Standard_Integer i=0;
|
||||
|
||||
S->LoadDeferredData();
|
||||
if(S->HasIntegers() && !S->GetIntegersContainer().IsEmpty()) {
|
||||
theTarget.PutInteger(1) << S->GetIntegersContainer().Extent(); //dim
|
||||
TColStd_DataMapIteratorOfDataMapOfStringInteger itr(S->GetIntegersContainer());
|
||||
|
Reference in New Issue
Block a user