Merge minits
This commit is contained in:
@@ -8,7 +8,10 @@ function export_gpl_run(path: string, name: string, swatches: swatch_color_t[])
|
||||
|
||||
for (let i: i32 = 0; i < swatches.length; ++i) {
|
||||
let swatch: swatch_color_t = swatches[i];
|
||||
o += any_to_string(color_get_rb(swatch.base)) + " " + any_to_string(color_get_gb(swatch.base)) + " " + any_to_string(color_get_bb(swatch.base)) + "\n";
|
||||
let rb: i32 = color_get_rb(swatch.base);
|
||||
let gb: i32 = color_get_gb(swatch.base);
|
||||
let bb: i32 = color_get_bb(swatch.base);
|
||||
o += rb + " " + gb + " " + bb + "\n";
|
||||
}
|
||||
|
||||
krom_file_save_bytes(path, sys_string_to_buffer(o), o.length);
|
||||
|
||||
Reference in New Issue
Block a user