Changeset 44
- Timestamp:
- 06/09/08 22:46:25 (6 months ago)
- Files:
-
- trunk/lily/lily/chrome/content/externals/processing.js (modified) (1 diff)
- trunk/lily/lily/chrome/content/externals/svg.js (modified) (1 diff)
- trunk/lily/lily/chrome/content/object.js (modified) (1 diff)
- trunk/lily/lily/chrome/content/patch.js (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lily/lily/chrome/content/externals/processing.js
r19 r44 89 89 //stop the loop & refresh the object 90 90 this.inlet1["refresh"]=function() { 91 Lily.toggleEdit(); 91 92 thisPtr.parent.replaceObject(thisPtr,"processing",(thisPtr.width+" "+thisPtr.height)); 93 Lily.toggleEdit(); 92 94 } 93 95 trunk/lily/lily/chrome/content/externals/svg.js
r34 r44 244 244 function _refresh() { 245 245 _kill(); 246 releaseObservers(); 246 releaseObservers(); 247 Lily.toggleEdit(); 247 248 thisPtr.parent.replaceObject(thisPtr,"svg",(thisPtr.width+" "+thisPtr.height)); 249 Lily.toggleEdit(); 248 250 } 249 251 trunk/lily/lily/chrome/content/object.js
r42 r44 35 35 this.parent=parent; //pointer to patch 36 36 this.name=name; //classname 37 this.displayName=LilyUtils.getObjectMetaData(name).textName; 37 38 this.subPatcherID=pID||null //patch id if created as part of a sub-patch 38 39 this.objID=id; //object id trunk/lily/lily/chrome/content/patch.js
r42 r44 383 383 384 384 if(o.displayName==undefined) 385 o.displayName=LilyUtils.getObjectMetaData(className). htmlName;385 o.displayName=LilyUtils.getObjectMetaData(className).textName; 386 386 387 387 if(!o.ui) { //if no custom html defined … … 433 433 oldObj.controller.replacing=true; 434 434 var args=newArgs; 435 435 436 436 var saveConnections=(oldObj.controller.objView.display==newObjName)?true:false; 437 437 var newID=(oldObj.controller.objView.display==newObjName)?id:null; … … 492 492 } 493 493 } 494 494 495 495 //then recreate the connnections for the new object here 496 496 if(saveConnections) … … 504 504 this.restoreConnections=function(connections) { 505 505 for(var i=0;i<connections.length;i++) { 506 this.createConnection(connections[i].inlet,connections[i].outlet,connections[i].segmentArray,null) 506 var c = this.createConnection(connections[i].inlet,connections[i].outlet,connections[i].segmentArray,null); 507 if(c && typeof connections[i].hiddenInPerf!="undefined") 508 c.controller.setHiddenInPerf(connections[i].hiddenInPerf); 507 509 } 508 510 }
