Removed Bang param from file.load.

This commit is contained in:
Devine Lu Linvega 2016-12-09 05:31:23 -07:00
parent 78b2d13de8
commit f80699271f
2 changed files with 6 additions and 8 deletions

View File

@ -32,17 +32,17 @@ MOUSE2 ; Drag canvas
@ ! ; Clear canvas @ ! ; Clear canvas
``` ```
##Save File
```
$ new_name.jpg ; Create a new file with name
```
##Load File ##Load File
``` ```
/ dir/file_name.jpg 10,10 100x100 ; Load image, at 10,10 with size 100x100 / 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 / 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) ##Brush(Pointers)
``` ```
> 10 ; Size 10 > 10 ; Size 10

View File

@ -2,12 +2,10 @@ function FileLoad(rune)
{ {
Module.call(this,rune); Module.call(this,rune);
this.parameters = [Filepath,Position,Rect,Bang]; this.parameters = [Filepath,Position,Rect];
this.active = function(cmd) this.active = function(cmd)
{ {
if(cmd.bang()){ this.storage = []; }
ronin.overlay.clear(); ronin.overlay.clear();
if(!cmd.filepath() && !cmd.value()){ return; } if(!cmd.filepath() && !cmd.value()){ return; }