On May 22, 2012, at 4:13 PM, Csanyi Pal wrote:

> I find it here:
> 
> /usr/brlcad/share/tclscripts/mged/skt_ed.tcl
> 
> Now I tried to patch it:
> [..snip..]
> File to patch: /usr/brlcad/share/tclscripts/mged/skt_ed.tcl
> patching file /usr/brlcad/share/tclscripts/mged/skt_ed.tcl
> Hunk #5 FAILED at 1756.
> Hunk #6 FAILED at 1770.
> Hunk #7 FAILED at 1784.
> Hunk #8 FAILED at 1826.
> Hunk #9 FAILED at 1873.
> 
> What is wrong now?

Either that's an even older version, my patch is wrong, or even 7.20.6 is just 
that far out of sync with trunk already.

I suggest deleting /usr/brlcad, installing 7.20.6, and see if the sketch editor 
works. :)  If it doesn't, edit the skt_ed.tcl file and replace the calls to 
"dist" with "::dist".  For example, replace:

        set radius [dist $s(0) $s(1) $cx $cy]

with:

        set radius [::dist $s(0) $s(1) $cx $cy]

The only one you leave alone is the first "proc dist" line where we define what 
that is.  Sorry for such a complicated solution.  We'll get it sorted out for 
the upcoming 7.22.0 release.

Cheers!
Sean


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BRL-CAD Users mailing list
brlcad-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-users

Reply via email to