Commit fc867f0b authored by Graham Inggs's avatar Graham Inggs

Drop patches included upstream

parent 74008d59
......@@ -2,6 +2,7 @@ qutemol (0.4.1~cvs20081111-9) UNRELEASED; urgency=medium
* Migrate from SVN to Git
* Refresh all patches, remove trailing whitespace and fix permissions
* Drop patches included upstream
-- Graham Inggs <ginggs@debian.org> Mon, 25 Dec 2017 11:10:09 +0000
......
From: Morten Kjeldgaard <mok@bioxray.au.dk>
Subject: modification to source code
--- a/vcg/wrap/gui/trackmode.cpp
+++ b/vcg/wrap/gui/trackmode.cpp
@@ -368,7 +368,8 @@
assert(state >= 0.0f);
assert(state <= 1.0f);
float remaining_norm=state;
- Point3f p0,p1;
+ Point3f p0(0,0,0), p1(0,0,0);
+
unsigned int npts = int(points.size());
for(unsigned int i = 1;i <= npts;i++){
if( i == npts){
@@ -646,8 +647,8 @@
bool p_on_side = false;
bool hit=false;
- Point3f pside,phit;
- bool slide,mid_inside;
+ Point3f pside(0,0,0), phit(0,0,0);
+ bool slide = 0, mid_inside;
int np = int(points.size()), i, j;
for (i = 0, j = np-1; i < np; j = i++) {
From: Morten Kjeldgaard <mok@bioxray.au.dk>
Subject: modification to source code
--- a/vcg/wrap/gui/trackutils.h
+++ b/vcg/wrap/gui/trackutils.h
@@ -218,7 +218,7 @@
Line3fN ln = tb->camera.ViewLineFromWindow (Point3f (p[0], p[1], 0));
Point3f viewpoint = tb->camera.ViewPoint ();
Plane3f vp = GetViewPlane (tb->camera, tb->center);
- Point3f hit, hitPlane, hitSphere, hitSphere1, hitSphere2, hitHyper;
+ Point3f hit, hitPlane(0,0,0), hitSphere(0,0,0), hitSphere1, hitSphere2, hitHyper;
IntersectionLinePlane < float >(vp, ln, hitPlane);
Sphere3f sphere (tb->center, tb->radius);
......@@ -23,8 +23,6 @@
23_progress.h.patch
24_savesnapdialog.cpp.patch
25_matrix44.h.patch
#26_trackmode.cpp.patch
#27_trackutils.h.patch
28_mol.cpp.patch
29_mol.h.patch
30_matrix33.h.patch
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment