StrokesPlus Forum
                       
StrokesPlus Forum
Home | Profile | Register | Active Topics
Members | Search | FAQ
 All Forums
 Bug and Issues
 Closed or Unreproducable Bugs
 Gesture Boundary "nil" in sp_before|after_action

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
mousemagician Posted - 06/21/2013 : 09:58:01
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.
2   L A T E S T    R E P L I E S    (Newest First)
Rob Posted - 08/09/2013 : 06:45:02
Added these in 2.7.2
Rob Posted - 06/21/2013 : 15:33:38
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.

StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000