mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-12 19:30:00 +01:00
Automatic Image Naming
This commit is contained in:
8
dist/image-sequencer.js
vendored
8
dist/image-sequencer.js
vendored
@@ -34684,8 +34684,12 @@ function formatInput(args,format,images) {
|
||||
}
|
||||
}
|
||||
else if (format[0] == "o_string" && format_i == "l" && args.length == 2) {
|
||||
if (typeof(args[0]) == "string")
|
||||
args.splice(0,0,"default");
|
||||
if (typeof(args[0]) == "string") {
|
||||
identifier = "image";
|
||||
number = 1;
|
||||
while (this.images.hasOwnProperty(identifier+number)) number++;
|
||||
args.splice(0,0,identifier+number);
|
||||
}
|
||||
}
|
||||
|
||||
if(args.length == format.length) {
|
||||
|
||||
Reference in New Issue
Block a user