mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
refactor(cctv): isolate native rendering resources
Keep shared CCTV logic independent of Cesium, release the original renderer's resources, and guard retired initialization/media work. Preserve native marker, plane, volume, calibration and input behavior. Record keyless dev/preview validation and retain unresolved shell idle/terrain and photoreal acceptance gaps. Routine QA builds use empty Google and Cesium credentials and block paid maps before navigation.
This commit is contained in:
1 parent
f72bf6a774
commit
93c71ffc86
32 files changed
+1536
-740
No files matched your search
+10
-1
@@ -305,6 +305,15 @@ test('default COVERAGE refresh materializes the active and visible camera frustu
|
||||
inserted.push(entity);
|
||||
return entity;
|
||||
},
|
||||
getById(id) {
|
||||
return inserted.find((entity) => entity.id === id);
|
||||
},
|
||||
remove(entity) {
|
||||
const index = inserted.indexOf(entity);
|
||||
if (index < 0) return false;
|
||||
inserted.splice(index, 1);
|
||||
return true;
|
||||
},
|
||||
},
|
||||
};
|
||||
const activeRecord = records.at(-1);
|
||||
@@ -966,7 +975,7 @@ test('CCTV repeated in-world clicks dispatch focus only for the one real activat
|
||||
assert.deepEqual(requests, [{ cameraId: 'atx-cam-3' }]);
|
||||
assert.match(
|
||||
componentFunctionSource(cctvLayer.init),
|
||||
/bindCctvWorldClickGesture\(_clickHandler/,
|
||||
/_removeClick = bindClick\(/,
|
||||
);
|
||||
assert.match(
|
||||
componentFunctionSource(cctvLayer.init),
|
||||
|
||||
Reference in new issue
Block a user