Skip to content

Commit 6530bfc

Browse files
IsakNaslundBhFraser Greenroyd
authored andcommitted
changing default colour instead of in method
1 parent 8a3fd07 commit 6530bfc

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Grasshopper_UI/Goos/GH_BakeableObject.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,14 +209,12 @@ private bool SetGeometry()
209209
{
210210
m_Geometry = (Value as BHoMObject).IGeometry();
211211
m_RhinoGeometry = m_Geometry.IToRhino();
212-
m_Color = Color.FromArgb(80, 255, 41, 105);//BHoM pink!
213212
return true;
214213
}
215214
else if (Value is IGeometry)
216215
{
217216
m_Geometry = Value as IGeometry;
218217
m_RhinoGeometry = m_Geometry.IToRhino();
219-
m_Color = Color.FromArgb(80, 255, 41, 105);//BHoM pink!
220218
return true;
221219
}
222220
else
@@ -297,7 +295,7 @@ public bool BakeGeometry(RhinoDoc doc, ObjectAttributes att, out Guid obj_guid)
297295

298296
protected object m_RhinoGeometry = null;
299297

300-
protected Color m_Color = new Color();
298+
protected Color m_Color = Color.FromArgb(80, 255, 41, 105);//BHoM pink!
301299

302300
/***************************************************/
303301
}

0 commit comments

Comments
 (0)