Browse Source

Fixed missing setting of connected master in blocks (#71)

tags/2021-05-28
Daniel Walz Julian Storer 7 years ago
parent
commit
2c12212b96
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      modules/juce_blocks_basics/topology/juce_PhysicalTopologySource.cpp

+ 1
- 0
modules/juce_blocks_basics/topology/juce_PhysicalTopologySource.cpp View File

@@ -1394,6 +1394,7 @@ struct PhysicalTopologySource::Internal
const auto myOffset = getUnitForIndex (block, myPort.edge, myPort.index);
const auto theirOffset = getUnitForIndex (neighbourPtr, theirPort.edge, theirPort.index);
neighbour->masterUID = masterUid;
neighbour->rotation = (2 + block->getRotation()
+ getRotationForEdge (myPort.edge)
- getRotationForEdge (theirPort.edge)) % 4;


Loading…
Cancel
Save