From 5fff7f741a8cc18e6f891ddee6f4130f624ece57 Mon Sep 17 00:00:00 2001 From: "thomas.herzog" Date: Fri, 22 Mar 2019 12:54:19 +0100 Subject: [GDNative] fix NativeScript leak in editor --- modules/gdnative/nativescript/nativescript.h | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/gdnative/nativescript/nativescript.h') diff --git a/modules/gdnative/nativescript/nativescript.h b/modules/gdnative/nativescript/nativescript.h index 8dd5ba3b9c..a6865c6243 100644 --- a/modules/gdnative/nativescript/nativescript.h +++ b/modules/gdnative/nativescript/nativescript.h @@ -149,6 +149,7 @@ public: virtual StringName get_instance_base_type() const; // this may not work in all scripts, will return empty if so virtual ScriptInstance *instance_create(Object *p_this); + virtual PlaceHolderScriptInstance *placeholder_instance_create(Object *p_this); virtual bool instance_has(const Object *p_this) const; virtual bool has_source_code() const; -- cgit v1.2.3