Home › Forums › TimelineFX Editor › Something which cause a problem if done in wrong way › Re: Re: Something which cause a problem if done in wrong way
Good catch! This check was in the editor but not in the module for some reason. It’s fixed now and available via SVN, or if you didn’t fix it yourself already, just replace the function loadfolderxmltree in timelinefx.bmx with:
Function loadfolderxmltree(folderchild:TxmlNode, sprites:TList, effects:tlEffectsLibrary, compile:Int)
Local effectschildren:TList = folderchild.getChildren()
If effectschildren
For Local effectchild:TxmlNode = EachIn effectschildren
Select effectchild.getname()
Case "EFFECT"
Local e:tlEffect = loadeffectxmltree(effectchild, sprites, Null, folderchild.getAttribute("NAME") + "/")
effects.addeffect(e)
If compile e.compile_all()
e.directory = CreateMap()
e.AddEffect(e)
End Select
Next
End If
End Function
Thanks!