mirror of
https://codeberg.org/icewind/vmt-parser.git
synced 2026-06-03 12:04:06 +02:00
add missing default
This commit is contained in:
parent
88cb35fda6
commit
ca3db417d5
2 changed files with 2 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ pub struct LightMappedGenericMaterial {
|
||||||
pub translucent: bool,
|
pub translucent: bool,
|
||||||
|
|
||||||
/// Specifies a texture that will provide three-dimensional lighting information for a material.
|
/// Specifies a texture that will provide three-dimensional lighting information for a material.
|
||||||
#[serde(rename = "$bumpmap", deserialize_with = "deserialize_path")]
|
#[serde(rename = "$bumpmap", default, deserialize_with = "deserialize_path")]
|
||||||
pub bump_map: Option<String>,
|
pub bump_map: Option<String>,
|
||||||
/// Per-texel color modification via a warp texture.
|
/// Per-texel color modification via a warp texture.
|
||||||
#[serde(
|
#[serde(
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ pub struct WorldVertexTransitionMaterial {
|
||||||
/// Modulate the blending between materials using a special texture.
|
/// Modulate the blending between materials using a special texture.
|
||||||
#[serde(
|
#[serde(
|
||||||
rename = "$blendmodulatetexture",
|
rename = "$blendmodulatetexture",
|
||||||
|
default,
|
||||||
deserialize_with = "deserialize_path"
|
deserialize_with = "deserialize_path"
|
||||||
)]
|
)]
|
||||||
pub blend_modulate_texture: Option<String>,
|
pub blend_modulate_texture: Option<String>,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue