From 7919ec6d8902bd4013d2aadf1f0a2b246c355445 Mon Sep 17 00:00:00 2001 From: Karroffel Date: Tue, 11 Apr 2017 01:29:33 +0200 Subject: [GDNative] re-enabled some init options --- modules/gdnative/gdnative.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/gdnative/gdnative.cpp b/modules/gdnative/gdnative.cpp index f646060d49..b543a486d3 100644 --- a/modules/gdnative/gdnative.cpp +++ b/modules/gdnative/gdnative.cpp @@ -77,11 +77,9 @@ Error NativeLibrary::initialize(NativeLibrary *&p_native_lib, const StringName p godot_native_init_options options; options.in_editor = SceneTree::get_singleton()->is_editor_hint(); - /* options.core_api_hash = ClassDB::get_api_hash(ClassDB::API_CORE); options.editor_api_hash = ClassDB::get_api_hash(ClassDB::API_EDITOR); options.no_api_hash = ClassDB::get_api_hash(ClassDB::API_NONE); - */ library_init_fpointer(&options); // Catch errors? -- cgit v1.2.3