Browse Source

flatten shouldn't scale effective normal

David Rose 22 years ago
parent
commit
4d3451edab
1 changed files with 1 additions and 0 deletions
  1. 1 0
      panda/src/collide/collisionSolid.cxx

+ 1 - 0
panda/src/collide/collisionSolid.cxx

@@ -91,6 +91,7 @@ void CollisionSolid::
 xform(const LMatrix4f &mat) {
   if (has_effective_normal()) {
     _effective_normal = _effective_normal * mat;
+    _effective_normal.normalize();
   }
 
   mark_viz_stale();