Skip to content

Commit

Permalink
codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
mi-sts committed May 24, 2024
1 parent 854f8fb commit 1d69e3b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,10 @@ class PlanesLayerRenderer(

visiblePlanesLayers.forEachIndexed { visibleLayerIndex, _ ->
if (visibleLayerIndex !in visibleLayersSelectionIndices.indices ||
visibleLayerIndex !in visiblePlaneLayersTextures.indices)
visibleLayerIndex !in visiblePlaneLayersTextures.indices
) {
return
}

val selectionLayerIndex = visibleLayersSelectionIndices[visibleLayerIndex]
val planeLayerTexture = visiblePlaneLayersTextures[visibleLayerIndex]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ class AssociationManager {

if (associationConnections.any {
it.firstFrameIndex == firstFrameIndex && it.secondFrameIndex == secondFrameIndex ||
it.secondFrameIndex == firstFrameIndex && it.firstFrameIndex == secondFrameIndex
}) {
it.secondFrameIndex == firstFrameIndex && it.firstFrameIndex == secondFrameIndex
}
) {
return
}

Expand Down

0 comments on commit 1d69e3b

Please sign in to comment.