Jens Mönig 2017-09-04 16:27:48 +02:00
rodzic 1d174626a3
commit 8f44dbcae7
3 zmienionych plików z 10 dodań i 4 usunięć

Wyświetl plik

@ -148,7 +148,7 @@ CustomCommandBlockMorph, SymbolMorph*/
// Global stuff ////////////////////////////////////////////////////////
modules.blocks = '2017-September-01';
modules.blocks = '2017-September-04';
var SyntaxElementMorph;
var BlockMorph;
@ -8196,7 +8196,7 @@ InputSlotMorph.prototype.distancesMenu = function () {
allNames = [];
stage.children.forEach(function (morph) {
if (morph instanceof SpriteMorph) {
if (morph instanceof SpriteMorph && !morph.isTemporary) {
if (morph.name !== rcvr.name) {
allNames = allNames.concat(morph.name);
}
@ -8242,7 +8242,7 @@ InputSlotMorph.prototype.objectsMenu = function () {
dict[stage.name] = stage.name;
stage.children.forEach(function (morph) {
if (morph instanceof SpriteMorph) {
if (morph instanceof SpriteMorph && !morph.isTemporary) {
allNames.push(morph.name);
}
});

Wyświetl plik

@ -3601,6 +3601,10 @@ Fixes:
* Morphic, Objects: fixed #1843
* Croation translation update, thanks, Zeljko Hrvoj!
170904
------
* Blocks, Objects: fixed #1339
v4.1 Features:
* polymorphic sprite-local custom blocks
@ -3635,4 +3639,5 @@ Fixes:
* fixed rotation-bug when flipping costumes in "only turn left/right" mode"
* fixed variable renaming (“refactoring”) bugs, thanks, Bernat!
* fixed “fill” block crash when applying the same color twice
* fixed occasional empty drop-down menu items named “close”
* fixed some typos

Wyświetl plik

@ -82,7 +82,7 @@ SpeechBubbleMorph, RingMorph, isNil, FileReader, TableDialogMorph,
BlockEditorMorph, BlockDialogMorph, PrototypeHatBlockMorph, localize,
TableMorph, TableFrameMorph, normalizeCanvas, BooleanSlotMorph, HandleMorph*/
modules.objects = '2017-September-01';
modules.objects = '2017-September-04';
var SpriteMorph;
var StageMorph;
@ -5291,6 +5291,7 @@ SpriteMorph.prototype.chooseExemplar = function () {
myself = this,
other = stage.children.filter(function (m) {
return m instanceof SpriteMorph &&
!m.isTemporary &&
(!contains(m.allExemplars(), myself));
}),
menu;