mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-05 12:35:18 +00:00
Clean up the cheetah's onLoad() TSShapeConstructor script
This prevents some console spam due to erroneous node removal requests.
This commit is contained in:
parent
1ed1a41256
commit
1a87d56116
2 changed files with 0 additions and 7 deletions
|
|
@ -42,7 +42,6 @@ function CheetahDAE::onLoad(%this)
|
|||
%this.addSequence("timeline", "brakeLight", "50", "51");
|
||||
%this.setSequencePriority("brakeLight", "8");
|
||||
%this.setNodeTransform("cam", "5.46934e-008 -4.75632 2.89171 -0.404897 0.817636 0.409303 1.71107", "1");
|
||||
%this.removeNode("EnvironmentAmbientLight");
|
||||
%this.removeNode("CheetahMesh300");
|
||||
%this.removeNode("CheetahMesh200");
|
||||
%this.removeNode("CheetahMesh100");
|
||||
|
|
@ -51,10 +50,5 @@ function CheetahDAE::onLoad(%this)
|
|||
%this.removeNode("TailLightsMesh200");
|
||||
%this.removeNode("TailLightsMesh100");
|
||||
%this.removeNode("TailLightsMesh2");
|
||||
%this.removeNode("collision-1");
|
||||
%this.removeNode("collision-5");
|
||||
%this.removeNode("collision-4");
|
||||
%this.removeNode("collision-3");
|
||||
%this.removeNode("collision-2");
|
||||
%this.removeNode("nulldetail1");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@ singleton TSShapeConstructor(WheelDae)
|
|||
|
||||
function WheelDae::onLoad(%this)
|
||||
{
|
||||
%this.removeNode("EnvironmentAmbientLight");
|
||||
%this.removeNode("Tread_LOD100");
|
||||
%this.removeNode("Tread_LOD2");
|
||||
%this.removeNode("Tread_LOD300");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue