Dear all -
Using the threaded pipeline “Cull/Draw” makes apparently the base.SaveCubeMap() method bug:
File "xxxx\CrashTests\CrashTests.py", line 174, in SaveCubemap
base.saveCubeMap("#.png",False)
File "xxxx\PandaSDK\Panda3D-1.9.0-x64\direct\showbase\ShowBase.py", line 2517, in saveCubeMap
source = tex)
File "xxxx\PandaSDK\Panda3D-1.9.0-x64\direct\showbase\ShowBase.py", line 2453, in screenshot
saved = source.write(filename, 0, 0, 1, 0)
AssertionError: do_has_ram_mipmap_image(cdata, n) at line 3719 of c:\buildslave\
sdk-windows-amd64\build\panda\src\gobj\texture.cxx
See attached the code snippet. saveCubeMap() works perfectly with the same code without any threaded pipeline or with ‘/Draw’ threaded pipeline only.
Using 1.9.0 (official build from the Download page)
Any idea? Many thanks!
Cull_Draw and SaveCubeMap.txt (6.42 KB)