[prev in list] [next in list] [prev in thread] [next in thread]
List: vtk-developers
Subject: Re: [vtk-developers] small patch to vtkTubeFilter.cxx
From: Paul Harris <harris.pc () gmail ! com>
Date: 2009-05-06 4:11:14
Message-ID: 3fa3884f0905052111r563ff9d6r55d472f3869c9b1f () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
sorry, that patch was reversed.
attached is proper patch.
2009/5/6 Paul Harris <harris.pc@gmail.com>
> Hi all,
>
> Can I please suggest the attached patch, I've emailed about it on the user
> list a week or so ago (look for vtkTubeFilter).
>
> thanks,
> Paul
>
>
[Attachment #5 (text/html)]
sorry, that patch was reversed.<br>attached is proper patch.<br><br><div \
class="gmail_quote">2009/5/6 Paul Harris <span dir="ltr"><<a \
href="mailto:harris.pc@gmail.com">harris.pc@gmail.com</a>></span><br><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;">
Hi all,<br><br>Can I please suggest the attached patch, I've emailed about it on \
the user list a week or so ago (look for vtkTubeFilter).<br><br>thanks,<br><font \
color="#888888">Paul<br><br> </font></blockquote></div><br>
--0016e652fe7e47e3aa046936973f--
["tube.patch" (text/x-patch)]
diff -ru ../VTK_cvs/VTK/Graphics/vtkTubeFilter.cxx VTK/Graphics/vtkTubeFilter.cxx
--- ../VTK_cvs/VTK/Graphics/vtkTubeFilter.cxx 2006-03-21 23:50:43.000000000 +0800
+++ VTK/Graphics/vtkTubeFilter.cxx 2009-04-23 18:22:44.228713136 +0800
@@ -693,7 +693,7 @@
tc = len / length;
for ( k=0; k < numSides; k++)
{
- newTCoords->InsertTuple2(offset+i*2+k,tc,0.0);
+ newTCoords->InsertTuple2(offset+i*numSides+k,tc,0.0);
}
xPrev[0]=x[0]; xPrev[1]=x[1]; xPrev[2]=x[2];
}
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtk-developers
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic