mirror of
https://github.com/billsonnn/nitro-converter.git
synced 2024-11-26 09:20:51 +01:00
rename settype array
This commit is contained in:
parent
ac3bd7fbb0
commit
759bc72ceb
@ -4,5 +4,5 @@ import { IFigureDataSetType } from './IFigureDataSetType';
|
|||||||
export interface IFigureData
|
export interface IFigureData
|
||||||
{
|
{
|
||||||
palettes?: IFigureDataPalette[];
|
palettes?: IFigureDataPalette[];
|
||||||
sets?: IFigureDataSetType[];
|
setTypes?: IFigureDataSetType[];
|
||||||
}
|
}
|
||||||
|
@ -39,9 +39,9 @@ export class FigureDataMapper extends Mapper
|
|||||||
{
|
{
|
||||||
if(xml.sets.length)
|
if(xml.sets.length)
|
||||||
{
|
{
|
||||||
output.sets = [];
|
output.setTypes = [];
|
||||||
|
|
||||||
FigureDataMapper.mapFigureDataSetTypes(xml.sets, output.sets);
|
FigureDataMapper.mapFigureDataSetTypes(xml.sets, output.setTypes);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user