Revision: 50642
          http://brlcad.svn.sourceforge.net/brlcad/?rev=50642&view=rev
Author:   phoenixyjll
Date:     2012-05-23 15:55:06 +0000 (Wed, 23 May 2012)
Log Message:
-----------
Changed the plane origin of the sketch.

Modified Paths:
--------------
    brlcad/trunk/src/librt/primitives/revolve/revolve_brep.cpp

Modified: brlcad/trunk/src/librt/primitives/revolve/revolve_brep.cpp
===================================================================
--- brlcad/trunk/src/librt/primitives/revolve/revolve_brep.cpp  2012-05-23 
15:10:38 UTC (rev 50641)
+++ brlcad/trunk/src/librt/primitives/revolve/revolve_brep.cpp  2012-05-23 
15:55:06 UTC (rev 50642)
@@ -159,7 +159,9 @@
 
     //  Find plane in 3 space corresponding to the sketch.
 
-    plane_origin = ON_3dPoint(eip->V);
+    vect_t startpoint;
+    VADD2(startpoint, rip->v3d, rip->r);
+    plane_origin = ON_3dPoint(startpoint);
     plane_x_dir = ON_3dVector(eip->u_vec);
     plane_y_dir = ON_3dVector(eip->v_vec);
     const ON_Plane* sketch_plane = new ON_Plane(plane_origin, plane_x_dir, 
plane_y_dir);

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


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to