mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
explicit calls to init_type()
This commit is contained in:
parent
611d3b04b0
commit
ed1fd25236
@ -30,6 +30,7 @@ TypeHandle ExternalThread::_type_handle;
|
|||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
ExternalThread::
|
ExternalThread::
|
||||||
ExternalThread() : Thread("External", "External") {
|
ExternalThread() : Thread("External", "External") {
|
||||||
|
init_type(); // in case static init comes in the wrong order
|
||||||
_started = true;
|
_started = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,6 +27,7 @@ TypeHandle MainThread::_type_handle;
|
|||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
MainThread::
|
MainThread::
|
||||||
MainThread() : Thread("Main", "Main") {
|
MainThread() : Thread("Main", "Main") {
|
||||||
|
init_type(); // in case static init comes in the wrong order
|
||||||
_started = true;
|
_started = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user