You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +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:
@@ -358,9 +358,11 @@ bool GDScript::get_property_default_value(const StringName& p_property, Variant
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
|
||||
//for (const Map<StringName,Variant>::Element *I=member_default_values.front();I;I=I->next()) {
|
||||
// print_line("\t"+String(String(I->key())+":"+String(I->get())));
|
||||
//}
|
||||
/*
|
||||
for (const Map<StringName,Variant>::Element *I=member_default_values.front();I;I=I->next()) {
|
||||
print_line("\t"+String(String(I->key())+":"+String(I->get())));
|
||||
}
|
||||
*/
|
||||
const Map<StringName,Variant>::Element *E=member_default_values_cache.find(p_property);
|
||||
if (E) {
|
||||
r_value=E->get();
|
||||
@@ -1862,7 +1864,7 @@ void GDScriptLanguage::reload_tool_script(const Ref<Script>& p_script,bool p_sof
|
||||
|
||||
void GDScriptLanguage::frame() {
|
||||
|
||||
// print_line("calls: "+itos(calls));
|
||||
//print_line("calls: "+itos(calls));
|
||||
calls=0;
|
||||
|
||||
#ifdef DEBUG_ENABLED
|
||||
|
||||
Reference in New Issue
Block a user