Skip to content
Commit 4a300fc4 authored by Bernd Schmidt's avatar Bernd Schmidt
Browse files

Merge only pieces with the same owner

This seems to solve a crash that sometimes occured when using piece holders.
One of the symptoms was that when trying to call removeAll on one of the
pieces to be removed, the return value from removeAll was zero, indicating that
no piece was removed from the list - so it must have been in a different list.
The code for merging pieces seems to have been unaware of the existence of
multiple scenes.
parent a8cfbe38
  • Developer

    I have not experienced the crashes you have, Bernd, but maybe our playing styles are different. The scene-check is definitely needed and is OK to commit. Pieces must be on the puzzle table or in the same holder when you try to join them.

0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment