summaryrefslogtreecommitdiff
path: root/scene/resources/texture.cpp
diff options
context:
space:
mode:
authorYuri Sizov <11782833+YuriSizov@users.noreply.github.com>2022-08-19 20:42:27 +0300
committerGitHub <noreply@github.com>2022-08-19 20:42:27 +0300
commit96ba6e8cf93003a5fcdc307668744d2a03f0aa86 (patch)
tree42a9b3a82ff1d06fc1bf0085c9465f6f1135ea3b /scene/resources/texture.cpp
parent7895a66cf21348920298c83968d6c5399d8339cf (diff)
parent92bdeb7eb55432cbba3a379d73e4acce3b5ef93a (diff)
Merge pull request #64595 from mhilbrunner/ergo-proxy
Unexpose ProxyTexture
Diffstat (limited to 'scene/resources/texture.cpp')
-rw-r--r--scene/resources/texture.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/scene/resources/texture.cpp b/scene/resources/texture.cpp
index 05ed9238b8..e5c4974967 100644
--- a/scene/resources/texture.cpp
+++ b/scene/resources/texture.cpp
@@ -2537,13 +2537,6 @@ void GradientTexture2D::_bind_methods() {
//////////////////////////////////////
-void ProxyTexture::_bind_methods() {
- ClassDB::bind_method(D_METHOD("set_base", "base"), &ProxyTexture::set_base);
- ClassDB::bind_method(D_METHOD("get_base"), &ProxyTexture::get_base);
-
- ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "base", PROPERTY_HINT_RESOURCE_TYPE, "Texture2D"), "set_base", "get_base");
-}
-
void ProxyTexture::set_base(const Ref<Texture2D> &p_texture) {
ERR_FAIL_COND(p_texture == this);