diff options
author | Jeroen <jeroen@jeroen-LTSSD> | 2017-09-14 10:31:43 +0200 |
---|---|---|
committer | Jeroen <jeroen@jeroen-LTSSD> | 2017-09-14 10:31:43 +0200 |
commit | ca5abae1e7011e12960cc636544e621dfa6ad904 (patch) | |
tree | eeff90431d481d39c9bfc07970762d540bf3d4b7 | |
parent | 3f4062c7083d51c2d5375baee3a7e42bcd591e16 (diff) |
Fix 2 typos
-rw-r--r-- | doc/classes/VisualScriptEngineSingleton.xml | 2 | ||||
-rw-r--r-- | modules/visual_script/visual_script_nodes.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/VisualScriptEngineSingleton.xml b/doc/classes/VisualScriptEngineSingleton.xml index c130e71962..c00fd2a0a4 100644 --- a/doc/classes/VisualScriptEngineSingleton.xml +++ b/doc/classes/VisualScriptEngineSingleton.xml @@ -25,7 +25,7 @@ </method> </methods> <members> - <member name="/constant" type="String" setter="set_singleton" getter="get_singleton"> + <member name="constant" type="String" setter="set_singleton" getter="get_singleton"> </member> </members> <constants> diff --git a/modules/visual_script/visual_script_nodes.cpp b/modules/visual_script/visual_script_nodes.cpp index 093f01c49f..39f23fcf50 100644 --- a/modules/visual_script/visual_script_nodes.cpp +++ b/modules/visual_script/visual_script_nodes.cpp @@ -2002,7 +2002,7 @@ void VisualScriptEngineSingleton::_bind_methods() { cc += E->get().name; } - ADD_PROPERTY(PropertyInfo(Variant::STRING, "/constant", PROPERTY_HINT_ENUM, cc), "set_singleton", "get_singleton"); + ADD_PROPERTY(PropertyInfo(Variant::STRING, "constant", PROPERTY_HINT_ENUM, cc), "set_singleton", "get_singleton"); } VisualScriptEngineSingleton::VisualScriptEngineSingleton() { |