On Fri, 2010-12-17 at 08:22 +0000, Chris Morley wrote:
> --- a/src/emc/rs274ngc/interp_convert.cc
> +++ b/src/emc/rs274ngc/interp_convert.cc
> @@ -2915,6 +2915,9 @@ int Interp::convert_modal_0(int
> code, //!< G code, must be from group 0
> if(block->l_number == 1 || block->l_number == 10 ||
> block->l_number == 11)
> CHP(convert_setup_tool(block, settings));
> else
> + if (((int) (block->p_number + 0.0001)) == 0) {
> + block->p_number = settings->origin_index;
> + }
> CHP(convert_setup(block, settings));
> } else if ((code == G_28) || (code == G_30)) {
> CHP(convert_home(code, block, settings));
>
This breaks the "else" branch.
--
Greetings Michael.
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers