mercredi 15 novembre 2017

[1.3.0] Procedural Parts - Starwaster Branch

Funny, I came here specifically about this very problem because PP is causing problems for EL. What I have found is that part modules are being initialized (thus OnStart getting called) in ShipConstruct.LoadShip. The vessel is not created until ShipConstruction.AssembleForLaunch is called (with ShipConstruct as a parameter) (I had a lot of grief with this in EL's early days, so I'm pretty familiar with the loading sequence).

Now, I am not 100% certain, but it looks like fixing ProceduralParts.ProceduralPart:OnPartColliderChanged to check part.vessel is not null before firing any vessel related events might be the solution.[1.3.0] Procedural Parts - Starwaster Branch

---------------------------------------------------------------------------
Visit this link to stop these emails: http://zpr.io/nfAVj

Aucun commentaire:

Enregistrer un commentaire