From f4cb16cc2d39d9dfe51858b966d8837cb2a18cc7 Mon Sep 17 00:00:00 2001
From: ROllerozxa <rollerozxa@voxelmanip.se>
Date: Fri, 26 May 2023 13:48:37 +0200
Subject: [PATCH] Disable `desynchronize_mapblock_texture_animation` by default
 (#13514)

---
 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 3dd9767a1..4d73e367c 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -1667,7 +1667,7 @@ enable_vbo (VBO) bool true
 cloud_radius (Cloud radius) int 12 1 62
 
 #    Whether node texture animations should be desynchronized per mapblock.
-desynchronize_mapblock_texture_animation (Desynchronize block animation) bool true
+desynchronize_mapblock_texture_animation (Desynchronize block animation) bool false
 
 #    Enables caching of facedir rotated meshes.
 enable_mesh_cache (Mesh cache) bool false
diff --git a/minetest.conf.example b/minetest.conf.example
index cabf96e64..02433473d 100644
--- a/minetest.conf.example
+++ b/minetest.conf.example
@@ -2681,7 +2681,7 @@
 
 #    Whether node texture animations should be desynchronized per mapblock.
 #    type: bool
-# desynchronize_mapblock_texture_animation = true
+# desynchronize_mapblock_texture_animation = false
 
 #    Enables caching of facedir rotated meshes.
 #    type: bool
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp
index c19ceba72..cccffda1f 100644
--- a/src/defaultsettings.cpp
+++ b/src/defaultsettings.cpp
@@ -231,7 +231,7 @@ void set_default_settings()
 	settings->setDefault("gui_scaling", "1.0");
 	settings->setDefault("gui_scaling_filter", "false");
 	settings->setDefault("gui_scaling_filter_txr2img", "true");
-	settings->setDefault("desynchronize_mapblock_texture_animation", "true");
+	settings->setDefault("desynchronize_mapblock_texture_animation", "false");
 	settings->setDefault("hud_hotbar_max_width", "1.0");
 	settings->setDefault("enable_local_map_saving", "false");
 	settings->setDefault("show_entity_selectionbox", "false");