From a93f3542d92e87c3d728f067358e6f42b31cfe96 Mon Sep 17 00:00:00 2001 From: PrairieWind <61390218+PrairieAstronomer@users.noreply.github.com> Date: Thu, 2 Mar 2023 11:56:55 -0700 Subject: [PATCH] Enable connected glass by default (#13242) --- 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 3645c16cd..262e5ba50 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 false +connected_glass (Connect glass) bool true # 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 bbabf98d5..d03324694 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -165,7 +165,7 @@ # Connects glass if supported by node. # type: bool -# connected_glass = false +# connected_glass = true # 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 62c5e3310..8e25eab81 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -195,7 +195,7 @@ void set_default_settings() settings->setDefault("vsync", "false"); settings->setDefault("fov", "72"); settings->setDefault("leaves_style", "fancy"); - settings->setDefault("connected_glass", "false"); + settings->setDefault("connected_glass", "true"); settings->setDefault("smooth_lighting", "true"); settings->setDefault("performance_tradeoffs", "false"); settings->setDefault("lighting_alpha", "0.0");