From 93cb25cb39bb5e59eb49bd7fa2222af3187f3b5f Mon Sep 17 00:00:00 2001 From: NiranthS <44475481+NiranthS@users.noreply.github.com> Date: Thu, 23 Apr 2020 23:05:41 +0530 Subject: [PATCH] Update fileIOPlugin.py --- examples/pybullet/examples/fileIOPlugin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/pybullet/examples/fileIOPlugin.py b/examples/pybullet/examples/fileIOPlugin.py index d4a9ce606..9b3c2b546 100644 --- a/examples/pybullet/examples/fileIOPlugin.py +++ b/examples/pybullet/examples/fileIOPlugin.py @@ -1,7 +1,9 @@ import pybullet as p import time +import pybullet_data p.connect(p.GUI) +p.setAdditionalSearchPath(pybullet_data.getDataPath()) fileIO = p.loadPlugin("fileIOPlugin") if (fileIO >= 0): #we can have a zipfile (pickup.zip) inside a zipfile (pickup2.zip)