From c4b5f64eea156bcac8f67dbe06b1dccc05554b61 Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 17 Nov 2008 20:47:40 +0000 Subject: [PATCH] fix problem with DisplayRegion scoping --- dtool/src/interrogate/typeManager.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dtool/src/interrogate/typeManager.cxx b/dtool/src/interrogate/typeManager.cxx index 0f4d1f6130..04de4cac66 100644 --- a/dtool/src/interrogate/typeManager.cxx +++ b/dtool/src/interrogate/typeManager.cxx @@ -1671,8 +1671,7 @@ bool TypeManager::IsLocal(CPPType *in_type) // IE a should actualy generate code for this objects.... CPPType *base_type = resolve_type(unwrap(in_type)); - - if(base_type->_file._source == CPPFile::S_local) + if(base_type->_file._source == CPPFile::S_local && !base_type->is_incomplete()) return true; return false;