Migrate color after manual change

This commit is contained in:
John 2015-08-05 13:30:52 +03:00
parent 567c556ebc
commit 57cb06e3fa

View file

@ -2451,6 +2451,10 @@ class ToonDNA:
dg.addUint8(self.sleeveTexColor) dg.addUint8(self.sleeveTexColor)
dg.addUint8(self.botTex) dg.addUint8(self.botTex)
dg.addUint8(self.botTexColor) dg.addUint8(self.botTexColor)
self.armColor = self.migrateColor(self.armColor)
self.gloveColor = self.migrateColor(self.gloveColor)
self.legColor = self.migrateColor(self.legColor)
self.headColor = self.migrateColor(self.headColor)
for colors in (self.armColor, self.gloveColor, self.legColor, self.headColor): for colors in (self.armColor, self.gloveColor, self.legColor, self.headColor):
for color in colors[:-1]: for color in colors[:-1]:
dg.addFloat64(color) dg.addFloat64(color)