mirror of
https://github.com/eliasstepanik/OSCADSharpDotnet7.git
synced 2026-01-27 04:48:27 +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()
|
public override string ToString()
|
||||||
{
|
{
|
||||||
string colorName = this.bindings.Contains("color") ? this.bindings.Get("color").BoundVariable.Text :
|
string colorName;
|
||||||
"\"" + this.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
|
string opacity = this.bindings.Contains("opacity") ? this.bindings.Get("opacity").BoundVariable.Text
|
||||||
: this.Opacity.ToString();
|
: this.Opacity.ToString();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user