StrokesPlus Forum
                       
StrokesPlus Forum
Home | Profile | Register | Active Topics
Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Bug and Issues
 Closed or Unreproducable Bugs
 Gesture Boundary "nil" in sp_before|after_action
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mousemagician

6 Posts

Posted - 06/21/2013 :  09:58:01  Show Profile  Reply with Quote
The gesture boundary variables gbt, gbr, gbb and gbl are "nil" (aka not initialized). When called from sp_before_action or sp_after_action. As both of these are called after the gesture has been completed i don't see any logical reasons for them to not be available. And the help file lists them under "Variables available to all Lua scripts".

(This would for example eliminate the need to add those four as parameters when calling global functions that rely on them from within actions.)

Pretty please fix this :D
Thank you.

Rob

USA
2579 Posts

Posted - 06/21/2013 :  15:33:38  Show Profile  Visit Rob's Homepage  Reply with Quote
Those vars were added in later on, it's possible/likely I forgot to include them for those calls. Will check it out when I get a chance.
Go to Top of Page

Rob

USA
2579 Posts

Posted - 08/09/2013 :  06:45:02  Show Profile  Visit Rob's Homepage  Reply with Quote
Added these in 2.7.2
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000