Merge pull request #13082 from groud/fix_err_class_registration

Fixes a double class registration error
This commit is contained in:
Poommetee Ketson 2017-11-20 17:40:56 +07:00 committed by GitHub
commit 44986081f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -433,8 +433,6 @@ void Node2D::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_z_as_relative", "enable"), &Node2D::set_z_as_relative);
ClassDB::bind_method(D_METHOD("is_z_relative"), &Node2D::is_z_relative);
ClassDB::bind_method(D_METHOD("_edit_set_pivot", "pivot"), &Node2D::_edit_set_pivot);
ClassDB::bind_method(D_METHOD("get_relative_transform_to_parent", "parent"), &Node2D::get_relative_transform_to_parent);
ADD_GROUP("Transform", "");