mirror of
https://github.com/eliasstepanik/OSCADSharpDotnet7.git
synced 2026-01-13 22:48:33 +00:00
POC of brute force image 3Dification.
This commit is contained in:
parent
8741b7df2a
commit
18a9ef8aa0
@ -48,8 +48,18 @@ namespace OSCADSharp
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
string colorName = this.bindings.Contains("color") ? this.bindings.Get("color").BoundVariable.Text :
|
||||
"\"" + this.ColorName + "\"";
|
||||
string colorName;
|
||||
if (!this.ColorName.StartsWith("["))
|
||||
{
|
||||
colorName = this.bindings.Contains("color") ? this.bindings.Get("color").BoundVariable.Text :
|
||||
"\"" + this.ColorName + "\"";
|
||||
}
|
||||
else {
|
||||
colorName = this.bindings.Contains("color") ? this.bindings.Get("color").BoundVariable.Text :
|
||||
this.ColorName;
|
||||
}
|
||||
|
||||
|
||||
string opacity = this.bindings.Contains("opacity") ? this.bindings.Get("opacity").BoundVariable.Text
|
||||
: this.Opacity.ToString();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user