From c612bc0e52de1556b4489ccb045745a031e6a1c7 Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 29 Mar 2001 22:28:02 +0000 Subject: [PATCH] *** empty log message *** --- panda/src/mathutil/look_at.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/panda/src/mathutil/look_at.cxx b/panda/src/mathutil/look_at.cxx index ff7df16b80..ad21fe2450 100644 --- a/panda/src/mathutil/look_at.cxx +++ b/panda/src/mathutil/look_at.cxx @@ -56,6 +56,10 @@ template static void _heads_up(LMatrix3 &mat, const LVector3 &fwd, const LVector3 &up, CoordinateSystem cs) { + if (cs == CS_default) { + cs = default_coordinate_system; + } + if (cs == CS_zup_right || cs == CS_zup_left) { // Z-up.