From 8510974d75e2032ede9013f10a1d0060d5702097 Mon Sep 17 00:00:00 2001 From: codex Date: Fri, 7 Aug 2026 15:29:35 +0300 Subject: [PATCH] feat: publish p-rec-annot 0.2.6 source navigation surface --- .../P_Rec_Annot/bundle/P_Rec_Annot.bundle/PackageContents.xml | 2 +- Plant3D2026/P_Rec_Annot/src/PRecAnnot.Plant3D2026/EntryPoint.cs | 1 + Plant3D2026/P_Rec_Annot/tools/Build-Bundle.ps1 | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Plant3D2026/P_Rec_Annot/bundle/P_Rec_Annot.bundle/PackageContents.xml b/Plant3D2026/P_Rec_Annot/bundle/P_Rec_Annot.bundle/PackageContents.xml index 5c984e9..92fa492 100644 --- a/Plant3D2026/P_Rec_Annot/bundle/P_Rec_Annot.bundle/PackageContents.xml +++ b/Plant3D2026/P_Rec_Annot/bundle/P_Rec_Annot.bundle/PackageContents.xml @@ -1,5 +1,5 @@ - + diff --git a/Plant3D2026/P_Rec_Annot/src/PRecAnnot.Plant3D2026/EntryPoint.cs b/Plant3D2026/P_Rec_Annot/src/PRecAnnot.Plant3D2026/EntryPoint.cs index 9e14771..36f5e5c 100644 --- a/Plant3D2026/P_Rec_Annot/src/PRecAnnot.Plant3D2026/EntryPoint.cs +++ b/Plant3D2026/P_Rec_Annot/src/PRecAnnot.Plant3D2026/EntryPoint.cs @@ -382,6 +382,7 @@ internal static class RibbonIntegration AddButton(source, "InsertElevation", "Insert elevation", "PXP-IE"); AddButton(source, "OrthoAnnotate", "Ortho annotate", "PXP-OA"); AddButton(source, "AnnotateView", "Annotate view", "PXP-AAV"); + AddButton(source, "ShowOrthoSource", "Show source in model", "PXP-OSI"); AddButton(source, "RemoveOrthoAnnotations", "Remove Ortho annotations", "PXP-RA"); AddButton(source, "ManualPalette", "Manual annotations", "mto-ma"); tab.Panels.Add(new RibbonPanel { Source = source }); diff --git a/Plant3D2026/P_Rec_Annot/tools/Build-Bundle.ps1 b/Plant3D2026/P_Rec_Annot/tools/Build-Bundle.ps1 index 4527771..c54f25a 100644 --- a/Plant3D2026/P_Rec_Annot/tools/Build-Bundle.ps1 +++ b/Plant3D2026/P_Rec_Annot/tools/Build-Bundle.ps1 @@ -16,6 +16,6 @@ $moduleManifestPath=Join-Path $bundleRoot 'Contents\module-manifest.json' $files=Get-ChildItem $bundleRoot -Recurse -File | Where-Object { $_.FullName -ne $moduleManifestPath } | Sort-Object FullName | ForEach-Object { [ordered]@{ relativePath=$_.FullName.Substring($bundleRoot.Length + 1).Replace('\','/'); sha256=(Get-FileHash $_.FullName -Algorithm SHA256).Hash.ToLowerInvariant(); required=$true } } -$manifest=[ordered]@{ schemaVersion=2; package='P_Rec_Annot'; version='0.2.5'; modules=$modules; assemblies=$assemblies; files=$files } +$manifest=[ordered]@{ schemaVersion=2; package='P_Rec_Annot'; version='0.2.6'; modules=$modules; assemblies=$assemblies; files=$files } $manifest | ConvertTo-Json -Depth 5 | Set-Content (Join-Path $bundleRoot 'Contents\module-manifest.json') -Encoding utf8 Write-Host 'Bundle assembly build completed; deployment is intentionally not performed.'