Remove unnecessary box kind check in viewport focus
This commit is contained in:
@@ -407,7 +407,7 @@ export function resolveViewportFocusTarget(document: SceneDocument, selection: E
|
||||
if (selectedBrushId !== null) {
|
||||
const brush = document.brushes[selectedBrushId];
|
||||
|
||||
if (brush !== undefined && brush.kind === "box") {
|
||||
if (brush !== undefined) {
|
||||
return createBrushFocusTarget(brush);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user