Removed Bang param from file.load.
This commit is contained in:
parent
78b2d13de8
commit
f80699271f
10
README.md
10
README.md
@ -32,17 +32,17 @@ MOUSE2 ; Drag canvas
|
||||
@ ! ; Clear canvas
|
||||
```
|
||||
|
||||
##Save File
|
||||
```
|
||||
$ new_name.jpg ; Create a new file with name
|
||||
```
|
||||
|
||||
##Load File
|
||||
```
|
||||
/ dir/file_name.jpg 10,10 100x100 ; Load image, at 10,10 with size 100x100
|
||||
/ dir/file_name.jpg 10,10 100x ; Load image, at 10,10 with size 100w and auto height
|
||||
```
|
||||
|
||||
##Save File
|
||||
```
|
||||
$ new_name.jpg ; Create a new file with name
|
||||
```
|
||||
|
||||
##Brush(Pointers)
|
||||
```
|
||||
> 10 ; Size 10
|
||||
|
@ -2,12 +2,10 @@ function FileLoad(rune)
|
||||
{
|
||||
Module.call(this,rune);
|
||||
|
||||
this.parameters = [Filepath,Position,Rect,Bang];
|
||||
this.parameters = [Filepath,Position,Rect];
|
||||
|
||||
this.active = function(cmd)
|
||||
{
|
||||
if(cmd.bang()){ this.storage = []; }
|
||||
|
||||
ronin.overlay.clear();
|
||||
|
||||
if(!cmd.filepath() && !cmd.value()){ return; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user