[Bf-python] PyDriver-related problem
Ken Hughes
khughes at pacific.edu
Mon May 1 23:24:25 CEST 2006
Willian:
Accidentally discovered a problem with the new commit for PyDrivers:
If you run this script from the command line ("blender -P script.py"),
you get a segfault:
#----------------
import Blender
class Material:
def __init__(self):
MATERIALS = self
MATERIALS = None
material = Material()
Blender.Quit()
#----------------
2.41 doesn't have this problem but CVS does. I traced the problem into
Blender.Quit(), as far the call to free_blender() in exit_usiblender().
If I move the call to BPY_end_python() back to its previous location
(after the call to quicktime_exit()) it works fine.
Reading the comment in the source before the new call to
BPY_end_python(), figured I'd better leave it where it is.
Ken
More information about the Bf-python
mailing list