Removed dangerous and useless function, closes #22884

This commit is contained in:
Juan Linietsky 2019-01-24 17:56:19 -03:00
parent fb7c526ec4
commit a280bd0c85
2 changed files with 0 additions and 4 deletions

View File

@ -1021,8 +1021,6 @@ void SurfaceTool::_bind_methods() {
ClassDB::bind_method(D_METHOD("generate_normals", "flip"), &SurfaceTool::generate_normals, DEFVAL(false)); ClassDB::bind_method(D_METHOD("generate_normals", "flip"), &SurfaceTool::generate_normals, DEFVAL(false));
ClassDB::bind_method(D_METHOD("generate_tangents"), &SurfaceTool::generate_tangents); ClassDB::bind_method(D_METHOD("generate_tangents"), &SurfaceTool::generate_tangents);
ClassDB::bind_method(D_METHOD("add_to_format", "flags"), &SurfaceTool::add_to_format);
ClassDB::bind_method(D_METHOD("set_material", "material"), &SurfaceTool::set_material); ClassDB::bind_method(D_METHOD("set_material", "material"), &SurfaceTool::set_material);
ClassDB::bind_method(D_METHOD("clear"), &SurfaceTool::clear); ClassDB::bind_method(D_METHOD("clear"), &SurfaceTool::clear);

View File

@ -118,8 +118,6 @@ public:
void generate_normals(bool p_flip = false); void generate_normals(bool p_flip = false);
void generate_tangents(); void generate_tangents();
void add_to_format(int p_flags) { format |= p_flags; }
void set_material(const Ref<Material> &p_material); void set_material(const Ref<Material> &p_material);
void clear(); void clear();