Skip to content

Commit 0880b80

Browse files
committed
serde magic for backface_color
1 parent 0597fc9 commit 0880b80

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modeling-cmds/src/def_enum.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,7 @@ define_modeling_cmd_enum! {
803803
/// Ambient Occlusion of the new material
804804
pub ambient_occlusion: f32,
805805
/// Color of the backface
806+
#[serde(default, skip_serializing_if = "Option::is_none")]
806807
pub backface_color: Option<Color>,
807808
}
808809
/// What type of entity is this?

0 commit comments

Comments
 (0)