Fixed the bug that caused the duplicate marble lately.
This commit is contained in:
parent
1cef3d4d0a
commit
70dc3f1450
@ -54,8 +54,8 @@ int main( int argc, char *argv[] ){
|
|||||||
}
|
}
|
||||||
|
|
||||||
//delete compositions that were not in the png anymore
|
//delete compositions that were not in the png anymore
|
||||||
for (int i=1; i<=conv.getNextID()[1]; i++){
|
for (int i=0; i<=conv.getNextID()[1]; i++){
|
||||||
for (int j=1; j<256; j++){
|
for (int j=0; j<256; j++){
|
||||||
if (! idFound[i][j]){
|
if (! idFound[i][j]){
|
||||||
conv.deleteComposition(i,j);
|
conv.deleteComposition(i,j);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user