have objects be hidden by default

This commit is contained in:
Corwin Kuiper 2021-06-05 22:14:08 +01:00
parent e8bc714d74
commit eb352085f1

View file

@ -238,11 +238,13 @@ impl AffineMatrix<'_> {
impl ObjectAttribute { impl ObjectAttribute {
fn new() -> Self { fn new() -> Self {
ObjectAttribute { let mut o = ObjectAttribute {
a0: 0, a0: 0,
a1: 0, a1: 0,
a2: 0, a2: 0,
} };
o.set_mode(Mode::Hidden);
o
} }
} }