Skip to content

Commit

Permalink
Make static to avoid symbol leakage
Browse files Browse the repository at this point in the history
  • Loading branch information
errissa committed Nov 1, 2023
1 parent 6251a71 commit 007348a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cpp/open3d/t/io/file_format/FileASSIMP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<uint8_t> img_buffer;
WriteImageToPNGInMemory(img_buffer, img, 6);
Expand Down

0 comments on commit 007348a

Please sign in to comment.