JacquesLucke / animation_nodes

Node based visual scripting system designed for motion graphics in Blender.
Other
2.27k stars 342 forks source link

Node Tree does not always execute from the Video Sequence Editor #940

Closed JaredOwenAnimations closed 4 years ago

JaredOwenAnimations commented 5 years ago

AnimationNodes_VSE_Bug.zip I've attached the project that I'm describing.

I have a main scene with some animated custom properties and an empty. Using Animation Nodes I have

Then I create another scene, go the VSE, and add the main scene as a scene strip. The node tree doesn't always execute as it should (or execute at all).

With this small "toy" project I can usually get it to work by either deleting the scene strip and adding it again OR restarting the blender. However, I have some larger projects where this does not work. Everything I'm doing can be done with drivers but I really really like Animation Nodes and I would like to integrate this into my regular work flow.

Is this a known bug? Is AN meant to work with scene strips in the VSE?

OmarEmaraDev commented 5 years ago

It seems to be working for me. What version are you using?

JaredOwenAnimations commented 5 years ago

Thanks for your quick response!

Here are the versions I'm using: Blender 2.79b Animation Nodes 2.0.4

AN_VSE_Bug_MultipleScenes.zip

I think I found a better way to reproduce. The problem appears when there are multiple scenes. It seems as though the node tree only wants to execute for the very first scene. In this new example I have 3 scenes: "CubeScene" - has a cube and a node tree to move the X location "SphereScene" - has a sphere and a node tree to move the Y location "VideoEditing" - VSE with both scene strips

(I included a monkey spining so that I could tell it was displaying regular animation correctly)

As is - the cube seems to be working correctly but the sphere doesn't move.

Now go and delete the "CubeScene". Go back to the VideoScene - delete the sphere scene strip and re-add it. Now the sphere scene works!

Does AN only execute for the first scene in the scene list?

OmarEmaraDev commented 5 years ago

I see, I can see the behavior you are describing now. I am not familiar with how AN handles scenes, so you will have to wait for the developer to take a look at this.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.