From cded602950ea18c573f170e4eb256a9e815a0a9b Mon Sep 17 00:00:00 2001 From: Alexander Gessler Date: Thu, 28 Mar 2013 23:28:20 +0100 Subject: [PATCH] - STEP: fix bug that caused back references contained in nested aggregates to be not tracked. --- code/STEPFileReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/STEPFileReader.cpp b/code/STEPFileReader.cpp index d08279af3..b03e53a87 100644 --- a/code/STEPFileReader.cpp +++ b/code/STEPFileReader.cpp @@ -525,7 +525,7 @@ STEP::LazyObject::LazyObject(DB& db, uint64_t id,uint64_t /*line*/, const char* --skip_depth; } - if (skip_depth == 1 && *a=='#') { + if (skip_depth >= 1 && *a=='#') { const char* tmp; const int64_t num = static_cast( strtoul10_64(a+1,&tmp) ); db.MarkRef(num,id);