diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-18 16:19:39 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-18 16:19:39 (GMT) |
| commit | ce3bb6f75545818fdaedfe76f83e8d73e6c949ff (patch) | |
| tree | 95db94e9b0c09cdb9053ec9f1e7d408520929242 /src | |
| parent | 9b2433f9122d6747327ab3437fa48fbf9f1802ec (diff) | |
| download | powder-ce3bb6f75545818fdaedfe76f83e8d73e6c949ff.zip powder-ce3bb6f75545818fdaedfe76f83e8d73e6c949ff.tar.gz | |
Element slots default to disabled
Diffstat (limited to 'src')
| -rw-r--r-- | src/simulation/Simulation.cpp | 2 | ||||
| -rw-r--r-- | src/simulation/elements/Element.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index 0f9e4b9..1190ad1 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -4595,7 +4595,7 @@ Simulation::Simulation(): if(i < elementList.size()) elements[i] = elementList[i]; else - elements[i] = Element_NONE(); + elements[i] = Element(); } tools = GetTools(); diff --git a/src/simulation/elements/Element.cpp b/src/simulation/elements/Element.cpp index 83f8c76..789cdb8 100644 --- a/src/simulation/elements/Element.cpp +++ b/src/simulation/elements/Element.cpp @@ -3,7 +3,7 @@ Element::Element(): Identifier("DEFAULT_INVALID"), Name(""), - Colour(PIXPACK(0xFFFFFF)), + Colour(PIXPACK(0xFF00FF)), MenuVisible(0), MenuSection(0), Enabled(0), |
