Photon icon indicating copy to clipboard operation
Photon copied to clipboard

Prioritize explicit PI ref over PHOTON_INHERIT

Open noble-ux opened this issue 4 years ago • 2 comments

Ideal Behaviour

Vehicles with the following code should pull a predefined PI config if available: HasPhoton = true, Photon = "PHOTON_INHERIT"

Actual Behaviour

Currently this script will prevent a photon config from using a predefined PI config. Currently this code actually needs to be removed in order to utilize the PI config without referencing it directly as seen below: HasPhoton = true, Photon = "sgm_fpiu20"

noble-ux avatar Aug 27 '20 16:08 noble-ux

Not a bug? Intended behaviour is to leave blank with those. Registered PI isn't indexed by model, so that can't be used automatically pulled.

JoshPiper avatar Aug 28 '20 08:08 JoshPiper

We can move it around so explicit PI ref (table or name) > default > inherit

Partial documentation issue, but ideally PI lighting would always be set to on when a model with a referenced PI is being used.

noble-ux avatar Aug 28 '20 12:08 noble-ux