Open GoogleCodeExporter opened 8 years ago
This is how I've solved it...
Replace lines 3338 and 3339 for this whole chunk:
if (renderer.materials[i].HasProperty("_Color")) {
colors[i,0]=renderer.materials[i].GetColor(namedcolorvalue.ToString());
colors[i,1]=renderer.materials[i].GetColor(namedcolorvalue.ToString());
} else {
Debug.LogWarning("iTween Warning: At least one material has no property _Color.");
}
Original comment by caue.rego
on 13 Aug 2013 at 9:36
Just for the record, the replaced lines (3338 and 3339) were these:
colors[i,0]=renderer.materials[i].GetColor(namedcolorvalue.ToString());
colors[i,1]=renderer.materials[i].GetColor(namedcolorvalue.ToString());
Original comment by caue.rego
on 13 Aug 2013 at 9:38
Original issue reported on code.google.com by
caue.rego
on 13 Aug 2013 at 9:35