Remove use of _SCS from ADD_METHOD

This saves typing and is a step towards fixing #56
This commit is contained in:
Hein-Pieter van Braam 2017-02-12 01:11:37 +01:00
parent 70b9aa379d
commit 0f687f0ccb
167 changed files with 1192 additions and 1195 deletions

View file

@ -89,7 +89,7 @@ void Path2D::_bind_methods() {
ClassDB::bind_method(_MD("get_curve:Curve2D","curve"),&Path2D::get_curve);
ClassDB::bind_method(_MD("_curve_changed"),&Path2D::_curve_changed);
ADD_PROPERTY( PropertyInfo( Variant::OBJECT, "curve", PROPERTY_HINT_RESOURCE_TYPE, "Curve2D"), _SCS("set_curve"),_SCS("get_curve"));
ADD_PROPERTY( PropertyInfo( Variant::OBJECT, "curve", PROPERTY_HINT_RESOURCE_TYPE, "Curve2D"), "set_curve","get_curve");
}
Path2D::Path2D() {