File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -88,8 +88,8 @@ class Structure {
8888 void setEnabledAllOfType (bool newEnabled); // enable/disable all structures of this type
8989
9090 // Options
91- Structure* setTransparency (double newVal); // also enables transparency if <1 and transparency is not enabled
92- double getTransparency ();
91+ Structure* setTransparency (float newVal); // also enables transparency if <1 and transparency is not enabled
92+ float getTransparency ();
9393
9494 Structure* setCullWholeElements (bool newVal);
9595 bool getCullWholeElements ();
Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ std::string Structure::uniquePrefix() { return typeName() + "#" + name + "#"; }
280280void Structure::remove () { removeStructure (typeName (), name); }
281281
282282
283- Structure* Structure::setTransparency (double newVal) {
283+ Structure* Structure::setTransparency (float newVal) {
284284 transparency = newVal;
285285
286286 if (newVal < 1 . && options::transparencyMode == TransparencyMode::None) {
@@ -290,7 +290,7 @@ Structure* Structure::setTransparency(double newVal) {
290290
291291 return this ;
292292}
293- double Structure::getTransparency () { return transparency.get (); }
293+ float Structure::getTransparency () { return transparency.get (); }
294294
295295Structure* Structure::setCullWholeElements (bool newVal) {
296296 cullWholeElements = newVal;
You can’t perform that action at this time.
0 commit comments