mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +00:00
Fix python wrapper
This commit is contained in:
@@ -52,8 +52,12 @@ public:
|
||||
{}
|
||||
|
||||
IfcEntityInstanceData(const IfcParse::declaration* type)
|
||||
: file(0), id_(0), type_(type), attributes_(0)
|
||||
{}
|
||||
: file(0), id_(0), type_(type), attributes_(new Argument*[getArgumentCount()])
|
||||
{
|
||||
for (size_t i = 0; i < getArgumentCount(); ++i) {
|
||||
attributes_[i] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
void load() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user