Sunflow exporter: Correction for a bug

Hi,

With the Sunflow exporter ( http://sunflow.sourceforge.net/ ), there is a little bug: If you erase an object, and export the scene, the object will always be there in the XML.

This is because at line 450 you can see:
OBJECTS=Blender.Object.Get()

This command catch ALL objects, including ones with no links with the scene.
If you replace this line with:

OBJECTS=Blender.Scene.GetCurrent().getChildren()

The problem disappear.

I have post this problem on Sunflow Forum (No answer at this timeā€¦)

GFA-MAD

Good catch GFA-MAD!