Skip to content

Commit

Permalink
itf bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielarchanjo committed Oct 4, 2018
1 parent bf85e26 commit 0cd4bc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 66 deletions.
34 changes: 1 addition & 33 deletions marvinj/release/marvinj-0.9.js
Expand Up @@ -2159,6 +2159,7 @@ MarvinAbstractImagePlugin.getAttribute = function(label, value){
}

IteratedFunctionSystem.prototype.loadRules = function(){
this.rules = [];
var r = this.getAttribute("rules").split("\n");

for(var i=0; i<r.length; i++){
Expand Down Expand Up @@ -2221,39 +2222,6 @@ MarvinAbstractImagePlugin.getAttribute = function(label, value){
point[1] = ny;
};

/*
class Rule {
public double a,
b,
c,
d,
e,
f,
probability;
public Rule
(
double a,
double b,
double c,
double d,
double e,
double f,
double probability
)
{
this.a = a;
this.b = b;
this.c = c;
this.d = d;
this.e = e;
this.f = f;
this.probability = probability;
}
}
*/

function Crop(){
MarvinAbstractImagePlugin.super(this);
this.load();
Expand Down
34 changes: 1 addition & 33 deletions marvinj/src/plugins/render/IteratedFunctionSystem.js
Expand Up @@ -115,6 +115,7 @@
}

IteratedFunctionSystem.prototype.loadRules = function(){
this.rules = [];
var r = this.getAttribute("rules").split("\n");

for(var i=0; i<r.length; i++){
Expand Down Expand Up @@ -176,36 +177,3 @@
point[0] = nx;
point[1] = ny;
};

/*
class Rule {
public double a,
b,
c,
d,
e,
f,
probability;
public Rule
(
double a,
double b,
double c,
double d,
double e,
double f,
double probability
)
{
this.a = a;
this.b = b;
this.c = c;
this.d = d;
this.e = e;
this.f = f;
this.probability = probability;
}
}
*/

0 comments on commit 0cd4bc9

Please sign in to comment.