Normand Briere
2019-08-15 33504fc9a180903aace77613264550754fba5706
GroupEditor.java
....@@ -1187,6 +1187,10 @@
11871187 boxButton.setToolTipText("Create box");
11881188 boxButton.addActionListener(this);
11891189
1190
+ row1.add(superButton = GetButton("icons/super.png", !Grafreed.NIMBUSLAF)); //, oe.aConstraints);
1191
+ superButton.setToolTipText("Create superellipsoid");
1192
+ superButton.addActionListener(this);
1193
+
11901194 row1.add(sphereButton = GetButton("icons/sphere.png", !Grafreed.NIMBUSLAF)); //, oe.aConstraints);
11911195 sphereButton.setToolTipText("Create sphere");
11921196 sphereButton.addActionListener(this);
....@@ -1198,10 +1202,6 @@
11981202 row1.add(torusButton = GetButton("icons/torus.png", !Grafreed.NIMBUSLAF)); //, oe.aConstraints);
11991203 torusButton.setToolTipText("Create torus");
12001204 torusButton.addActionListener(this);
1201
-
1202
- row1.add(superButton = GetButton("icons/super.png", !Grafreed.NIMBUSLAF)); //, oe.aConstraints);
1203
- superButton.setToolTipText("Create superellipsoid");
1204
- superButton.addActionListener(this);
12051205
12061206 if (Globals.ADVANCED)
12071207 {
....@@ -2165,7 +2165,11 @@
21652165 shadow.material = new cMaterial(obj.material);
21662166 shadow.material.diffuse = 0.0001f;
21672167 shadow.material.specular = 0.0001f;
2168
- //shadow.projectedVertices[1].x = 300;
2168
+ shadow.material.opacity = 0.75f;
2169
+
2170
+ AllocProjectedVertices(shadow);
2171
+
2172
+ shadow.projectedVertices[1].x = 300;
21692173
21702174 makeSomething(shadow);
21712175 }