mirror of
https://github.com/BlackMATov/unity-flash-tools.git
synced 2025-12-16 14:11:19 +07:00
error for vector graphics
This commit is contained in:
@@ -112,6 +112,10 @@ namespace FlashTools.Internal.SwfTools.SwfTypes {
|
||||
if ( fill_style.Type.IsBitmapType ) {
|
||||
fill_style.BitmapId = reader.ReadUInt16();
|
||||
fill_style.BitmapMatrix = SwfMatrix.Read(reader, true);
|
||||
} else {
|
||||
throw new UnityException(
|
||||
"imported .swf file contains vector graphics. " +
|
||||
"You should use Tools/FlashExport.jsfl script for prepare .fla file");
|
||||
}
|
||||
return fill_style;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user