From 49a62d6a3bc64ef3a7af0857e874eee6f9244dc0 Mon Sep 17 00:00:00 2001 From: "Asad M. Zaman" Date: Tue, 5 Jun 2007 00:16:09 +0000 Subject: [PATCH] we started initializing matrices; so changed code to follow the matrix consturcts --- direct/src/directtools/DirectSelection.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/direct/src/directtools/DirectSelection.py b/direct/src/directtools/DirectSelection.py index 2736de8291..3507b927b1 100644 --- a/direct/src/directtools/DirectSelection.py +++ b/direct/src/directtools/DirectSelection.py @@ -260,8 +260,7 @@ class DirectBoundingBox: def computeTightBounds(self): # Compute bounding box using tighter calcTightBounds function # Need to clear out existing transform on node path - tMat = Mat4() - tMat.assign(self.nodePath.getMat()) + tMat = Mat4(self.nodePath.getMat()) self.nodePath.clearMat() # Get bounds self.min = Point3(0)