types: skip TLV checks on lights
parent
d8bb1fe7d9
commit
73f6caaf48
|
@ -331,7 +331,7 @@ impl gmi::Serializable for Object {
|
||||||
let (res, check) = match (tlv.tag, tlv.flags) {
|
let (res, check) = match (tlv.tag, tlv.flags) {
|
||||||
(2, 4) => (Object::Geometry(r.read("geometry")?), false),
|
(2, 4) => (Object::Geometry(r.read("geometry")?), false),
|
||||||
(4, 2) => (Object::Camera(r.read("camera")?), false),
|
(4, 2) => (Object::Camera(r.read("camera")?), false),
|
||||||
(5, 3) => (Object::Light(r.read("light")?), true),
|
(5, 3) => (Object::Light(r.read("light")?), false),
|
||||||
(21, 2) => (Object::AttachmentPoint(r.read("attachmentpoint")?), true),
|
(21, 2) => (Object::AttachmentPoint(r.read("attachmentpoint")?), true),
|
||||||
(30, 2) => (Object::Simulation(r.read("simulation")?), false),
|
(30, 2) => (Object::Simulation(r.read("simulation")?), false),
|
||||||
(31, 4) => (Object::RBCollection(r.read("rigidbodycollection")?), true),
|
(31, 4) => (Object::RBCollection(r.read("rigidbodycollection")?), true),
|
||||||
|
|
Loading…
Reference in New Issue