Removed duplicate binds.

This commit is contained in:
Relintai 2022-06-16 18:42:02 +02:00
parent 8a057a643e
commit 90f6ba8369
2 changed files with 0 additions and 7 deletions

View File

@ -44,7 +44,4 @@ void MMGreyscaleUniform::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_uniform"), &MMGreyscaleUniform::get_uniform); ClassDB::bind_method(D_METHOD("get_uniform"), &MMGreyscaleUniform::get_uniform);
ClassDB::bind_method(D_METHOD("set_uniform", "value"), &MMGreyscaleUniform::set_uniform); ClassDB::bind_method(D_METHOD("set_uniform", "value"), &MMGreyscaleUniform::set_uniform);
ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "uniform", PROPERTY_HINT_RESOURCE_TYPE, "Ref<MMNodeUniversalProperty>"), "set_uniform", "get_uniform"); ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "uniform", PROPERTY_HINT_RESOURCE_TYPE, "Ref<MMNodeUniversalProperty>"), "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);
} }

View File

@ -40,8 +40,4 @@ void MMUniform::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_uniform"), &MMUniform::get_uniform); ClassDB::bind_method(D_METHOD("get_uniform"), &MMUniform::get_uniform);
ClassDB::bind_method(D_METHOD("set_uniform", "value"), &MMUniform::set_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"); 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);
} }