Merge pull request #37699 from lupoDharkael/committing-typo

Replace is_commiting_action with is_committing_action
This commit is contained in:
Rémi Verschelde 2020-04-10 11:47:19 +02:00 committed by GitHub
commit 95db658672
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -511,8 +511,7 @@ void UndoRedo::_bind_methods() {
ClassDB::bind_method(D_METHOD("create_action", "name", "merge_mode"), &UndoRedo::create_action, DEFVAL(MERGE_DISABLE)); ClassDB::bind_method(D_METHOD("create_action", "name", "merge_mode"), &UndoRedo::create_action, DEFVAL(MERGE_DISABLE));
ClassDB::bind_method(D_METHOD("commit_action"), &UndoRedo::commit_action); ClassDB::bind_method(D_METHOD("commit_action"), &UndoRedo::commit_action);
// FIXME: Typo in "commiting", fix in 4.0 when breaking compat. ClassDB::bind_method(D_METHOD("is_committing_action"), &UndoRedo::is_committing_action);
ClassDB::bind_method(D_METHOD("is_commiting_action"), &UndoRedo::is_committing_action);
{ {
MethodInfo mi; MethodInfo mi;

View File

@ -155,7 +155,7 @@
Returns [code]true[/code] if an "undo" action is available. Returns [code]true[/code] if an "undo" action is available.
</description> </description>
</method> </method>
<method name="is_commiting_action" qualifiers="const"> <method name="is_committing_action" qualifiers="const">
<return type="bool"> <return type="bool">
</return> </return>
<description> <description>