mirror of
https://github.com/godotengine/godot.git
synced 2025-01-30 21:33:18 +08:00
Remove the obsolete "2D Pixel" import preset
Texture filtering is now defined on a per-node basis, thanks to bindless textures provided by Vulkan. This closes #37057.
This commit is contained in:
parent
79947dfef1
commit
26161de739
@ -181,15 +181,14 @@ bool ResourceImporterTexture::get_option_visibility(const String &p_option, cons
|
|||||||
}
|
}
|
||||||
|
|
||||||
int ResourceImporterTexture::get_preset_count() const {
|
int ResourceImporterTexture::get_preset_count() const {
|
||||||
return 4;
|
return 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
String ResourceImporterTexture::get_preset_name(int p_idx) const {
|
String ResourceImporterTexture::get_preset_name(int p_idx) const {
|
||||||
static const char *preset_names[] = {
|
static const char *preset_names[] = {
|
||||||
"2D, Detect 3D",
|
"2D/3D (Auto-Detect)",
|
||||||
"2D",
|
"2D",
|
||||||
"2D Pixel",
|
"3D",
|
||||||
"3D"
|
|
||||||
};
|
};
|
||||||
|
|
||||||
return preset_names[p_idx];
|
return preset_names[p_idx];
|
||||||
|
@ -93,7 +93,6 @@ public:
|
|||||||
enum Preset {
|
enum Preset {
|
||||||
PRESET_DETECT,
|
PRESET_DETECT,
|
||||||
PRESET_2D,
|
PRESET_2D,
|
||||||
PRESET_2D_PIXEL,
|
|
||||||
PRESET_3D,
|
PRESET_3D,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user