T466: Only one gcode file can be loaded at a time, and deleting previous gcode file when loading non-gcode file

Merge changes : Only call backgroundItem.hasMesh if/on an imported model (skips if only curaprofiles get loaded)
This commit is contained in:
Victor Larchenko 2016-10-23 14:53:25 +06:00 committed by Youness Alaoui
parent 1f84ad7084
commit b4a7173a61
4 changed files with 67 additions and 12 deletions

View file

@ -14,11 +14,13 @@ from UM.Math.AxisAlignedBox import AxisAlignedBox
from UM.Application import Application
from UM.Preferences import Preferences
from cura import LayerDataBuilder
from cura import LayerDataDecorator
from cura import LayerPolygon
import numpy
from types import MethodType
from UM.Job import Job