Fix right-click not updating selector if only collision changed

This commit is contained in:
GriffinR 2024-01-02 12:06:18 -05:00
parent f9f0ff84fb
commit 3a98ba9012

View file

@ -138,7 +138,6 @@ void CollisionPixmapItem::updateMovementPermissionSelection(QGraphicsSceneMouseE
void CollisionPixmapItem::updateSelection(QPoint pos) {
Block block;
if (map->getBlock(pos.x(), pos.y(), &block)) {
const QSignalBlocker blocker(this->selectedCollision); // We only need a signal for changing one of them, not both
this->selectedCollision->setValue(block.collision());
this->selectedElevation->setValue(block.elevation());
}