I'm puzzled about the patch. You test for object->scene() to exist, but then in side the if-clause scene() is dereferenced Is that intentional? /D