diff options
author | pepegadeveloper123 <smjgs24@naver.com> | 2020-05-11 03:20:11 +0900 |
---|---|---|
committer | pepegadeveloper123 <smjgs24@naver.com> | 2020-05-11 03:20:11 +0900 |
commit | 4e00d8520db33de62645043af3d9d3ca83b1153f (patch) | |
tree | e929517663eb2ec491bcc6f662a083e9c48dd223 /modules/mono/editor/csharp_project.cpp | |
parent | 6a0473bcc23c096ef9ee929632a209761c2668f6 (diff) |
Inherited C# scene not inheriting parent's fields
When a child scene inherits a parent scene with a C# root node, the
parent scene's export variables appear to assume values set in the
parent scene, in the child scene's Inspector. However, when the child
scene is played, the parent scene's export variables assume default
values.
When a node is created, it inherits its parent C# script's fields from
the map CSharpScriptInstance::script->member_info. However this map was
not initialized outside the editor, and this commit ensured it is. This
fixes issues #36480 and #37581.
Diffstat (limited to 'modules/mono/editor/csharp_project.cpp')
0 files changed, 0 insertions, 0 deletions