mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-27 05:44:51 +00:00
#1771 DefineShape4 line filled using single color
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash;
|
||||
|
||||
import com.jpexs.decompiler.flash.amf.amf3.Amf3OutputStream;
|
||||
@@ -1348,10 +1349,10 @@ public class SWFOutputStream extends OutputStream {
|
||||
writeUI8(lineStyleCount);
|
||||
}
|
||||
for (int i = 0; i < lineStyleCount; i++) {
|
||||
for (int i = 0; i < lineStyleCount; i++) {
|
||||
writeLINESTYLE((LINESTYLE) value.lineStyles[i], shapeNum);
|
||||
}
|
||||
} else {
|
||||
} else {
|
||||
lineStyleCount = value.lineStyles2.length;
|
||||
if (lineStyleCount >= 0xff) {
|
||||
writeUI8(0xff);
|
||||
writeUI16(lineStyleCount);
|
||||
@@ -1359,7 +1360,7 @@ public class SWFOutputStream extends OutputStream {
|
||||
writeUI8(lineStyleCount);
|
||||
}
|
||||
for (int i = 0; i < lineStyleCount; i++) {
|
||||
for (int i = 0; i < lineStyleCount; i++) {
|
||||
writeLINESTYLE2((LINESTYLE2) value.lineStyles2[i], shapeNum);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user