fix(rendering): model outline not displaying if only one object is contained
This commit is contained in:
parent
ede0540c74
commit
23baed05a6
1 changed files with 1 additions and 1 deletions
|
@ -476,7 +476,7 @@ void renderOutlines() {
|
|||
|
||||
// Render AABB of selected parts
|
||||
PartAssembly selectionAssembly = PartAssembly::FromSelection();
|
||||
if (!selectionAssembly.multipleSelected()) return;
|
||||
if (selectionAssembly.size() == Vector3()) return;
|
||||
glm::vec3 outlineSize = selectionAssembly.bounds();
|
||||
glm::vec3 outlinePos = selectionAssembly.assemblyOrigin().Position();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue