Jump to: Board index » General » Fusion

[BUG]bmd.scriptlib misses "fu.TIME_UNDEFINED"

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline
User avatar

michael vorberg

  • Posts: 943
  • Joined: Wed Nov 12, 2014 8:47 pm
  • Location: stuttgart, germany

[BUG]bmd.scriptlib misses "fu.TIME_UNDEFINED"

PostSun Dec 18, 2016 9:22 pm

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"
Offline

Stefan Kirste

  • Posts: 142
  • Joined: Wed Jul 30, 2014 8:45 am

Re: [BUG]bmd.scriptlib misses "fu.TIME_UNDEFINED"

PostThu Dec 22, 2016 3:10 pm

oh yes, i am also stuck at this point with my RestoreScript :/
Offline
User avatar

Rony Soussan

  • Posts: 727
  • Joined: Tue Nov 11, 2014 5:33 pm

Re: [BUG]bmd.scriptlib misses "fu.TIME_UNDEFINED"

PostThu Dec 29, 2016 7:02 pm

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(...)
Offline
User avatar

michael vorberg

  • Posts: 943
  • Joined: Wed Nov 12, 2014 8:47 pm
  • Location: stuttgart, germany

Re: [BUG]bmd.scriptlib misses "fu.TIME_UNDEFINED"

PostThu Dec 29, 2016 8:26 pm

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"

Return to Fusion

Who is online

Users browsing this forum: No registered users and 28 guests