Skip to content

Commit

Permalink
https://github.com/opensourceBIM/BIMserver/issues/688
Browse files Browse the repository at this point in the history
  • Loading branch information
rubendel committed Jan 22, 2018
1 parent 3a905a7 commit f41446c
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,11 @@ public IfcModelInterface execute() throws UserException, BimserverLockConflictEx
if (refOid instanceof Long) {
IdEObject ref = ifcModel.get((long) refOid);
if (ref != null) {
list.addUnique(ref);
if (eReference.isUnique()) {
list.add(ref);
} else {
list.addUnique(ref);
}
}
} else if (refOid instanceof HashMapWrappedVirtualObject) {
// IdEObject ref = ifcModel.get(((HashMapWrappedVirtualObject) refOid).get);
Expand Down

0 comments on commit f41446c

Please sign in to comment.