Skip to content

Commit

Permalink
SurfaceTool add_index method exposed to scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
SaracenOne committed Jul 22, 2016
1 parent 93c3c80 commit f86b698
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scene/resources/surface_tool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -860,6 +860,7 @@ void SurfaceTool::_bind_methods() {
ObjectTypeDB::bind_method(_MD("deindex"),&SurfaceTool::deindex);
///ObjectTypeDB::bind_method(_MD("generate_flat_normals"),&SurfaceTool::generate_flat_normals);
ObjectTypeDB::bind_method(_MD("generate_normals"),&SurfaceTool::generate_normals);
ObjectTypeDB::bind_method(_MD("add_index", "index"), &SurfaceTool::add_index);
ObjectTypeDB::bind_method(_MD("commit:Mesh","existing:Mesh"),&SurfaceTool::commit,DEFVAL(Variant()));
ObjectTypeDB::bind_method(_MD("clear"),&SurfaceTool::clear);

Expand Down

0 comments on commit f86b698

Please sign in to comment.