From fae3eabc8c08de4168544c74b2a39df54d72b1d8 Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 22 Jun 2022 00:43:52 +0200 Subject: [PATCH] Fix property setter. --- modules/paint/actions/brighten_action.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/paint/actions/brighten_action.cpp b/modules/paint/actions/brighten_action.cpp index c7533dc6a..45e51d86f 100644 --- a/modules/paint/actions/brighten_action.cpp +++ b/modules/paint/actions/brighten_action.cpp @@ -78,5 +78,5 @@ BrightenAction::~BrightenAction() { void BrightenAction::_bind_methods() { ClassDB::bind_method(D_METHOD("get_brighten_color"), &BrightenAction::get_brighten_color); ClassDB::bind_method(D_METHOD("set_brighten_color", "value"), &BrightenAction::set_brighten_color); - ADD_PROPERTY(PropertyInfo(Variant::REAL, "brighten_color"), "set_", "get_brighten_color"); + ADD_PROPERTY(PropertyInfo(Variant::REAL, "brighten_color"), "set_brighten_color", "get_brighten_color"); }