Remove dead code hiding spectator ROIs during camera animations

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Christian Semmler 2026-03-27 11:18:28 -07:00
parent 32fd90d804
commit 32b2834c0b
No known key found for this signature in database
GPG Key ID: 086DAA1360BEEE5C

View File

@ -299,12 +299,6 @@ void ScenePlayer::Play(
m_hasCamAnim = (!m_observerMode && m_category == e_camAnim && m_currentData->anim->GetCamAnim() != nullptr); m_hasCamAnim = (!m_observerMode && m_category == e_camAnim && m_currentData->anim->GetCamAnim() != nullptr);
if (m_category == e_camAnim && !m_observerMode) { if (m_category == e_camAnim && !m_observerMode) {
for (auto& p : m_participants) {
if (p.IsSpectator()) {
p.roi->SetVisibility(FALSE);
}
}
// Hide the player's ride vehicle — it would remain visible at the // Hide the player's ride vehicle — it would remain visible at the
// pre-animation position while the player is teleported // pre-animation position while the player is teleported
LegoROI* localVehicle = m_participants[0].vehicleROI; LegoROI* localVehicle = m_participants[0].vehicleROI;