Skip to content

Commit

Permalink
Quick fix for import
Browse files Browse the repository at this point in the history
  • Loading branch information
jostja committed Jun 4, 2024
1 parent 1e6dbf7 commit bc9232a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/GM-TE/GMTEEditor.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ GMTEEditor >> import [

{
#category : #'button functions',
#'squeak_changestamp' : 'JS 6/4/2024 17:56'
#'squeak_changestamp' : 'jj 6/5/2024 01:21'
}
GMTEEditor >> importFromMorph [
"import tilemap into editor from a .morph file"
Expand All @@ -503,7 +503,7 @@ GMTEEditor >> importFromMorph [

aFileStream := (MultiByteBinaryOrTextStream with: ((FileStream readOnlyFileNamed: stream fullName) binary contentsOfEntireFile)) binary reset.
tileMap := aFileStream fileInObjectAndCode.
(tileMap isKindOf: GMTEEditableTileMap) ifTrue: [^self].
(tileMap isKindOf: GMTEEditableTileMap) ifFalse: [^self].

tileMap tileSelectionSet highlightImage: nil.
self tileMapMatrix: tileMap.
Expand Down

0 comments on commit bc9232a

Please sign in to comment.