From 411ee71b4d2dd4dfb3c137b057e0cfcdb55d6291 Mon Sep 17 00:00:00 2001 From: Hein-Pieter van Braam Date: Mon, 13 Feb 2017 12:47:24 +0100 Subject: Rename the _MD macro to D_METHOD This new name also makes its purpose a little clearer This is a step towards fixing #56 --- scene/2d/canvas_modulate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scene/2d/canvas_modulate.cpp') diff --git a/scene/2d/canvas_modulate.cpp b/scene/2d/canvas_modulate.cpp index 3c84edf1e..ecc11ea60 100644 --- a/scene/2d/canvas_modulate.cpp +++ b/scene/2d/canvas_modulate.cpp @@ -62,8 +62,8 @@ void CanvasModulate::_notification(int p_what) { void CanvasModulate::_bind_methods(){ - ClassDB::bind_method(_MD("set_color","color"),&CanvasModulate::set_color); - ClassDB::bind_method(_MD("get_color"),&CanvasModulate::get_color); + ClassDB::bind_method(D_METHOD("set_color","color"),&CanvasModulate::set_color); + ClassDB::bind_method(D_METHOD("get_color"),&CanvasModulate::get_color); ADD_PROPERTY(PropertyInfo(Variant::COLOR,"color"),"set_color","get_color"); } -- cgit v1.2.3-70-g09d2