Skip to content

Commit 901e1d3

Browse files
committed
get_data_file_path for typing purpose in object_methods
1 parent f6333f5 commit 901e1d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/opengeodeweb_viewer/object/object_methods.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def applyTextures(self, data_id: str, textures: List[Dict[str, Any]]) -> None:
6060

6161
new_texture = vtk.vtkTexture()
6262
image_reader = vtk.vtkXMLImageDataReader()
63-
texture_path = os.path.join(self.DATA_FOLDER_PATH, data_id, id_texture)
63+
texture_path = self.get_data_file_path(data_id, id_texture)
6464
image_reader.SetFileName(texture_path)
6565

6666
shader_texture_name = f"VTK_TEXTURE_UNIT_{index}"

0 commit comments

Comments
 (0)