Page 1 of 1

Ruby problem?

Posted: Fri Oct 30, 2015 1:03 pm
by adic
Hello,

I made an example of Ruby animation on FS 3.06, which does not work for some reason on the latest version 3.08.1 (trial). Have DSProbotics perhaps changed the specification of Ruby's draw method?

So long

Re: Ruby problem?

Posted: Fri Oct 30, 2015 1:41 pm
by KG_is_back
The problem is, variable @x now by default references the current Thread. Unfortunately you cannot use it. Just change it to some different name and everything should be OK

Re: Ruby problem?

Posted: Fri Oct 30, 2015 3:19 pm
by adic
Hello, KG

I've replaced the variable names (@x -> @x1) as you told and the schematic is working well on the latest version 3.08.1.

thank you.