diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-01-12 09:00:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-12 09:00:20 +0100 |
commit | e24f2c6489afdccc6268008d3dcc1ff4ad8ea71c (patch) | |
tree | ee8faddef95f8bcb66acfce729a6f85513740b2d /scene/main/resource_preloader.cpp | |
parent | 00630479dd5e5aa95915fddf7df9c6b11f525b0e (diff) | |
parent | ad79c703008394a360eb9875196a9414e1c84585 (diff) |
Merge pull request #15611 from bojidar-bg/x-bind-more-properties
Bind many more properties to scripts
Diffstat (limited to 'scene/main/resource_preloader.cpp')
-rw-r--r-- | scene/main/resource_preloader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/resource_preloader.cpp b/scene/main/resource_preloader.cpp index a779b49141..dbe7daa604 100644 --- a/scene/main/resource_preloader.cpp +++ b/scene/main/resource_preloader.cpp @@ -161,7 +161,7 @@ void ResourcePreloader::_bind_methods() { ClassDB::bind_method(D_METHOD("get_resource", "name"), &ResourcePreloader::get_resource); ClassDB::bind_method(D_METHOD("get_resource_list"), &ResourcePreloader::_get_resource_list); - ADD_PROPERTY(PropertyInfo(Variant::ARRAY, "resources", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_NOEDITOR), "_set_resources", "_get_resources"); + ADD_PROPERTY(PropertyInfo(Variant::ARRAY, "resources", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_NOEDITOR | PROPERTY_USAGE_INTERNAL), "_set_resources", "_get_resources"); } ResourcePreloader::ResourcePreloader() { |