From 3934c3bbbe77175d2da5793e925751f4a44515e5 Mon Sep 17 00:00:00 2001 From: thecelloman Date: Wed, 17 Apr 2013 23:13:26 -0400 Subject: [PATCH] Default to an empty field for cubemap in the river and other water object builder script. --- Templates/Empty/game/tools/riverEditor/riverEditorGui.cs | 1 - .../Empty/game/tools/worldEditor/gui/objectBuilderGui.ed.gui | 1 - Templates/Full/game/tools/riverEditor/riverEditorGui.cs | 1 - .../Full/game/tools/worldEditor/gui/objectBuilderGui.ed.gui | 1 - 4 files changed, 4 deletions(-) diff --git a/Templates/Empty/game/tools/riverEditor/riverEditorGui.cs b/Templates/Empty/game/tools/riverEditor/riverEditorGui.cs index 562838620..af88e1c1f 100644 --- a/Templates/Empty/game/tools/riverEditor/riverEditorGui.cs +++ b/Templates/Empty/game/tools/riverEditor/riverEditorGui.cs @@ -78,7 +78,6 @@ function RiverEditorGui::createRiver( %this ) rippleTex = "art/water/ripple.dds"; foamTex = "art/water/foam"; - cubemap = "DefaultSkyCubemap"; depthGradientTex = "art/water/depthcolor_ramp"; }; diff --git a/Templates/Empty/game/tools/worldEditor/gui/objectBuilderGui.ed.gui b/Templates/Empty/game/tools/worldEditor/gui/objectBuilderGui.ed.gui index a2932525c..19c396a57 100644 --- a/Templates/Empty/game/tools/worldEditor/gui/objectBuilderGui.ed.gui +++ b/Templates/Empty/game/tools/worldEditor/gui/objectBuilderGui.ed.gui @@ -800,7 +800,6 @@ function ObjectBuilderGui::addWaterObjectFields(%this) %this.addField("rippleTex", "TypeImageFilename", "Ripple Texture", "art/water/ripple" ); %this.addField("depthGradientTex", "TypeImageFilename", "Depth Gradient Texture", "art/water/depthcolor_ramp" ); %this.addField("foamTex", "TypeImageFilename", "Foam Texture", "art/water/foam" ); - %this.addField("cubemap", "TypeRealString", "Cubemap", "DefaultSkyCubemap" ); } function ObjectBuilderGui::buildWaterBlock(%this) diff --git a/Templates/Full/game/tools/riverEditor/riverEditorGui.cs b/Templates/Full/game/tools/riverEditor/riverEditorGui.cs index 562838620..af88e1c1f 100644 --- a/Templates/Full/game/tools/riverEditor/riverEditorGui.cs +++ b/Templates/Full/game/tools/riverEditor/riverEditorGui.cs @@ -78,7 +78,6 @@ function RiverEditorGui::createRiver( %this ) rippleTex = "art/water/ripple.dds"; foamTex = "art/water/foam"; - cubemap = "DefaultSkyCubemap"; depthGradientTex = "art/water/depthcolor_ramp"; }; diff --git a/Templates/Full/game/tools/worldEditor/gui/objectBuilderGui.ed.gui b/Templates/Full/game/tools/worldEditor/gui/objectBuilderGui.ed.gui index a2932525c..19c396a57 100644 --- a/Templates/Full/game/tools/worldEditor/gui/objectBuilderGui.ed.gui +++ b/Templates/Full/game/tools/worldEditor/gui/objectBuilderGui.ed.gui @@ -800,7 +800,6 @@ function ObjectBuilderGui::addWaterObjectFields(%this) %this.addField("rippleTex", "TypeImageFilename", "Ripple Texture", "art/water/ripple" ); %this.addField("depthGradientTex", "TypeImageFilename", "Depth Gradient Texture", "art/water/depthcolor_ramp" ); %this.addField("foamTex", "TypeImageFilename", "Foam Texture", "art/water/foam" ); - %this.addField("cubemap", "TypeRealString", "Cubemap", "DefaultSkyCubemap" ); } function ObjectBuilderGui::buildWaterBlock(%this)