mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
fix problem with DisplayRegion scoping
This commit is contained in:
parent
7381234a3d
commit
c4b5f64eea
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user