Revision: 78065
          http://sourceforge.net/p/brlcad/code/78065
Author:   starseeker
Date:     2021-01-12 14:37:53 +0000 (Tue, 12 Jan 2021)
Log Message:
-----------
Also use the leaf matrix here, if there is one.

Modified Paths:
--------------
    brlcad/trunk/src/libged/npush/npush.cpp

Modified: brlcad/trunk/src/libged/npush/npush.cpp
===================================================================
--- brlcad/trunk/src/libged/npush/npush.cpp     2021-01-12 14:36:58 UTC (rev 
78064)
+++ brlcad/trunk/src/libged/npush/npush.cpp     2021-01-12 14:37:53 UTC (rev 
78065)
@@ -235,7 +235,11 @@
      * instance position.)  If we're evaluating a push operation,
      * we're considering the instance with its evaluated matrix. */
     if (!s->survey) {
-       MAT_COPY(idp.mat, *((mat_t *)cm));
+       if (comb_leaf->tr_l.tl_mat) {
+           bn_mat_mul(idp.mat, *((mat_t *)cm), comb_leaf->tr_l.tl_mat);
+       } else {
+           MAT_COPY(idp.mat, *((mat_t *)cm));
+       }
     } else {
        MAT_IDN(idp.mat);
     }

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to