Fix rasterization error with vector graphics in buttons

This commit is contained in:
2017-11-24 08:12:03 +07:00
parent d4de173168
commit a74b616d21
8 changed files with 32 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: a63f9772f8c46490c99d421c9b89b497
folderAsset: yes
timeCreated: 1511483868
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 1a360ba863a804a399e9cc7a7bf9885f
timeCreated: 1511485563
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,3 @@
Привет!
Принимай материал для исследования)
После конвертации получаем файл swf, но он не обрабатывается в Unity, пишет: http://prntscr.com/he4tv1

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 7db3e6a1b84754816afc32bb06622e8b
timeCreated: 1511485563
licenseType: Free
TextScriptImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,6 +1,7 @@
###### Version 1.3.10
* Fix (conversion error: 'Error: scaleSelection: Argument number 1 is invalid.')
* Fix (Parsing swf error: Failed to read past end of stream)
* Fix rasterization error with vector graphics in buttons
###### Version 1.3.9
* Not save generated meshes in scene

View File

@@ -347,7 +347,7 @@
ftlib.is_symbol_item = function (item) {
ft.type_assert(item, LibraryItem);
return item.itemType == "graphic" || item.itemType == "movie clip";
return item.itemType == "button" || item.itemType == "graphic" || item.itemType == "movie clip";
};
ftlib.find_item_by_name = function (library, item_name) {

View File

@@ -64,6 +64,8 @@ https://gist.github.com/talecrafter/111ea3345911bd238f4998b4d5a04bf3
**** TODO Оптимизации по скейлу не влияют на растр
**** TODO Не работает конвертация в batchmod'е
**** TODO Площадь для оптимизации вычисляется некорректно при повёрнутых клипах
**** DONE Кнопки с вектором не растеризовались
(mapResources.fla)
**** DONE Parsing swf error: Failed to read past end of stream
Из-за помеченых для экспорта битмапов (blockers_tmp_0.fla)
**** DONE conversion error: 'Error: scaleSelection: Argument number 1 is invalid.'