diff options
author | buoyancy99 <buoyuan99@gmail.com> | 2020-07-29 23:51:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-29 23:51:40 -0700 |
commit | 1edb8d17f996c4f9791c831bdd872c9f40a99cab (patch) | |
tree | da89208b37d9f77ef0949c816f0e61ed8b30bc4a | |
parent | 579115cf9f8c0790e527081fecefcec5735c865e (diff) | |
download | bullet3-1edb8d17f996c4f9791c831bdd872c9f40a99cab.tar.gz |
fix bug of using undefined name p
-rw-r--r-- | examples/pybullet/examples/testrender.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pybullet/examples/testrender.py b/examples/pybullet/examples/testrender.py index cbcda6e5b..41ced4716 100644 --- a/examples/pybullet/examples/testrender.py +++ b/examples/pybullet/examples/testrender.py @@ -15,7 +15,7 @@ import pybullet_data pybullet.connect(pybullet.DIRECT) -p.setAdditionalSearchPath(pybullet_data.getDataPath()) +pybullet.setAdditionalSearchPath(pybullet_data.getDataPath()) #pybullet.loadPlugin("eglRendererPlugin") pybullet.loadURDF("plane.urdf", [0, 0, -1]) |