You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Fixed thread check, solves: #3698
This commit is contained in:
@@ -2532,6 +2532,10 @@ Dictionary _Engine::get_version_info() const {
|
|||||||
return Engine::get_singleton()->get_version_info();
|
return Engine::get_singleton()->get_version_info();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool _Engine::is_in_fixed_frame() const {
|
||||||
|
return Engine::get_singleton()->is_in_fixed_frame();
|
||||||
|
}
|
||||||
|
|
||||||
void _Engine::_bind_methods() {
|
void _Engine::_bind_methods() {
|
||||||
|
|
||||||
ClassDB::bind_method(D_METHOD("set_iterations_per_second", "iterations_per_second"), &_Engine::set_iterations_per_second);
|
ClassDB::bind_method(D_METHOD("set_iterations_per_second", "iterations_per_second"), &_Engine::set_iterations_per_second);
|
||||||
@@ -2550,6 +2554,8 @@ void _Engine::_bind_methods() {
|
|||||||
ClassDB::bind_method(D_METHOD("get_main_loop:MainLoop"), &_Engine::get_main_loop);
|
ClassDB::bind_method(D_METHOD("get_main_loop:MainLoop"), &_Engine::get_main_loop);
|
||||||
|
|
||||||
ClassDB::bind_method(D_METHOD("get_version_info"), &_Engine::get_version_info);
|
ClassDB::bind_method(D_METHOD("get_version_info"), &_Engine::get_version_info);
|
||||||
|
|
||||||
|
ClassDB::bind_method(D_METHOD("is_in_fixed_frame"), &_Engine::is_in_fixed_frame);
|
||||||
}
|
}
|
||||||
|
|
||||||
_Engine *_Engine::singleton = NULL;
|
_Engine *_Engine::singleton = NULL;
|
||||||
|
|||||||
@@ -634,6 +634,8 @@ public:
|
|||||||
|
|
||||||
Dictionary get_version_info() const;
|
Dictionary get_version_info() const;
|
||||||
|
|
||||||
|
bool is_in_fixed_frame() const;
|
||||||
|
|
||||||
_Engine();
|
_Engine();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user