Skip to content

Commit

Permalink
BRAYNS-599 Fix default cell orientations. (#1223)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrien4193 committed Dec 19, 2023
1 parent e767fb4 commit 9f07005
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions plugins/CircuitExplorer/api/neuron/NeuronMorphologyReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,10 @@

#include <spdlog/fmt/fmt.h>

#include <morphio/errorMessages.h>
#include <morphio/morphology.h>
#include <morphio/section.h>
#include <morphio/soma.h>

#include <filesystem>
#include <mutex>

namespace
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class RotationExtractor
}

brayns::Log::warn("[CE] Cannot retrieve '{}' rotations, using identity", population.name());
return std::vector<brayns::Quaternion>(selection.flatSize());
return std::vector<brayns::Quaternion>(selection.flatSize(), brayns::Quaternion(1, 0, 0, 0));
}
};
}
Expand Down

0 comments on commit 9f07005

Please sign in to comment.