paint: add test01.c
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#include "global.h"
|
||||
|
||||
void next_frame() {
|
||||
|
||||
for (int i = 0; i < 14; ++i) {
|
||||
context_select_tool(i);
|
||||
}
|
||||
|
||||
export_texture_run("/tmp", false);
|
||||
project_filepath_set("/tmp/untitled.arm");
|
||||
project_save(true);
|
||||
|
||||
console_info("PASS");
|
||||
}
|
||||
|
||||
void main() {
|
||||
script_notify_on_next_frame(next_frame);
|
||||
}
|
||||
Reference in New Issue
Block a user