From 3b13fa5b6410d317c65c015e442eb4764bce4494 Mon Sep 17 00:00:00 2001 From: Hakan Seven Date: Sun, 18 Oct 2026 06:11:17 +0300 Subject: [PATCH] Build: follow the codec's Block Properties Table types 0d625bbe5 moved the codec to 12d68e4, which adds DynamicBlockData::PropertiesTable and BlockPropertiesTableValue. The plugin API's type registry did not list the new enum, so its build script stopped the workspace build, and the object data panel had no arm for the new variant. Co-Authored-By: Claude Opus 5.5 --- crates/ocs_plugin_api/build.rs | 4 ++++ src/entities/object_data.rs | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/crates/ocs_plugin_api/build.rs b/crates/ocs_plugin_api/build.rs index 8d838c605..b55880a48 100644 --- a/crates/ocs_plugin_api/build.rs +++ b/crates/ocs_plugin_api/build.rs @@ -193,6 +193,10 @@ fn generate_type_registry(out_dir: &Path) { "BlockEvalValue", trace_simple::, ), + ( + "BlockPropertiesTableValue", + trace_simple::, + ), ("BorderType", trace_simple::), ( "BoundaryEdge", diff --git a/src/entities/object_data.rs b/src/entities/object_data.rs index 71f9116bd..0ad60eae0 100644 --- a/src/entities/object_data.rs +++ b/src/entities/object_data.rs @@ -532,6 +532,11 @@ fn dynamic_data_text(data: &DynamicBlockData) -> String { value.value_set.increment, value.value_set.values.len() ), + DynamicBlockData::PropertiesTable(value) => format!( + "{}; fields {}", + value.parameter.parameter.element.name, + value.fields.len() + ), DynamicBlockData::LookupParameter(value) => format!( "{}; {} index {}; description {}", value.parameter.parameter.element.name,