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:
@@ -114,10 +114,8 @@ bool CameraEditorPlugin::handles(Object *p_object) const {
|
||||
void CameraEditorPlugin::make_visible(bool p_visible) {
|
||||
|
||||
if (p_visible) {
|
||||
// SpatialEditor::get_singleton()->set_can_preview(p_object->cast_to<Camera>());
|
||||
|
||||
//SpatialEditor::get_singleton()->set_can_preview(p_object->cast_to<Camera>());
|
||||
} else {
|
||||
|
||||
SpatialEditor::get_singleton()->set_can_preview(NULL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user