1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

[GDnative] Add active_library_path to init options struct

This commit is contained in:
Emmanuel Leblond
2017-10-02 13:45:47 +02:00
parent c11c951871
commit c55b8217ab
2 changed files with 2 additions and 0 deletions

View File

@@ -269,6 +269,7 @@ bool GDNative::initialize() {
options.editor_api_hash = ClassDB::get_api_hash(ClassDB::API_EDITOR);
options.no_api_hash = ClassDB::get_api_hash(ClassDB::API_NONE);
options.gd_native_library = (godot_object *)(get_library().ptr());
options.active_library_path = (godot_string *)&path;
library_init_fpointer(&options);