From 1c1f1b161512fea8a04fade4db274fa11659bf68 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Sun, 2 Apr 2023 20:55:32 +0200 Subject: [PATCH] Revert "Enable connected glass by default (#13242)" This reverts commit a93f3542d92e87c3d728f067358e6f42b31cfe96 for the upcoming 5.7.0 release. See https://github.com/minetest/minetest/issues/8290 for a detailed discussion. --- builtin/settingtypes.txt | 2 +- minetest.conf.example | 2 +- src/defaultsettings.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index ea90c30d0..054c37bd2 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -185,7 +185,7 @@ opaque_water (Opaque liquids) bool false leaves_style (Leaves style) enum fancy fancy,simple,opaque # Connects glass if supported by node. -connected_glass (Connect glass) bool true +connected_glass (Connect glass) bool false # Enable smooth lighting with simple ambient occlusion. # Disable for speed or for different looks. diff --git a/minetest.conf.example b/minetest.conf.example index 7f79ca493..41cbdca22 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -165,7 +165,7 @@ # Connects glass if supported by node. # type: bool -# connected_glass = true +# connected_glass = false # Enable smooth lighting with simple ambient occlusion. # Disable for speed or for different looks. diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index 01ee1a8a1..29449d9d0 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -196,7 +196,7 @@ void set_default_settings() settings->setDefault("vsync", "false"); settings->setDefault("fov", "72"); settings->setDefault("leaves_style", "fancy"); - settings->setDefault("connected_glass", "true"); + settings->setDefault("connected_glass", "false"); settings->setDefault("smooth_lighting", "true"); settings->setDefault("performance_tradeoffs", "false"); settings->setDefault("lighting_alpha", "0.0");