mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +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:
@@ -649,6 +649,7 @@ void XmlMDataStd_NamedDataDriver::Paste(const Handle(TDF_Attribute)& theSource,
|
||||
Standard_Integer i=0, up;
|
||||
XmlObjMgt_Element& anElement = theTarget;
|
||||
XmlObjMgt_Document aDoc (anElement.getOwnerDocument());
|
||||
S->LoadDeferredData();
|
||||
if(S->HasIntegers() && !S->GetIntegersContainer().IsEmpty()) {
|
||||
// store a set of elements with string in each of them
|
||||
up = S->GetIntegersContainer().Extent();
|
||||
|
Reference in New Issue
Block a user