From 06f7d66326668031c7e5293be90e7c7eb9f372c3 Mon Sep 17 00:00:00 2001 From: Matthias Goerner <1239022+unhyperbolic@users.noreply.github.com> Date: Tue, 7 Nov 2023 00:58:38 -0800 Subject: [PATCH] Inside view eyeball/spaceship: making it work outside of SageMath. --- python/raytracing/eyeball.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/raytracing/eyeball.py b/python/raytracing/eyeball.py index 8c8bcbec..97919875 100644 --- a/python/raytracing/eyeball.py +++ b/python/raytracing/eyeball.py @@ -48,7 +48,9 @@ def get_uniform_bindings(self): boost, tet_num, current_weight = self.view_state - RF = boost[0][0].parent() + RF = self.raytracing_view.raytracing_data.RF + + boost = matrix(boost, ring=RF) base_point = vector([b[0] for b in boost])