You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +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:
@@ -58,7 +58,7 @@ void SampleLibraryEditor::_notification(int p_what) {
|
||||
|
||||
if (p_what==NOTIFICATION_READY) {
|
||||
|
||||
// NodePath("/root")->connect("node_removed", this,"_node_removed",Vector<Variant>(),true);
|
||||
//NodePath("/root")->connect("node_removed", this,"_node_removed",Vector<Variant>(),true);
|
||||
}
|
||||
|
||||
if (p_what==NOTIFICATION_DRAW) {
|
||||
@@ -506,14 +506,14 @@ void SampleLibraryEditorPlugin::make_visible(bool p_visible) {
|
||||
//sample_library_editor->show();
|
||||
button->show();
|
||||
editor->make_bottom_panel_item_visible(sample_library_editor);
|
||||
// sample_library_editor->set_process(true);
|
||||
//sample_library_editor->set_process(true);
|
||||
} else {
|
||||
|
||||
if (sample_library_editor->is_visible_in_tree())
|
||||
editor->hide_bottom_panel();
|
||||
button->hide();
|
||||
|
||||
// sample_library_editor->set_process(false);
|
||||
//sample_library_editor->set_process(false);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -529,8 +529,8 @@ SampleLibraryEditorPlugin::SampleLibraryEditorPlugin(EditorNode *p_node) {
|
||||
button->hide();
|
||||
|
||||
//sample_library_editor->set_area_as_parent_rect();
|
||||
// sample_library_editor->set_anchor( MARGIN_TOP, Control::ANCHOR_END);
|
||||
// sample_library_editor->set_margin( MARGIN_TOP, 120 );
|
||||
//sample_library_editor->set_anchor( MARGIN_TOP, Control::ANCHOR_END);
|
||||
//sample_library_editor->set_margin( MARGIN_TOP, 120 );
|
||||
//sample_library_editor->hide();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user