---------- 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.