mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
dtoolutil: fix PandaSystem TypeHandle static init issue
This commit is contained in:
parent
66c5d65bf6
commit
e9e18c2277
@ -435,6 +435,7 @@ write(std::ostream &out) const {
|
||||
PandaSystem *PandaSystem::
|
||||
get_global_ptr() {
|
||||
if (_global_ptr == nullptr) {
|
||||
init_type();
|
||||
_global_ptr = new PandaSystem;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user