Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
illuna-minetest
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Illuna-Minetest
illuna-minetest
Commits
eb6b6ff3
Commit
eb6b6ff3
authored
10 years ago
by
Jean-Patrick Guerrero
Committed by
sapier
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add missing return value for filter/mipmap dropdown in mainmenu
parent
516f1bcd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
builtin/mainmenu/tab_settings.lua
+6
-0
6 additions, 0 deletions
builtin/mainmenu/tab_settings.lua
with
6 additions
and
0 deletions
builtin/mainmenu/tab_settings.lua
+
6
−
0
View file @
eb6b6ff3
...
...
@@ -343,26 +343,32 @@ local function handle_settings_buttons(this, fields, tabname, tabdata)
if
fields
[
"dd_filters"
]
==
"No Filter"
then
core
.
setting_set
(
"bilinear_filter"
,
"false"
)
core
.
setting_set
(
"trilinear_filter"
,
"false"
)
ddhandled
=
true
end
if
fields
[
"dd_filters"
]
==
"Bilinear Filter"
then
core
.
setting_set
(
"bilinear_filter"
,
"true"
)
core
.
setting_set
(
"trilinear_filter"
,
"false"
)
ddhandled
=
true
end
if
fields
[
"dd_filters"
]
==
"Trilinear Filter"
then
core
.
setting_set
(
"bilinear_filter"
,
"false"
)
core
.
setting_set
(
"trilinear_filter"
,
"true"
)
ddhandled
=
true
end
if
fields
[
"dd_mipmap"
]
==
"No Mipmap"
then
core
.
setting_set
(
"mip_map"
,
"false"
)
core
.
setting_set
(
"anisotropic_filter"
,
"false"
)
ddhandled
=
true
end
if
fields
[
"dd_mipmap"
]
==
"Mipmap"
then
core
.
setting_set
(
"mip_map"
,
"true"
)
core
.
setting_set
(
"anisotropic_filter"
,
"false"
)
ddhandled
=
true
end
if
fields
[
"dd_mipmap"
]
==
"Mipmap + Aniso. Filter"
then
core
.
setting_set
(
"mip_map"
,
"true"
)
core
.
setting_set
(
"anisotropic_filter"
,
"true"
)
ddhandled
=
true
end
return
ddhandled
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment