feat(rt): allow rendering of points in RT Struct (#4128)

This commit is contained in:
Ibrahim authored and GitHub committed 2024-05-21 17:23:18 -04:00
1 parent ebe39cb8e6
commit 5903b0749a
6 files changed
+60 -8

No files matched your search

+5 -1
View File
@@ -249,7 +249,11 @@ export default async function init({
element.addEventListener(EVENTS.CAMERA_RESET, evt => {
const { element } = evt.detail;
const { viewportId } = getEnabledElement(element);
const enabledElement = getEnabledElement(element);
if (!enabledElement) {
return;
}
const { viewportId } = enabledElement;
commandsManager.runCommand('resetCrosshairs', { viewportId });
});