[vtkusers] Discovered And Fixed Bug In vtkDecimatePolylineFilter

David Doria daviddoria at gmail.com
Sat Dec 4 09:10:20 EST 2010


On Sat, Dec 4, 2010 at 8:55 AM, Donny <donnyz at charter.net> wrote:
> Hello. I have discovered and fixed a bug in vtkDecimatePolylineFilter. The
> bug occurs if you have a mixture of lines with 3 or more points and also
> lines that are only 2 points.

This sounds like a great patch for Gerrit (The following should be
made into a wiki page named "how to contribute a patch" or similar -
I've CCed Marcus who is the git expert and has been cleaning up the
git/gerrit documentation)

Create a Gerrit account as per:
http://www.vtk.org/Wiki/ITK/Gerrit/Primer#Creating_a_Gerrit_account

Once you've created an account, run the script:
/Utilities/SetupForDevelopment.sh

Then you can commit your change and push it to gerrit:

git checkout -b YourPatchName
git add YourFile
git commit -m "ENH: 50 character description of your patch"
git push gerrit HEAD:refs/for/master/YourPatchName

Once you do this, you can add reviewers through the Gerrit interface.
Once your code is reviewed, if you have write access you can push to
the stage and then merge into master. If not, someone will do this for
you.

Good luck!

David



More information about the vtkusers mailing list