Revision: 47273
          http://brlcad.svn.sourceforge.net/brlcad/?rev=47273&view=rev
Author:   abhi2011
Date:     2011-10-16 23:26:49 +0000 (Sun, 16 Oct 2011)
Log Message:
-----------
The manifold points were not getting inserted correctly, fixed it to some 
extent, still cant keep objects steady on top of each other, hunting for what I 
am missing out

Modified Paths:
--------------
    brlcad/trunk/src/libged/simulate/simcollisionalgo.cpp

Modified: brlcad/trunk/src/libged/simulate/simcollisionalgo.cpp
===================================================================
--- brlcad/trunk/src/libged/simulate/simcollisionalgo.cpp       2011-10-16 
20:56:14 UTC (rev 47272)
+++ brlcad/trunk/src/libged/simulate/simcollisionalgo.cpp       2011-10-16 
23:26:49 UTC (rev 47273)
@@ -177,8 +177,8 @@
                                        rbB->rb_namep);
 
                   //Find the manifold in rbB's list which connects rbB and rbA
-                  if( bu_strcmp(rt_mf->rbA->rb_namep, rbA->rb_namep) &&
-                                  bu_strcmp(rt_mf->rbB->rb_namep, 
rbB->rb_namep) ){
+                  if( bu_strcmp(rt_mf->rbA->rb_namep, rbA->rb_namep) == 0 &&
+                                  bu_strcmp(rt_mf->rbB->rb_namep, 
rbB->rb_namep) == 0 ){
 
                           // Now add the RT contact pairs
                           for (i=0; i<rt_mf->num_contacts; i++){

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


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to