From 26e885ec9d6445460a05bc1ed8f9397f5ee23bfc Mon Sep 17 00:00:00 2001 From: cutlerjake <2jakers44@gmail.com> Date: Tue, 18 Aug 2026 15:27:10 -0300 Subject: [PATCH 1/2] Add per-particle damage flag to opd header --- src/lib.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 6825ab5..abc049f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -109,6 +109,11 @@ pub struct OpdHeaderDirective { #[serde(rename = "lastFrameCorrected")] pub last_frame_corrected: Option, + + /// Set when each centroid record carries per-particle damage columns + /// (`x50`, `undulation`, `xmax`, `severity`) after the optional volume column. + #[serde(rename = "hasDamage", skip_serializing_if = "Option::is_none")] + pub has_damage: Option, } #[derive(Deserialize, Debug, Serialize)] From b5b834ede8f9b824cda8e5460234b46e18e42f41 Mon Sep 17 00:00:00 2001 From: cutlerjake <2jakers44@gmail.com> Date: Tue, 18 Aug 2026 15:29:04 -0300 Subject: [PATCH 2/2] version bump --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 6fd60cd..875b95f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "opd-parser" description = "Parser for the OPD point cloud animation format" -version = "0.5.0" +version = "0.6.0" edition = "2021" authors = [ "Zhixing Zhang "