Skip to content

Optional timeline #31

@poliveira89

Description

@poliveira89

I have done some changes on UI.coffee (and on the templates too) to disable some features on Sidebar and Timeline. And everytime I add an Node to container this appears (browser console):

Uncaught ReferenceError: anim is not defined Node.js:315

And I can't add other Node from the same type, eg: add "Number" can't add again impossible do drag&drop.

I have looked into the code and the line that throws the error is res = anim("nid-" + @get("nid"), @fields.inputs) from models/Node.coffee:

createAnimContainer: () =>
      res = anim("nid-" + @get("nid"), @fields.inputs)
      # enable track animation only for number/boolean
      for f of @fields.inputs
        field = @fields.inputs[f]
        if field.is_animation_property() == false
          @disable_property_anim(field)
      return res

Where is the anim(..)function? I can't find anywhere...

Thanks for the help :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions