CBOR: Fixes
This commit is contained in:
@@ -719,13 +719,11 @@ namespace {
|
||||
GetCBORUInt64Array(value, message.az_int_profile_count);
|
||||
else if (key == "indexing_result")
|
||||
message.indexing_result = GetCBORBool(value);
|
||||
else if (key == "indexing_lattice_count")
|
||||
message.indexing_lattice_count = GetCBORUInt(value);
|
||||
else if (key == "indexing_lattice") {
|
||||
std::vector<float> tmp;
|
||||
GetCBORFloatArray(value, tmp);
|
||||
message.indexing_lattice = CrystalLattice(tmp);
|
||||
} else if (key == "extra_lattices") {
|
||||
} else if (key == "indexing_extra_lattices") {
|
||||
size_t array_len = GetCBORArrayLen(value);
|
||||
CborValue array_value;
|
||||
cborErr(cbor_value_enter_container(&value, &array_value));
|
||||
@@ -1421,7 +1419,7 @@ namespace {
|
||||
message.rotation_lattice = CrystalLattice(tmp);
|
||||
} else if (key == "rotation_lattice_type")
|
||||
message.rotation_lattice_type = GetCBORLatticeMessage(value);
|
||||
else if (key == "extra_lattices") {
|
||||
else if (key == "rotation_extra_lattices") {
|
||||
size_t array_len = GetCBORArrayLen(value);
|
||||
CborValue array_value;
|
||||
cborErr(cbor_value_enter_container(&value, &array_value));
|
||||
|
||||
Reference in New Issue
Block a user