Closed LP-ita closed 3 years ago
Mmh, I see, that's a 2.8 issue, I'm on it :)
Hi, about that, KX_LightObject has not anymore API in 2.8+.
Light settings have to be tweaked with blenderObject.
kxlight = kxscene.objects["Light"] lightData = kxlight.blenderObject.data
lightData.energy += 0.1
I think this is fixed, but I don't really know, feel free to re-open this.
Great! I'll have a look this evening. Thank you.
Yes, I can now confirm that objects are saved and loaded correctly, but for example changing colour or energy of lights is not saved...
The node "Save Game" does not save anything if there is one o more lights on the scene...
'energy': obj.energy, AttributeError: 'KX_LightObject' object has no attribute 'energy'