aboutsummaryrefslogtreecommitdiff
path: root/scene/resources/mesh.cpp
diff options
context:
space:
mode:
authorHein-Pieter van Braam2017-02-12 01:11:37 +0100
committerHein-Pieter van Braam2017-02-13 10:37:47 +0100
commit0f687f0ccbd7533a54dec38ca8dc5acd9a60e64a (patch)
treef33b1c2a15fe7024716b3a611b625c652290d067 /scene/resources/mesh.cpp
parent70b9aa379d99c78f6db87344e3002808dac70bfa (diff)
downloadgodot-0f687f0ccbd7533a54dec38ca8dc5acd9a60e64a.tar.gz
godot-0f687f0ccbd7533a54dec38ca8dc5acd9a60e64a.tar.zst
godot-0f687f0ccbd7533a54dec38ca8dc5acd9a60e64a.zip
Diffstat (limited to 'scene/resources/mesh.cpp')
-rw-r--r--scene/resources/mesh.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/mesh.cpp b/scene/resources/mesh.cpp
index 99911edde..a174fffcc 100644
--- a/scene/resources/mesh.cpp
+++ b/scene/resources/mesh.cpp
@@ -1038,9 +1038,9 @@ void Mesh::_bind_methods() {
ClassDB::bind_method(_MD("surface_set_name","surf_idx","name"),&Mesh::surface_set_name);
ClassDB::bind_method(_MD("surface_get_name","surf_idx"),&Mesh::surface_get_name);
ClassDB::bind_method(_MD("center_geometry"),&Mesh::center_geometry);
- ClassDB::set_method_flags(get_class_static(),_SCS("center_geometry"),METHOD_FLAGS_DEFAULT|METHOD_FLAG_EDITOR);
+ ClassDB::set_method_flags(get_class_static(),_scs_create("center_geometry"),METHOD_FLAGS_DEFAULT|METHOD_FLAG_EDITOR);
ClassDB::bind_method(_MD("regen_normalmaps"),&Mesh::regen_normalmaps);
- ClassDB::set_method_flags(get_class_static(),_SCS("regen_normalmaps"),METHOD_FLAGS_DEFAULT|METHOD_FLAG_EDITOR);
+ ClassDB::set_method_flags(get_class_static(),_scs_create("regen_normalmaps"),METHOD_FLAGS_DEFAULT|METHOD_FLAG_EDITOR);
ClassDB::bind_method(_MD("set_custom_aabb","aabb"),&Mesh::set_custom_aabb);
ClassDB::bind_method(_MD("get_custom_aabb"),&Mesh::get_custom_aabb);