fix problem with DisplayRegion scoping

This commit is contained in:
David Rose 2008-11-17 20:47:40 +00:00
parent 7381234a3d
commit c4b5f64eea

View File

@ -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;