summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-09-14 11:43:30 +0200
committerGitHub <noreply@github.com>2017-09-14 11:43:30 +0200
commit395eb7a3adc3a5fb9bec4ba846fcf789a0eeac28 (patch)
treeeeff90431d481d39c9bfc07970762d540bf3d4b7
parent3f4062c7083d51c2d5375baee3a7e42bcd591e16 (diff)
parentca5abae1e7011e12960cc636544e621dfa6ad904 (diff)
Merge pull request #11259 from RaTi17/master
Fix 2 typos, rename "/constant" to "constant" [ci skip]
-rw-r--r--doc/classes/VisualScriptEngineSingleton.xml2
-rw-r--r--modules/visual_script/visual_script_nodes.cpp2
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() {