Blender Git Loki

Git Commits -> Revision ba36ef9

Revision ba36ef9 by Ken Hughes (master)
December 9, 2006, 06:17 (GMT)


Python API
----------

Bugfix #5373: creating a curve or text object using Object.New() without
linking any data to the object would later cause a segfault when ob->data
was later dereferenced. This problem will be fixed (hopefully soon) in the
API when new objects are created with data and linked to scenes all in one
step, but for now check for curves that ob->data is defined before using,
otherwise print an error message to the console and skip the object.

Commit Details:

Full Hash: ba36ef9f3f7b6a8903acf5ddf4eba638048f2c6d
SVN Revision: 9256
Parent Commit: 178b5e1
Lines Changed: +32, -9

2 Modified Paths:

/source/blender/blenkernel/intern/object.c (+8, -0) (Diff)
/source/blender/python/api2_2x/Object.c (+24, -9) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021