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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user