Issue - Crash deleting a node with property connections with undo/redo disabled:

The following script causes a segfault: #python import k3d doc = context.document camera_name = "Camera Top" camera_pos = (0, 0, 10) camera = k3d.plugin.create("Camera", doc) camera.name = camera_name camera_position = k3d.plugin.create("FrozenMatrix", doc) camera_position.matrix = k3d.translate3(camera_pos) #no crash if the following line is commented out k3d.property.connect(doc, camera_position.get_property("output_matrix"), \ camera.get_property("input_matrix")) existing = k3d.node.lookup_one(doc, camera_name) doc.delete_node(existing) The segfault disappears if you a) don't make the property connection, or b) make the deletion undoable.

Details

Id:
7f5736e37d226ef0df24d5ff0a103233993c1871
Type:
Bugfix
Creation Time:
2010-11-05 04:19 UTC
Reporter:
Timothy M. Shead <tshead@k-3d.com>
Release:
None
Status:
Unstarted

Issue Log

2010-11-05 04:19 UTCTimothy M. Shead <tshead@k-3d.com>created