From 01ec62e20816739128882a4d6c3cef26938d2ac3 Mon Sep 17 00:00:00 2001 From: Snowyegret <79635537+snowyegret23@users.noreply.github.com> Date: Thu, 31 Aug 2023 19:59:53 +0900 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 18149b6b..e58e9131 100644 --- a/README.md +++ b/README.md @@ -208,7 +208,7 @@ from PIL import Image for obj in env.objects: if obj.type.name == "Texture2D": # export texture - data = image.read() + data = obj.read() data.image.save(path) # edit texture fp = os.path.join(replace_dir, data.name)