diff --git a/common.go b/common.go index 698ec4f..721eb6e 100644 --- a/common.go +++ b/common.go @@ -11,7 +11,7 @@ import ( "time" ) -const version = "0.98.352-experimental1" +const version = "0.98.353-experimental1" const appDisplayName = "Projection Mapper - Built by Instinct" diff --git a/effect_browser_live352_windows.go b/effect_browser_live352_windows.go index bff8f4a..2667b4c 100644 --- a/effect_browser_live352_windows.go +++ b/effect_browser_live352_windows.go @@ -21,7 +21,8 @@ func (a *app) browseLiveRefresh352(page int) func() { } pl, project, renderer := a.pl, a.pl.P, a.pl.R pl.mu.Lock() - busy := pl.paused || pl.blackout || pl.exportOwned || pl.calibrationPaused || pl.manualPumpkin != nil || pl.door != nil || pl.pumpkin != nil || pl.pumpkinAutoDark || (pl.demoRoom != nil && !pl.demoRoom.stopped) + // Pausing the saved show freezes its clock, not temporary preview output. + busy := pl.blackout || pl.exportOwned || pl.calibrationPaused || pl.manualPumpkin != nil || pl.door != nil || pl.pumpkin != nil || pl.pumpkinAutoDark || (pl.demoRoom != nil && !pl.demoRoom.stopped) pl.mu.Unlock() if busy { return nil diff --git a/effect_browser_live352_windows_test.go b/effect_browser_live352_windows_test.go index f8fd65e..75aad56 100644 --- a/effect_browser_live352_windows_test.go +++ b/effect_browser_live352_windows_test.go @@ -80,3 +80,35 @@ func Test352StaleRefreshDoesNotReplaceNewOwner(t *testing.T) { t.Fatal("stale refresh replaced successor") } } + +// Saved-show pause does not turn off an owned temporary projector preview. +func Test353PausedShowStillRefreshesActivePreview(t *testing.T) { + a, _ := qFixture(t) + oldPage := U.page + defer func() { U.page = oldPage }() + U.page = roomFiltersPageIdx + physicsStopped.Store(false) + a.pl.SetPaused(true) + a.pl.SetBlackout(false) + items, _ := a.effectCatalog326(U.page) + if len(items) < 2 { + t.Fatal("catalog") + } + a.effectSelect326(U.page, items[0].Key) + a.pl.R.SetPhysPreview(roomFilterAssignNow()) + before, _ := json.Marshal(a.pl.P) + a.browseCommand326(idBrowseNext326) + got, on := a.pl.R.PhysPreviewAssign() + want := roomFilterAssignNow() + if !on || got.Phys == nil || got.Phys.HX[0] != want.Phys.HX[0] { + t.Fatal("paused show left stale preview") + } + _, paused, _, _ := a.pl.State() + if !paused { + t.Fatal("selection resumed saved show") + } + after, _ := json.Marshal(a.pl.P) + if !bytes.Equal(before, after) { + t.Fatal("saved project changed") + } +} diff --git a/whatsnew_ui_win.go b/whatsnew_ui_win.go index cefc722..b7e5909 100644 --- a/whatsnew_ui_win.go +++ b/whatsnew_ui_win.go @@ -47,6 +47,7 @@ type whatsNewFeature struct { } var whatsNewFeatures = []whatsNewFeature{ + {"353: Preview follows selection while the saved show is paused", "Experimental. Native Windows and projector execution NOT RUN. Dual-webcam first-pattern timeout remains unresolved.", []string{"A paused saved-show clock does not turn off temporary preview output. Shared Previous, Next and filtered dropdown now refresh an already-active owned preview in that state without resuming the show.", "Stop, blackout, inactive/foreign preview and calibration guards remain."}, []string{"With the saved show paused, start a temporary preview and use Next/Previous. Stop it, browse again and confirm it stays stopped. Native execution remains unverified."}, ""}, {"352: Shared effect preview follows Previous and Next", "Experimental. Native Windows and projector tests NOT RUN. Dual-webcam first-pattern timeout remains unresolved.", []string{"Shared catalog Previous, Next and effect-picker selection now refresh an already-active temporary preview instead of only changing the selected label.", "Stopped, inactive and foreign previews are not started or replaced by browsing. Selection restoration stays metadata-only; no scene is saved.", "Scene-preview libraries tag their previews by tab so shared browsing can follow the correct owner."}, []string{"Start a preview, press Next and Previous, then Stop and browse again. The stopped show must remain stopped. No native execution claim from compile-only tests."}, ""}, {"351: Guided calibration handoff and usable outline canvas", "Experimental. Full Windows app and real camera/projector tests NOT RUN. Dual-webcam first-pattern timeout remains unresolved.", []string{"Guided Auto now creates and accepts its own fresh detected project before dot measurement, instead of silently adding to the old scene and stopping before calibration.", "Guided detection respects the Indoor/Outside setting from the first attempt. It no longer tries house detection first in an indoor room.", "The BIG VIEW outline photo and editing controls use separate columns, with object/type selection and Bigger/Smaller at the top.", "Click an outline in Live preview to select it; + and - resize it. Right-click keeps the existing type menu. Webcam-only preview stays pan/zoom because it is not registered to the saved outline photo.", "Dual-webcam timeout messages retain the last capture failure instead of discarding it; the hardware failure is not claimed fixed."}, []string{"Run Guided Auto once with the correct Indoor/Outside setting and send logs after it completes or stops. Do not treat the map as accurate until its measured check passes. No claim of physical alignment from software tests."}, ""}, {"350: Reviewed Antigravity floral and finite-input fixes", "Experimental. Native Windows, projector, audio and real-room tests NOT RUN.", []string{"Precomputed smooth mesh normals and 640x360 panels; up to12flowers across the first24authored contours, max3per shape, including sideways/diagonal artistic fitting. Fair allocation does not fill every object when more than12are fittable.", "Final mask uses a conservative interior guard. Projection sampling stays nearest-neighbor, not contributor bilinear filtering, to preserve exact black edges. No scan, live room tracking or camera-to-photo registration added.", "Floral state pointer avoids copying its mutex in audit snapshots. Finite UV/intensity guards added to shared GPU-frame sampling, Botanical, Chimera and Kiro. Chimera room-photo albedo interpolation improved. Seven formerly static Christmas shaders now animate; effect browser categories expanded. Unqualified AG100 parallelization and rejected343/345/Nexus lineages excluded."}, []string{"Use a project copy. Check narrow vertical/horizontal/diagonal objects, Stop/Blackout and frame profiler. Local CPU harness about10.7ms ordinary and28.0ms worst12contours per prepared panel, not rigFPS. 349 and347 retained."}, ""},