mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-17 12:12:10 -04:00
*** empty log message ***
This commit is contained in:
parent
1356bbd95a
commit
0fe9f783e0
@ -826,11 +826,14 @@ copy_substitute_decl(CPPScope *to_scope, CPPDeclaration::SubstDecl &subst,
|
||||
bool anything_changed = false;
|
||||
|
||||
if (_struct_type != NULL) {
|
||||
CPPScope *native_scope = (CPPScope *)NULL;
|
||||
if (_struct_type->_ident != (CPPIdentifier *)NULL) {
|
||||
native_scope = _struct_type->_ident->_native_scope;
|
||||
}
|
||||
to_scope->_struct_type =
|
||||
new CPPStructType(_struct_type->_type,
|
||||
new CPPIdentifier(to_scope->_name),
|
||||
_struct_type->_ident->_native_scope,
|
||||
to_scope, _struct_type->_file);
|
||||
native_scope, to_scope, _struct_type->_file);
|
||||
to_scope->_struct_type->_incomplete = false;
|
||||
|
||||
// Copy the derivation to the new type.
|
||||
|
Loading…
x
Reference in New Issue
Block a user