kopia lustrzana https://github.com/backface/turtlestitch
fixed a glitch when loading method blocks stored in sprite-local vars
rodzic
859c0f9b92
commit
09adf1f2c0
4
store.js
4
store.js
|
@ -61,7 +61,7 @@ normalizeCanvas, contains*/
|
||||||
|
|
||||||
// Global stuff ////////////////////////////////////////////////////////
|
// Global stuff ////////////////////////////////////////////////////////
|
||||||
|
|
||||||
modules.store = '2017-October-04';
|
modules.store = '2017-October-28';
|
||||||
|
|
||||||
|
|
||||||
// XML_Serializer ///////////////////////////////////////////////////////
|
// XML_Serializer ///////////////////////////////////////////////////////
|
||||||
|
@ -1367,7 +1367,7 @@ SnapSerializer.prototype.loadValue = function (model, object) {
|
||||||
el = model.childNamed('block') ||
|
el = model.childNamed('block') ||
|
||||||
model.childNamed('custom-block');
|
model.childNamed('custom-block');
|
||||||
if (el) {
|
if (el) {
|
||||||
v.expression = this.loadBlock(el, origin);
|
v.expression = this.loadBlock(el, null, origin);
|
||||||
} else {
|
} else {
|
||||||
el = model.childNamed('l');
|
el = model.childNamed('l');
|
||||||
if (el) {
|
if (el) {
|
||||||
|
|
Ładowanie…
Reference in New Issue