Commit 1a87d561 authored by thecelloman's avatar thecelloman

Clean up the cheetah's onLoad() TSShapeConstructor script

This prevents some console spam due to erroneous node removal requests.
parent 1ed1a412
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment