KSP-RO / ProceduralParts

A continuation of StretchySRBs, which is a continuation of StretchyTanks
71 stars 79 forks source link

Procedural SRBs cause heavy log spam when used with procedural fairings #292

Closed AntonioDias1997 closed 3 years ago

AntonioDias1997 commented 3 years ago

I don't know which mod is responsible for this issue, so I might post it in both repositories. However, and as my PC dies because of the log being spammed with this:

[LOG 00:06:47.738] [PF]: Calling FAR to update voxels...
[LOG 00:06:47.767] [ProceduralSRB] proceduralSRBRealFuels (ProceduralParts.ProceduralSRB): UpdateMaxThrust: minBurnTime = 2, maxThrust = 6000
[LOG 00:06:47.767] [ProceduralSRB] [ProceduralSRB.UpdateThrustDependentCalcs] UsingME? True, thrust 216.2, maxThrust 6000.0, burnTime 30.0, fuelRate 0.1, isp 220s Vac / 200s ASL
[LOG 00:06:47.767] [ProceduralSRB] proceduralSRBRealFuels (ProceduralParts.ProceduralSRB): bell scale: 0.3796117; thrust: 216.1576, thrust1m: 1500
[LOG 00:06:47.767] [ProceduralSRB] proceduralSRBRealFuels (ProceduralParts.ProceduralSRB): rescaling bell: 0.3796117
[LOG 00:06:47.767] [ProceduralSRB] proceduralSRBRealFuels (ProceduralParts.ProceduralSRB) (595586392): MoveBellAndBottomNode: bottom node: (0.0, -1.7, 0.0)
[LOG 00:06:47.767] [ProceduralSRB] proceduralSRBRealFuels (ProceduralParts.ProceduralSRB): shifting: proceduralSRBRealFuels (Part) by (0.0, 0.0, 0.0)
[LOG 00:06:47.768] IR: [ServoController] OnEditorShipModified finished successfully
[LOG 00:06:47.769] [PF]: Calling FAR to update voxels...
[LOG 00:06:47.787] [ProceduralSRB] proceduralSRBRealFuels (ProceduralParts.ProceduralSRB): UpdateMaxThrust: minBurnTime = 2, maxThrust = 6000
[LOG 00:06:47.787] [ProceduralSRB] [ProceduralSRB.UpdateThrustDependentCalcs] UsingME? True, thrust 216.2, maxThrust 6000.0, burnTime 30.0, fuelRate 0.1, isp 220s Vac / 200s ASL
[LOG 00:06:47.787] [ProceduralSRB] proceduralSRBRealFuels (ProceduralParts.ProceduralSRB): bell scale: 0.3796117; thrust: 216.1576, thrust1m: 1500
[LOG 00:06:47.787] [ProceduralSRB] proceduralSRBRealFuels (ProceduralParts.ProceduralSRB): rescaling bell: 0.3796117
[LOG 00:06:47.787] [ProceduralSRB] proceduralSRBRealFuels (ProceduralParts.ProceduralSRB) (595586392): MoveBellAndBottomNode: bottom node: (0.0, -1.7, 0.0)
[LOG 00:06:47.787] [ProceduralSRB] proceduralSRBRealFuels (ProceduralParts.ProceduralSRB): shifting: proceduralSRBRealFuels (Part) by (0.0, 0.0, 0.0)
[LOG 00:06:47.788] IR: [ServoController] OnEditorShipModified finished successfully
[LOG 00:06:47.790] [PF]: Calling FAR to update voxels...

it is probably an issue with the procedural SRB.

Here's the test configuration that causes this problem:

screenshot17

I should note that the FPS drop/log spam will happen regardless of the number of parts between the fairing bases (in the image I have that single yellow tank) or the root part.

Versions KSP - 1.10 ProceduralParts - 2.1.2.0 ProceduralFairings - 6.0.1.0

AntonioDias1997 commented 3 years ago

Two more screenshots showing the FPS hit:

screenshot18 screenshot19

AntonioDias1997 commented 3 years ago

Closing this issue as I was using my GitHub work account 😅 Will republish on my personal one