Element slots default to disabled
This commit is contained in:
parent
9b2433f912
commit
ce3bb6f755
@ -4595,7 +4595,7 @@ Simulation::Simulation():
|
||||
if(i < elementList.size())
|
||||
elements[i] = elementList[i];
|
||||
else
|
||||
elements[i] = Element_NONE();
|
||||
elements[i] = Element();
|
||||
}
|
||||
|
||||
tools = GetTools();
|
||||
|
@ -3,7 +3,7 @@
|
||||
Element::Element():
|
||||
Identifier("DEFAULT_INVALID"),
|
||||
Name(""),
|
||||
Colour(PIXPACK(0xFFFFFF)),
|
||||
Colour(PIXPACK(0xFF00FF)),
|
||||
MenuVisible(0),
|
||||
MenuSection(0),
|
||||
Enabled(0),
|
||||
|
Loading…
Reference in New Issue
Block a user