mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Style: Fix whole-line commented code
They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
This commit is contained in:
parent
78e90ac60b
commit
93ab45b6b5
306 changed files with 1889 additions and 1535 deletions
|
|
@ -396,7 +396,7 @@ void VisualScriptFunctionCall::_update_method_cache() {
|
|||
}
|
||||
|
||||
|
||||
// print_line("BASE: "+String(type)+" FUNC: "+String(function));
|
||||
//print_line("BASE: "+String(type)+" FUNC: "+String(function));
|
||||
MethodBind *mb = ClassDB::get_method(type,function);
|
||||
if (mb) {
|
||||
use_default_args=mb->get_default_argument_count();
|
||||
|
|
@ -2508,7 +2508,7 @@ void register_visual_script_func_nodes() {
|
|||
VisualScriptLanguage::singleton->add_register_func("functions/get",create_node_generic<VisualScriptPropertyGet>);
|
||||
|
||||
//VisualScriptLanguage::singleton->add_register_func("functions/call_script/call_self",create_script_call_node<VisualScriptScriptCall::CALL_MODE_SELF>);
|
||||
// VisualScriptLanguage::singleton->add_register_func("functions/call_script/call_node",create_script_call_node<VisualScriptScriptCall::CALL_MODE_NODE_PATH>);
|
||||
//VisualScriptLanguage::singleton->add_register_func("functions/call_script/call_node",create_script_call_node<VisualScriptScriptCall::CALL_MODE_NODE_PATH>);
|
||||
VisualScriptLanguage::singleton->add_register_func("functions/emit_signal",create_node_generic<VisualScriptEmitSignal>);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue