Code

Don't draw auxiliary vanishing points any more
authorcilix42 <cilix42@users.sourceforge.net>
Mon, 6 Aug 2007 17:52:31 +0000 (17:52 +0000)
committercilix42 <cilix42@users.sourceforge.net>
Mon, 6 Aug 2007 17:52:31 +0000 (17:52 +0000)
src/widgets/toolbox.cpp

index 8acb08a12f6e8e34199d338869a3e26d1cdce6e3..25c5d2417f5b0bec9358721882531856a85b223f 100644 (file)
@@ -2136,7 +2136,6 @@ static void sp_3dbox_toggle_vp_changed( GtkToggleAction *act, gpointer data )
     if (Box3D::Perspective3D::current_perspective) {
         Box3D::VanishingPoint *vp = Box3D::Perspective3D::current_perspective->get_vanishing_point(axis);
         vp->toggle_parallel();
-        vp->draw(axis);
         prefs_set_int_attribute( "tools.shapes.3dbox", pstring->str, vp->is_finite() ? 0 : 1);
     }