From b4a355b30d5f1353ef51d89db7a53321b62620bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=B8=D0=BB=D1=8C=D1=8F=20=5F?= Date: Thu, 31 Jul 2025 19:49:15 +0200 Subject: [PATCH] Fix: Ensure world nodes have topology cache for Hydra Methods like directly_linked_links require a tree topology cache to be there. Pull Request: https://projects.blender.org/blender/blender/pulls/143670 --- source/blender/io/usd/hydra/world.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/blender/io/usd/hydra/world.cc b/source/blender/io/usd/hydra/world.cc index fe6014b5c21..b5246f4391a 100644 --- a/source/blender/io/usd/hydra/world.cc +++ b/source/blender/io/usd/hydra/world.cc @@ -53,6 +53,8 @@ void WorldData::init() pxr::GfVec3f color(1.0f, 1.0f, 1.0f); ID_LOG("%s", world->id.name); + world->nodetree->ensure_topology_cache(); + /* TODO: Create nodes parsing system */ bNode *output_node = ntreeShaderOutputNode(world->nodetree, SHD_OUTPUT_ALL); if (!output_node) {