From 007348a62a2053766b710a0232a67e384c667e5d Mon Sep 17 00:00:00 2001 From: Rene Sepulveda Date: Wed, 1 Nov 2023 10:51:22 -0400 Subject: [PATCH] Make static to avoid symbol leakage --- cpp/open3d/t/io/file_format/FileASSIMP.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cpp/open3d/t/io/file_format/FileASSIMP.cpp b/cpp/open3d/t/io/file_format/FileASSIMP.cpp index 5f32a962483..5eae7a9ffdc 100644 --- a/cpp/open3d/t/io/file_format/FileASSIMP.cpp +++ b/cpp/open3d/t/io/file_format/FileASSIMP.cpp @@ -176,11 +176,11 @@ bool ReadTriangleMeshUsingASSIMP( return true; } -void SetTextureMaterialProperty(aiMaterial* mat, - aiScene* scene, - int texture_idx, - aiTextureType tt, - t::geometry::Image& img) { +static void SetTextureMaterialProperty(aiMaterial* mat, + aiScene* scene, + int texture_idx, + aiTextureType tt, + t::geometry::Image& img) { // Encode image as PNG std::vector img_buffer; WriteImageToPNGInMemory(img_buffer, img, 6);