aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Materials
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/Materials')
-rw-r--r--js/panels/Materials/Materials.xml20
-rw-r--r--js/panels/Materials/materials-popup.reel/materials-popup.js21
2 files changed, 5 insertions, 36 deletions
diff --git a/js/panels/Materials/Materials.xml b/js/panels/Materials/Materials.xml
index 7d10fcfa..e955623a 100644
--- a/js/panels/Materials/Materials.xml
+++ b/js/panels/Materials/Materials.xml
@@ -2,24 +2,10 @@
2<tree id="Materials"> 2<tree id="Materials">
3 <folder id="ninjaMaterials" label="Ninja Materials"> 3 <folder id="ninjaMaterials" label="Ninja Materials">
4 <leaf id="UberMaterial" label="Uber" /> 4 <leaf id="UberMaterial" label="Uber" />
5 <leaf id="RadialBlurMaterial" label="Radial Blur" />
6 <leaf id="PulseMaterial" label="Pulse" />
7 <leaf id="TunnelMaterial" label="Tunnel" />
8 <leaf id="ReliefTunnelMaterial" label="Relief Tunnel" />
9 <leaf id="SquareTunnelMaterial" label="Square Tunnel" />
10 <leaf id="FlyMaterial" label="Fly" />
11 <leaf id="WaterMaterial" label="Water" />
12 <leaf id="ZInvertMaterial" label="ZInvert" />
13 <leaf id="DeformMaterial" label="Deform" />
14 <leaf id="StarMaterial" label="Star" />
15 <leaf id="TwistMaterial" label="Twist" />
16 <leaf id="KeleidoscopeMaterial" label="Keleidoscope" />
17 <leaf id="JuliaMaterial" label="Julia" />
18 <leaf id="MandelMaterial" label="Mandel" />
19 <leaf id="PlasmaMaterial" label="Plasma" />
20 <leaf id="BumpMetalMaterial" label="Bump Metal" /> 5 <leaf id="BumpMetalMaterial" label="Bump Metal" />
21 <leaf id="LinearGradientMaterial" label="Linear Gradient" /> 6 <leaf id="LinearGradientMaterial" label="Linear Gradient" />
22 <leaf id="RadialGradientMaterial" label="Radial Gradient" /> 7 <leaf id="RadialGradientMaterial" label="Radial Gradient" />
8 <leaf id="FlatMaterial" label="Flat" />
23 </folder> 9 </folder>
24 <folder id="customMaterials" label="Custom Materials"> 10 <folder id="customMaterials" label="Custom Materials">
25 <leaf id="CheckerBoard" label="CheckerBoard" /> 11 <leaf id="CheckerBoard" label="CheckerBoard" />
diff --git a/js/panels/Materials/materials-popup.reel/materials-popup.js b/js/panels/Materials/materials-popup.reel/materials-popup.js
index bce2e42b..62ca5395 100644
--- a/js/panels/Materials/materials-popup.reel/materials-popup.js
+++ b/js/panels/Materials/materials-popup.reel/materials-popup.js
@@ -236,28 +236,11 @@ exports.MaterialsPopup = Montage.create(Component, {
236 { 236 {
237 this._materialName = materialID; 237 this._materialName = materialID;
238 if( 238 if(
239 (materialID === "BrickMaterial") || 239 (materialID === "UberMaterial") ||
240 (materialID === "UberMaterial") ||
241 (materialID === "FlatMaterial") || 240 (materialID === "FlatMaterial") ||
242 (materialID === "BumpMetalMaterial") || 241 (materialID === "BumpMetalMaterial") ||
243 (materialID === "PlasmaMaterial") ||
244 (materialID === "LinearGradientMaterial") || 242 (materialID === "LinearGradientMaterial") ||
245 (materialID === "RadialGradientMaterial") || 243 (materialID === "RadialGradientMaterial")
246 (materialID === "RadialBlurMaterial") ||
247 (materialID === "PulseMaterial") ||
248 (materialID === "TunnelMaterial") ||
249 (materialID === "ReliefTunnelMaterial") ||
250 (materialID === "SquareTunnelMaterial") ||
251 (materialID === "FlyMaterial") ||
252 (materialID === "WaterMaterial") ||
253 (materialID === "ZInvertMaterial") ||
254 (materialID === "DeformMaterial") ||
255 (materialID === "StarMaterial") ||
256 (materialID === "TwistMaterial") ||
257 (materialID === "KeleidoscopeMaterial") ||
258 (materialID === "JuliaMaterial") ||
259 (materialID === "MandelMaterial") ||
260 (materialID === "IridescentScalesMaterial")
261 ) 244 )
262 { 245 {
263 var material = MaterialsLibrary.getMaterial( materialID ); 246 var material = MaterialsLibrary.getMaterial( materialID );