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