Revision: 52885
          http://brlcad.svn.sourceforge.net/brlcad/?rev=52885&view=rev
Author:   n_reed
Date:     2012-10-09 14:25:24 +0000 (Tue, 09 Oct 2012)
Log Message:
-----------
shadowed global, said VSET meant VMOVE

Modified Paths:
--------------
    brlcad/trunk/src/conv/patch/patch-g.c

Modified: brlcad/trunk/src/conv/patch/patch-g.c
===================================================================
--- brlcad/trunk/src/conv/patch/patch-g.c       2012-10-09 14:16:47 UTC (rev 
52884)
+++ brlcad/trunk/src/conv/patch/patch-g.c       2012-10-09 14:25:24 UTC (rev 
52885)
@@ -3382,7 +3382,7 @@
     char name[NAMESIZE+1];
 
     /* intentionally double for scan */
-    double scan[3];
+    double p[3];
 
     BU_LIST_INIT(&head.l);
     BU_LIST_INIT(&heada.l);
@@ -3504,8 +3504,8 @@
                        * triangle surface normal calculations
                        */
                sscanf(bu_optarg, "%lf %lf %lf",
-                      &scan[0], &scan[1], &scan[2]);
-               VSET(Centroid, scan); /* double to fastf_t */
+                      &p[0], &p[1], &p[2]);
+               VMOVE(Centroid, p); /* double to fastf_t */
 
                bu_log("Centroid = (%f %f %f)\n", V3ARGS(Centroid));
                VSCALE(Centroid, Centroid, mmtin);

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


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to