Changed name to Color3

This commit is contained in:
andreja6
2018-10-23 21:33:17 -07:00
parent 7d7552d141
commit 77b7c3e62b

View File

@@ -221,7 +221,7 @@ void PhysicalInstance::PropUpdate(LPPROPGRIDITEM &item)
{ {
name = (LPTSTR)item->lpCurValue; name = (LPTSTR)item->lpCurValue;
} }
else if(strcmp(item->lpszPropName, "Color") == 0) else if(strcmp(item->lpszPropName, "Color3") == 0)
{ {
color = Color3(GetRValue(item->lpCurValue),GetGValue(item->lpCurValue),GetBValue(item->lpCurValue)); color = Color3(GetRValue(item->lpCurValue),GetGValue(item->lpCurValue),GetBValue(item->lpCurValue));
} }
@@ -270,7 +270,7 @@ std::vector<PROPGRIDITEM> PhysicalInstance::getProperties()
properties.push_back(createPGI( properties.push_back(createPGI(
"Properties", "Properties",
"Color", "Color3",
"The color of the selected part", "The color of the selected part",
RGB((color.r*255),(color.g*255),(color.b*255)), RGB((color.r*255),(color.g*255),(color.b*255)),
PIT_COLOR PIT_COLOR