Browse Source

be even less fussy about paranoid checking

David Rose 23 years ago
parent
commit
86c1f62b77
1 changed files with 2 additions and 2 deletions
  1. 2 2
      panda/src/pgraph/transformState.cxx

+ 2 - 2
panda/src/pgraph/transformState.cxx

@@ -709,7 +709,7 @@ do_compose(const TransformState *other) const {
     if (paranoid_compose) {
     if (paranoid_compose) {
       // Now verify against the matrix.
       // Now verify against the matrix.
       LMatrix4f new_mat = other->get_mat() * get_mat();
       LMatrix4f new_mat = other->get_mat() * get_mat();
-      if (!new_mat.almost_equal(result->get_mat(), 0.001)) {
+      if (!new_mat.almost_equal(result->get_mat(), 0.05)) {
         CPT(TransformState) correct = make_mat(new_mat);
         CPT(TransformState) correct = make_mat(new_mat);
         pgraph_cat.warning()
         pgraph_cat.warning()
           << "Componentwise composition of " << *this << " and " << *other
           << "Componentwise composition of " << *this << " and " << *other
@@ -778,7 +778,7 @@ do_invert_compose(const TransformState *other) const {
       } else {
       } else {
         nassertr(_inv_mat != (LMatrix4f *)NULL, make_invalid());
         nassertr(_inv_mat != (LMatrix4f *)NULL, make_invalid());
         LMatrix4f new_mat = other->get_mat() * (*_inv_mat);
         LMatrix4f new_mat = other->get_mat() * (*_inv_mat);
-        if (!new_mat.almost_equal(result->get_mat(), 0.001)) {
+        if (!new_mat.almost_equal(result->get_mat(), 0.05)) {
           CPT(TransformState) correct = make_mat(new_mat);
           CPT(TransformState) correct = make_mat(new_mat);
           pgraph_cat.warning()
           pgraph_cat.warning()
             << "Componentwise invert-composition of " << *this << " and " << *other
             << "Componentwise invert-composition of " << *this << " and " << *other