Add Layered Textures tooltip

This commit is contained in:
JannisX11 2020-12-30 22:27:12 +01:00
parent f27fab6c1f
commit 74e52d5a16
3 changed files with 4 additions and 0 deletions

View File

@ -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
}

View File

@ -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() {

View File

@ -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",