mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
save new camera in builtins
This commit is contained in:
parent
dae5fabd22
commit
463f6bd287
@ -679,7 +679,8 @@ class ShowBase(DirectObject.DirectObject):
|
||||
# we can move around to move all cameras as a group.
|
||||
if self.camera == None:
|
||||
self.camera = self.render.attachNewNode('camera')
|
||||
|
||||
__builtins__["camera"] = self.camera
|
||||
|
||||
cam = self.camera.attachNewNode(camNode)
|
||||
dr.setCamera(cam)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user