kopia lustrzana https://github.com/backface/turtlestitch
made "temporary?" attribute for clones settable
in the SET->my... blockpull/89/head
rodzic
f22bc546ef
commit
4d9cc90c1f
|
@ -3,6 +3,7 @@
|
|||
## in development:
|
||||
* **New Features:**
|
||||
* new "rgba" option in "(aspect) AT (location)" sensing reporter, returns a 4-item list of values from 0-255 (same is pixels from a costume)
|
||||
* "temporary?" attribute is now programmatically settable (in the SET->my... block)
|
||||
* **Notable Changes:**
|
||||
* **Notable Fixes:**
|
||||
* **Translation Updates:**
|
||||
|
@ -10,6 +11,7 @@
|
|||
### 2019-08-07
|
||||
* new dev version
|
||||
* blocks, threads: added "rgba" option to (aspect) AT (location) reporter in the sensing category
|
||||
* blocks, threads: made "temporary?" attribute for clones settable (in the SET->my... block)
|
||||
|
||||
## v5.0.9
|
||||
* **New Feature:**
|
||||
|
|
|
@ -622,7 +622,7 @@ SyntaxElementMorph.prototype.getVarNamesDict = function () {
|
|||
'anchor' : ['anchor'],
|
||||
'parent' : ['parent'],
|
||||
'name' : ['name'],
|
||||
// 'temporary?' : ['temporary?'],
|
||||
'temporary?' : ['temporary?'],
|
||||
'dangling?' : ['dangling?'],
|
||||
'draggable?' : ['draggable?'],
|
||||
'rotation style' : ['rotation style'],
|
||||
|
|
|
@ -4431,12 +4431,10 @@ Process.prototype.doSet = function (attribute, value) {
|
|||
case 'temporary?':
|
||||
this.assertType(rcvr, 'sprite');
|
||||
this.assertType(value, 'Boolean');
|
||||
if (rcvr.world().isDevMode) {
|
||||
if (value) {
|
||||
rcvr.release();
|
||||
} else {
|
||||
rcvr.perpetuate();
|
||||
}
|
||||
if (value) {
|
||||
rcvr.release();
|
||||
} else {
|
||||
rcvr.perpetuate();
|
||||
}
|
||||
break;
|
||||
case 'name':
|
||||
|
|
Ładowanie…
Reference in New Issue