diff --git a/modules/material_maker/nodes/uniform/greyscale_uniform.cpp b/modules/material_maker/nodes/uniform/greyscale_uniform.cpp index 29faf0077..40d8520c7 100644 --- a/modules/material_maker/nodes/uniform/greyscale_uniform.cpp +++ b/modules/material_maker/nodes/uniform/greyscale_uniform.cpp @@ -44,7 +44,4 @@ void MMGreyscaleUniform::_bind_methods() { ClassDB::bind_method(D_METHOD("get_uniform"), &MMGreyscaleUniform::get_uniform); ClassDB::bind_method(D_METHOD("set_uniform", "value"), &MMGreyscaleUniform::set_uniform); ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "uniform", PROPERTY_HINT_RESOURCE_TYPE, "Ref"), "set_uniform", "get_uniform"); - - ClassDB::bind_method(D_METHOD("_init_properties"), &MMGreyscaleUniform::_init_properties); - ClassDB::bind_method(D_METHOD("_get_value_for", "uv", "pseed"), &MMGreyscaleUniform::_get_value_for); } diff --git a/modules/material_maker/nodes/uniform/uniform.cpp b/modules/material_maker/nodes/uniform/uniform.cpp index 134b551b5..927974565 100644 --- a/modules/material_maker/nodes/uniform/uniform.cpp +++ b/modules/material_maker/nodes/uniform/uniform.cpp @@ -40,8 +40,4 @@ void MMUniform::_bind_methods() { ClassDB::bind_method(D_METHOD("get_uniform"), &MMUniform::get_uniform); ClassDB::bind_method(D_METHOD("set_uniform", "value"), &MMUniform::set_uniform); ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "uniform", PROPERTY_HINT_RESOURCE_TYPE, "MMNodeUniversalProperty"), "set_uniform", "get_uniform"); - - ClassDB::bind_method(D_METHOD("_init_properties"), &MMUniform::_init_properties); - //ClassDB::bind_method(D_METHOD("_register_methods", "mm_graph_node"), &MMUniform::_register_methods); - ClassDB::bind_method(D_METHOD("_get_value_for", "uv", "pseed"), &MMUniform::_get_value_for); }