mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-01-30 15:42:42 +08:00
Add Layered Textures tooltip
This commit is contained in:
parent
f27fab6c1f
commit
74e52d5a16
@ -126,6 +126,7 @@ new Property(ModelProject, 'vector', 'visible_box', {
|
||||
});
|
||||
new Property(ModelProject, 'boolean', 'layered_textures', {
|
||||
label: 'dialog.project.layered_textures',
|
||||
description: 'dialog.project.layered_textures.desc',
|
||||
condition() {return Format.single_texture}
|
||||
});
|
||||
|
||||
@ -172,6 +173,7 @@ BARS.defineActions(function() {
|
||||
|
||||
let entry = form[property.name] = {
|
||||
label: property.label,
|
||||
description: property.description,
|
||||
value: Project[property.name],
|
||||
type: property.type
|
||||
}
|
||||
|
@ -51,6 +51,7 @@ class Property {
|
||||
if (options.condition) this.condition = options.condition;
|
||||
if (options.exposed == false) this.exposed = false;
|
||||
if (options.label) this.label = options.label;
|
||||
if (options.description) this.description = options.description;
|
||||
if (options.options) this.options = options.options;
|
||||
}
|
||||
delete() {
|
||||
|
@ -250,6 +250,7 @@
|
||||
"dialog.project.modded_entity_version": "Export Version",
|
||||
"dialog.project.ao": "Ambient Occlusion",
|
||||
"dialog.project.layered_textures": "Layered Textures",
|
||||
"dialog.project.layered_textures.desc": "Enable preview mode for layered textures. Allows you to see up to 3 textures layered on top of each other.",
|
||||
"dialog.project.uv_mode": "UV Mode",
|
||||
"dialog.project.uv_mode.box_uv": "Box UV",
|
||||
"dialog.project.uv_mode.face_uv": "Per-face UV",
|
||||
|
Loading…
Reference in New Issue
Block a user