Merge pull request #11259 from RaTi17/master

Fix 2 typos, rename "/constant" to "constant"

[ci skip]
This commit is contained in:
Rémi Verschelde 2017-09-14 11:43:30 +02:00 committed by GitHub
commit 395eb7a3ad
2 changed files with 2 additions and 2 deletions

View file

@ -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>

View file

@ -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() {