This commit is contained in:
Igor Timofeev 2015-10-01 00:01:28 +03:00
parent cfcd209dc1
commit eff534136b

View File

@ -582,12 +582,16 @@ end
------------------------------------------------ Старт программы --------------------------------------------------------------
--Создаем пустой мастерпиксельс
--createEmptyMasterPixels()
local args = {...}
--Рисуем весь интерфейс
drawAll()
new()
if args[1] == "o" or args[1] == "open" or args[1] == "-o" or args[1] == "load" then
masterPixels = image.load(args[2])
else
new()
end
while true do
local e = {event.pull()}
@ -738,7 +742,7 @@ while true do
else
masterPixels = image.load(data[1])
reCalculateImageSizes()
drawImage()
drawBackgroundAndImage()
end
end