mirror of
https://github.com/godotengine/godot-visual-script.git
synced 2026-01-03 10:09:19 +03:00
Fixes small typos and grammar correction
This commit is contained in:
@@ -1369,7 +1369,7 @@ void VisualScriptInstance::_dependency_step(VisualScriptNodeInstance *node, int
|
||||
// Is a default value (unassigned input port).
|
||||
input_args[i] = &default_values[index];
|
||||
} else {
|
||||
// Rregular temporary in stack.
|
||||
// Regular temporary in stack.
|
||||
input_args[i] = &variant_stack[index];
|
||||
}
|
||||
}
|
||||
@@ -1391,7 +1391,7 @@ Variant VisualScriptInstance::_call_internal(const StringName &p_method, void *p
|
||||
ERR_FAIL_COND_V(!F, Variant());
|
||||
Function *f = &F->get();
|
||||
|
||||
// This call goes separate, so it can e yielded and suspended.
|
||||
// This call goes separate, so it can be yielded and suspended.
|
||||
Variant *variant_stack = (Variant *)p_stack;
|
||||
bool *sequence_bits = (bool *)(variant_stack + f->max_stack);
|
||||
const Variant **input_args = (const Variant **)(sequence_bits + f->node_count);
|
||||
|
||||
@@ -3958,7 +3958,7 @@ void VisualScriptEditor::_menu_option(int p_what) {
|
||||
if (start_node == -1) {
|
||||
// If we still don't have a start node then,
|
||||
// run through the nodes and select the first tree node,
|
||||
// ie node without any input sequence but output sequence.
|
||||
// i.e. node without any input sequence but output sequence.
|
||||
for (Set<int>::Element *E = nodes_from.front(); E; E = E->next()) {
|
||||
if (!nodes_to.has(E->get())) {
|
||||
start_node = E->get();
|
||||
|
||||
@@ -1054,7 +1054,7 @@ VisualScriptExpression::ENode *VisualScriptExpression::_parse_expression() {
|
||||
}
|
||||
}
|
||||
|
||||
/* Reduce the set set of expressions and place them in an operator tree, respecting precedence */
|
||||
/* Reduce the set of expressions and place them in an operator tree, respecting precedence */
|
||||
|
||||
while (expression.size() > 1) {
|
||||
int next_op = -1;
|
||||
|
||||
@@ -800,7 +800,7 @@ public:
|
||||
}
|
||||
|
||||
if (!ResourceCache::has(script)) {
|
||||
//if the script is not in use by anyone, we can safely assume whathever we got is not casting to it.
|
||||
//if the script is not in use by anyone, we can safely assume whatever we got is not casting to it.
|
||||
return 1;
|
||||
}
|
||||
Ref<Script> cast_script = Ref<Resource>(ResourceCache::get(script));
|
||||
|
||||
@@ -547,7 +547,7 @@ void VisualScriptFunctionCall::_validate_property(PropertyInfo &property) const
|
||||
} else {
|
||||
Node *bnode = _get_base_node();
|
||||
if (bnode) {
|
||||
property.hint_string = bnode->get_path(); //convert to loong string
|
||||
property.hint_string = bnode->get_path(); //convert to long string
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1292,7 +1292,7 @@ void VisualScriptPropertySet::_validate_property(PropertyInfo &property) const {
|
||||
} else {
|
||||
Node *bnode = _get_base_node();
|
||||
if (bnode) {
|
||||
property.hint_string = bnode->get_path(); //convert to loong string
|
||||
property.hint_string = bnode->get_path(); //convert to long string
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1970,7 +1970,7 @@ void VisualScriptPropertyGet::_validate_property(PropertyInfo &property) const {
|
||||
} else {
|
||||
Node *bnode = _get_base_node();
|
||||
if (bnode) {
|
||||
property.hint_string = bnode->get_path(); //convert to loong string
|
||||
property.hint_string = bnode->get_path(); //convert to long string
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -425,7 +425,7 @@ void VisualScriptYieldSignal::_validate_property(PropertyInfo &property) const {
|
||||
} else {
|
||||
Node *bnode = _get_base_node();
|
||||
if (bnode) {
|
||||
property.hint_string = bnode->get_path(); //convert to loong string
|
||||
property.hint_string = bnode->get_path(); //convert to long string
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user