Element slots default to disabled

This commit is contained in:
Simon Robertshaw 2012-08-18 17:19:39 +01:00
parent 9b2433f912
commit ce3bb6f755
2 changed files with 2 additions and 2 deletions

View File

@ -4595,7 +4595,7 @@ Simulation::Simulation():
if(i < elementList.size())
elements[i] = elementList[i];
else
elements[i] = Element_NONE();
elements[i] = Element();
}
tools = GetTools();

View File

@ -3,7 +3,7 @@
Element::Element():
Identifier("DEFAULT_INVALID"),
Name(""),
Colour(PIXPACK(0xFFFFFF)),
Colour(PIXPACK(0xFF00FF)),
MenuVisible(0),
MenuSection(0),
Enabled(0),