Added first version of mission visualization

This commit is contained in:
Alexander Bock
2017-10-16 10:23:00 -04:00
parent cf01749e83
commit 7520edab83
10 changed files with 633 additions and 156 deletions
+8 -2
View File
@@ -70,7 +70,13 @@ documentation::Documentation MissionPhase::Documentation() {
},
{
KeyPhases,
new ReferencingVerifier("core_mission_mission"),
new TableVerifier({
{
"*",
new ReferencingVerifier("core_mission_mission"),
Optional::Yes
}
}),
Optional::Yes,
"The phases into which this mission or mission phase is separated."
}
@@ -164,7 +170,7 @@ MissionPhase::Trace MissionPhase::phaseTrace(double time, int maxDepth) const {
}
void MissionPhase::phaseTrace(double time, Trace& trace, int maxDepth) const {
ghoul_assert(maxDepth >= 0, "maxDepth must not be negative");
//ghoul_assert(maxDepth >= 0, "maxDepth must not be negative");
if (maxDepth == 0) {
return;