Depsgraoh: Fix missing texture node allocation

It was causing wrong binding for image animation: since there was no
ID node for texture at the moment of build_animdata original texture
ID was passed to the callback. This is not what is supposed to happen.

This is part of fix for T65889.
This commit is contained in:
Sergey Sharybin 2020-05-28 10:44:07 +02:00
parent 3d2f143000
commit 806db47fd8
Notes: blender-bot 2023-02-14 10:43:47 +01:00
Referenced by issue #78687, Fluid Emission Image Sequence or Movie Texture Not Working
1 changed files with 1 additions and 0 deletions

View File

@ -1581,6 +1581,7 @@ void DepsgraphNodeBuilder::build_texture(Tex *texture)
return;
}
/* Texture itself. */
add_id_node(&texture->id);
build_idproperties(texture->id.properties);
build_animdata(&texture->id);
build_parameters(&texture->id);