Page 1 of 1
[BUG]bmd.scriptlib misses "fu.TIME_UNDEFINED"

Posted:
Sun Dec 18, 2016 9:22 pm
by michael vorberg
it seems that the old eyeon.scriptlib file was just redone with search and replace and all cases of "eyeon." where replaced with "bmd."
but it lacks also the new "fu.TIME_UNDEFINED" instead of the old "TIME_UNDEFINED".
all scripts which uses now "bmd.LD_GetFrames" and "bmd.SV_GetFrames" will fail with "unsuporrted key type"
Re: [BUG]bmd.scriptlib misses "fu.TIME_UNDEFINED"

Posted:
Thu Dec 22, 2016 3:10 pm
by Stefan Kirste
oh yes, i am also stuck at this point with my RestoreScript :/
Re: [BUG]bmd.scriptlib misses "fu.TIME_UNDEFINED"

Posted:
Thu Dec 29, 2016 7:02 pm
by Rony Soussan
Here's a list of changes, at least the ones i am aware of.
* Already in fusion 7, but some for loops need changing
old:
for i,v in table do
new:
for i,v in pairs(table) do
* Scripts are run without an active 'comp', so any implied calls to comp need to be explicit, eg:
old:
AskUser(...)
new:
comp:AskUser()
* Some constants also need to be explicitly referened from Fusion, eg:
old:
TIME_UNDEFINED
new:
fu.TIME_UNDEFINED
* iup interface library is not present on OSX or linux. Need to use our new (undocumented) Qt based UI library instead for cross-platform.
* Scripts need to be renamed from .eyeonscript -> .lua
functions that were previously in eyeon. are now in bmd.*
old:
eyeon.readfile(...)
new:
bmd.readfile(...)
Re: [BUG]bmd.scriptlib misses "fu.TIME_UNDEFINED"

Posted:
Thu Dec 29, 2016 8:26 pm
by michael vorberg
That's exactly what is missing in the official, vanilla "BMD. Scriptlib"
There is the old" TIME_UNDEFINED" used and not the correct "fu.TIME_UNDEFINED"