mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-23 17:47:17 +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);
|
||||
|
||||
if (i->is_editor_only()) {
|
||||
return;
|
||||
}
|
||||
|
||||
Ref<PropDataLight> l;
|
||||
l.instance();
|
||||
l->set_light_color(i->get_color());
|
||||
|
Loading…
Reference in New Issue
Block a user