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

@@ -36,7 +36,7 @@ void MultiMeshInstance::_bind_methods() {
ClassDB::bind_method(_MD("set_multimesh","multimesh"),&MultiMeshInstance::set_multimesh);
ClassDB::bind_method(_MD("get_multimesh"),&MultiMeshInstance::get_multimesh);
ADD_PROPERTY( PropertyInfo(Variant::OBJECT,"multimesh",PROPERTY_HINT_RESOURCE_TYPE,"MultiMesh"), _SCS("set_multimesh"), _SCS("get_multimesh"));
ADD_PROPERTY( PropertyInfo(Variant::OBJECT,"multimesh",PROPERTY_HINT_RESOURCE_TYPE,"MultiMesh"), "set_multimesh", "get_multimesh");
}