Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2020-05-28 11:44:07 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2020-05-28 11:47:01 +0300
commit806db47fd8dfc228467694f10743a4404796dce0 (patch)
tree36b80ca303fe03f577a52fd7fcfcec3eb0bf3dae
parent3d2f143000d0a3e32ed0fc1cef8df96505b1ffd1 (diff)
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.
-rw-r--r--source/blender/depsgraph/intern/builder/deg_builder_nodes.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc b/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc
index 7a562190cfd..9230fa19c32 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc
@@ -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);