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:
authorBastien Montagne <bastien@blender.org>2022-09-01 13:43:13 +0300
committerBastien Montagne <bastien@blender.org>2022-09-01 13:43:13 +0300
commit05fe7ca5af93208e56e3b120fa9caf157f43fc75 (patch)
treed5f1ee0c6521d88024b157ad799bbec93a139139 /source/blender/io/wavefront_obj/importer/obj_import_mtl.cc
parentdf751516e1f64bbc78b02582c631c3cdd0bc032d (diff)
parent414baf9780d9074447378b2e378c3f1dc923da32 (diff)
Merge branch 'blender-v3.3-release'
Diffstat (limited to 'source/blender/io/wavefront_obj/importer/obj_import_mtl.cc')
-rw-r--r--source/blender/io/wavefront_obj/importer/obj_import_mtl.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/io/wavefront_obj/importer/obj_import_mtl.cc b/source/blender/io/wavefront_obj/importer/obj_import_mtl.cc
index c28de14f2f7..a9c224445a7 100644
--- a/source/blender/io/wavefront_obj/importer/obj_import_mtl.cc
+++ b/source/blender/io/wavefront_obj/importer/obj_import_mtl.cc
@@ -141,6 +141,11 @@ static Image *load_texture_image(Main *bmain, const MTLTexMap &tex_map, bool rel
return image;
}
+void UniqueNodetreeDeleter::operator()(bNodeTree *node)
+{
+ ntreeFreeEmbeddedTree(node);
+}
+
ShaderNodetreeWrap::ShaderNodetreeWrap(Main *bmain,
const MTLMaterial &mtl_mat,
Material *mat,