Skip to content

Commit

Permalink
Merge pull request TrenchBroom#2922 from kduske/feature/2921
Browse files Browse the repository at this point in the history
2921: convert hit of type Resize3D to brush face directly, not via hit adapter
  • Loading branch information
kduske authored Jan 5, 2020
2 parents c382f93 + c135177 commit 6d885b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/src/View/ResizeBrushesTool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ namespace TrenchBroom {
kdl::vec_append(result, collectDragFaces(faces[1]));
}
} else {
Model::BrushFace* face = Model::hitToFace(hit);
Model::BrushFace* face = hit.target<Model::BrushFace*>();
result.push_back(face);
kdl::vec_append(result, collectDragFaces(face));
}
Expand Down

0 comments on commit 6d885b9

Please sign in to comment.