Ruby problem?

Post any examples or modules that you want to share here
Post Reply
adic
Posts: 27
Joined: Fri Nov 02, 2012 6:37 pm

Ruby problem?

Post 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
Attachments
circle_lfo.fsm
this schematic works well on FS3.06 but does not work on FS3.08.1
(14.9 KiB) Downloaded 986 times
KG_is_back
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Ruby problem?

Post 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
adic
Posts: 27
Joined: Fri Nov 02, 2012 6:37 pm

Re: Ruby problem?

Post 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.
Attachments
circle_lfo_v2.fsm
corrected version
(15.36 KiB) Downloaded 975 times
Post Reply