Merge pull request #2958 from buoyancy99/patch-1

fix bug of using undefined name p
This commit is contained in:
erwincoumans 2020-08-03 11:37:19 -07:00 committed by GitHub
commit eb32f48000
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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])