mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-02-02 22:35:55 +01:00
Don't serialize editor only omni lights in PropDataLight.
This commit is contained in:
parent
ee8014d15e
commit
81c9a7f940
@ -51,6 +51,10 @@ void PropDataLight::_processor_process(Ref<PropData> prop_data, Node *node, cons
|
|||||||
|
|
||||||
ERR_FAIL_COND(!i);
|
ERR_FAIL_COND(!i);
|
||||||
|
|
||||||
|
if (i->is_editor_only()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
Ref<PropDataLight> l;
|
Ref<PropDataLight> l;
|
||||||
l.instance();
|
l.instance();
|
||||||
l->set_light_color(i->get_color());
|
l->set_light_color(i->get_color());
|
||||||
|
Loading…
Reference in New Issue
Block a user