From 28b54937b78f53a88fd8eaf834a31537f82f629d Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 26 Apr 2024 17:34:28 +0200 Subject: [PATCH] Don't expose renderer_callback() for scripting. --- modules/web/html/markdown_renderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/web/html/markdown_renderer.cpp b/modules/web/html/markdown_renderer.cpp index dc78a77f5..f2ab73aa5 100644 --- a/modules/web/html/markdown_renderer.cpp +++ b/modules/web/html/markdown_renderer.cpp @@ -549,7 +549,7 @@ void MarkdownRenderer::_bind_methods() { BIND_VMETHOD(MethodInfo("_renderer_callback", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "MarkdownRendererCustomRendererCallback"))); - ClassDB::bind_method(D_METHOD("renderer_callback", "data"), &MarkdownRenderer::renderer_callback); + //ClassDB::bind_method(D_METHOD("renderer_callback", "data"), &MarkdownRenderer::renderer_callback); ClassDB::bind_method(D_METHOD("_renderer_callback", "data"), &MarkdownRenderer::_renderer_callback); BIND_ENUM_CONSTANT(RENDER_TYPE_HTML);