Crash when automatic shadows and multithreading are both enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panda3D |
Fix Released
|
Undecided
|
rdb |
Bug Description
Panda3d version: 1.9.0 devel
OS: Windows 7 64 bit
I've set up shadows using light.setShadow
I've narrowed it down to a simple example. If both the commented first line and second line exist, it doesn't work for me.
from panda3d.core import loadPrcFileData
#First line
loadPrcFileData('', 'threading-model Cull/Draw')
from panda3d.core import *
from direct.
class Engine(ShowBase):
def __init__(self):
model = loader.
box = loader.
#Second line
node = render.
while self.open:
Engine()
tags: | added: threading |
Changed in panda3d: | |
status: | Fix Committed → Fix Released |
Problem is that the shader generator calls GraphicsEngine: :make_output on the draw thread even though it's only supposed to be called on the app thread.