8 Aug 2011 01:36
Re: [PATCH 3/3] Don't add Z tool length on to Y position when calculating program extents in axis preview
I looked at this and is an obvious error in the code - the number of arguments and the format string in the 'if' branch dont agree. I'll take the liberty to push this since it has been bugging me as well -Michael Am 03.08.2011 um 02:51 schrieb Andy Pugh: > Signed-off-by: Andy Pugh <andy@...> > --- > src/emc/rs274ngc/gcodemodule.cc | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/emc/rs274ngc/gcodemodule.cc b/src/emc/rs274ngc/gcodemodule.cc > index 0a85fd3..0e243df 100644 > --- a/src/emc/rs274ngc/gcodemodule.cc > +++ b/src/emc/rs274ngc/gcodemodule.cc > <at> <at> -752,7 +752,7 <at> <at> static PyObject *rs274_calc_extents(PyObject *self, PyObject *args) { > &unused, > &xs, &ys, &zs, &unused, &unused, &unused, &unused, &unused, &unused, > &xe, &ye, &ze, &unused, &unused, &unused, &unused, &unused, &unused, > - &unused, &xt, &yt, &zt); > + &xt, &yt, &zt); > else > r = PyArg_ParseTuple(sj, > "O(dddOOOOOO)(dddOOOOOO)O(ddd):calc_extents item", > -- > 1.7.0.4 > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > Emc-developers mailing list > Emc-developers@... > https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1
RSS Feed