On 4 April 2011 00:58, Michael Haberler <[email protected]> wrote:

> my current fix outline:
>
> - A parsed block will be tagged with an MDI flag if executed from MDI mode.
> - this flag will modify the osub call to succeed if no .ngc file was open
> - it will also modify return/endsub on dropping from call level 1 to just 
> fall into manual mode.
> - the modified behaviour will also apply to Tx,M6,M61 commands remapped to 
> G-code procedures.

I have only a vague knowledge of this, but I vaguely recall going
through the subroutine search code a while ago. As I recall it only
searches external files for a subroutine after checking the loaded
file. I suspect that the problem is happening there, and it might be
sufficient to skip the search of the loaded file if there is no loaded
file.

-- 
atp
"Torque wrenches are for the obedience of fools and the guidance of wise men"

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to