diff options
author | Micky <micheledevita2@gmail.com> | 2022-08-13 12:36:59 +0200 |
---|---|---|
committer | Micky <micheledevita2@gmail.com> | 2022-08-13 13:00:45 +0200 |
commit | fe86c5cba58f71dc4e05f2ed0953455310165fef (patch) | |
tree | 23f59621a696c484b3afd99b824d2aeb4325ea4a /scene | |
parent | f2a61684143af02a8cbe7002645af817607f9bd6 (diff) |
Rename CanvasItem.`follow_viewport_enable` to end with "d"
For consistency with the rest of the exposed booleans in Godot
Diffstat (limited to 'scene')
-rw-r--r-- | scene/main/canvas_layer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/canvas_layer.cpp b/scene/main/canvas_layer.cpp index 3a071ef542..166a283185 100644 --- a/scene/main/canvas_layer.cpp +++ b/scene/main/canvas_layer.cpp @@ -335,7 +335,7 @@ void CanvasLayer::_bind_methods() { ADD_GROUP("", ""); ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "custom_viewport", PROPERTY_HINT_RESOURCE_TYPE, "Viewport", PROPERTY_USAGE_NONE), "set_custom_viewport", "get_custom_viewport"); ADD_GROUP("Follow Viewport", "follow_viewport"); - ADD_PROPERTY(PropertyInfo(Variant::BOOL, "follow_viewport_enable"), "set_follow_viewport", "is_following_viewport"); + ADD_PROPERTY(PropertyInfo(Variant::BOOL, "follow_viewport_enabled"), "set_follow_viewport", "is_following_viewport"); ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "follow_viewport_scale", PROPERTY_HINT_RANGE, "0.001,1000,0.001,or_greater,or_lesser"), "set_follow_viewport_scale", "get_follow_viewport_scale"); ADD_SIGNAL(MethodInfo("visibility_changed")); |