Hi, I’m trying out the GeoMipTerrain module have followed their code for Dynamic Terrain here: panda3d.org/manual/index.php/G … MipMapping.
However, I receive the following error for this code:
# Add a task to keep updating the terrain
taskMgr.add(terrain.update, "update")
Traceback (most recent call last):
File "./panda.py", line 54, in <module>
run()
File "linuxroot/usr/share/panda3d/direct/src/showbase/ShowBase.py", line 2262, in run
File "linuxroot/usr/share/panda3d/direct/src/task/Task.py", line 939, in run
File "linuxroot/usr/share/panda3d/direct/src/task/Task.py", line 877, in step
File "linuxroot/usr/share/panda3d/direct/src/task/Task.py", line 776, in __stepThroughList
File "linuxroot/usr/share/panda3d/direct/src/task/Task.py", line 696, in __executeTask
TypeError: update() takes exactly 0 arguments (1 given)
Is the task manager expecting a function with arguments? Can I avoid this?
Thanks for any advice,
Sam