aboutsummaryrefslogtreecommitdiff
path: root/builtin/mainmenu
diff options
context:
space:
mode:
authorSmallJoker <mk939@ymail.com>2021-10-16 19:21:53 +0200
committerHugues Ross <hugues.ross@gmail.com>2022-01-29 18:42:55 -0500
commita27362de6a66692b191f8db0eea13f8d9302cef6 (patch)
treed9564f08d6c280c56686e2017c2609f917df2d8b /builtin/mainmenu
parent66e8aae9f2a28ee31ffe30694fdb61a8fdceb8d7 (diff)
downloadminetest-a27362de6a66692b191f8db0eea13f8d9302cef6.tar.gz
minetest-a27362de6a66692b191f8db0eea13f8d9302cef6.tar.bz2
minetest-a27362de6a66692b191f8db0eea13f8d9302cef6.zip
Disable dynamic shadows for the 5.5.0 release
The dynamic shadows are yet not in the desired state to justify the inclusion into version 5.5.0. A stable release is long overdue, hence this allows fixes to continue in 5.6.0-dev to finally release an acceptable version of the dynamic shadows feature. Reverting this commit is highly recommended to proceed in development.
Diffstat (limited to 'builtin/mainmenu')
-rw-r--r--builtin/mainmenu/tab_settings.lua14
1 files changed, 7 insertions, 7 deletions
diff --git a/builtin/mainmenu/tab_settings.lua b/builtin/mainmenu/tab_settings.lua
index 42f7f8daf..700b7390f 100644
--- a/builtin/mainmenu/tab_settings.lua
+++ b/builtin/mainmenu/tab_settings.lua
@@ -218,10 +218,10 @@ local function formspec(tabview, name, tabdata)
"checkbox[8.25,1.5;cb_waving_leaves;" .. fgettext("Waving Leaves") .. ";"
.. dump(core.settings:get_bool("enable_waving_leaves")) .. "]" ..
"checkbox[8.25,2;cb_waving_plants;" .. fgettext("Waving Plants") .. ";"
- .. dump(core.settings:get_bool("enable_waving_plants")) .. "]"..
- "label[8.25,3.0;" .. fgettext("Dynamic shadows: ") .. "]" ..
- "dropdown[8.25,3.5;3.5;dd_shadows;" .. dd_options.shadow_levels[1] .. ";"
- .. getSettingIndex.ShadowMapping() .. "]"
+ .. dump(core.settings:get_bool("enable_waving_plants")) .. "]"
+ --"label[8.25,3.0;" .. fgettext("Dynamic shadows: ") .. "]" ..
+ --"dropdown[8.25,3.5;3.5;dd_shadows;" .. dd_options.shadow_levels[1] .. ";"
+ -- .. getSettingIndex.ShadowMapping() .. "]"
else
tab_string = tab_string ..
"label[8.38,0.7;" .. core.colorize("#888888",
@@ -231,9 +231,9 @@ local function formspec(tabview, name, tabdata)
"label[8.38,1.7;" .. core.colorize("#888888",
fgettext("Waving Leaves")) .. "]" ..
"label[8.38,2.2;" .. core.colorize("#888888",
- fgettext("Waving Plants")) .. "]"..
- "label[8.38,2.7;" .. core.colorize("#888888",
- fgettext("Dynamic shadows")) .. "]"
+ fgettext("Waving Plants")) .. "]"
+ --"label[8.38,2.7;" .. core.colorize("#888888",
+ -- fgettext("Dynamic shadows")) .. "]"
end
return tab_string