mirror of
https://github.com/drewcassidy/KSP-Conformal-Decals.git
synced 2024-09-01 18:23:54 +00:00
Remove debug logging statements
This commit is contained in:
parent
3effae6ecd
commit
be3b7f791a
Binary file not shown.
@ -645,8 +645,6 @@ namespace ConformalDecals {
|
|||||||
protected void UpdatePartTarget(Part targetPart, Bounds projectionBounds) {
|
protected void UpdatePartTarget(Part targetPart, Bounds projectionBounds) {
|
||||||
if (targetPart.GetComponent<ModuleConformalDecal>() != null) return; // skip other decals
|
if (targetPart.GetComponent<ModuleConformalDecal>() != null) return; // skip other decals
|
||||||
|
|
||||||
this.Log($"Updating projection onto part {targetPart.name}");
|
|
||||||
|
|
||||||
if (!_targets.TryGetValue(targetPart, out var target)) {
|
if (!_targets.TryGetValue(targetPart, out var target)) {
|
||||||
var rendererList = targetPart.FindModelComponents<MeshRenderer>();
|
var rendererList = targetPart.FindModelComponents<MeshRenderer>();
|
||||||
|
|
||||||
@ -659,8 +657,6 @@ namespace ConformalDecals {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.Log($"valid target: {targetPart.name}");
|
|
||||||
|
|
||||||
target.Project(_orthoMatrix, decalProjectorTransform, projectionBounds);
|
target.Project(_orthoMatrix, decalProjectorTransform, projectionBounds);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user