Closed GoogleCodeExporter closed 9 years ago
Original comment by CharlesP...@googlemail.com
on 25 Sep 2013 at 11:47
Original comment by CharlesP...@googlemail.com
on 25 Sep 2013 at 7:34
The following patch appears to fix the problem:
Index: src/path_build.cpp
===================================================================
--- src/path_build.cpp (revision 960)
+++ src/path_build.cpp (working copy)
@@ -521,14 +521,14 @@
if (this->state <= PBS_WAIT_ARROW || this->state > PBS_WAIT_BUY || edge == INVALID_EDGE) return;
/* First try to find a voxel with a path at it. */
+ if (!move_up && this->TryMove(edge, -1, true)) return;
if (this->TryMove(edge, 0, true)) return;
if ( move_up && this->TryMove(edge, 1, true)) return;
- if (!move_up && this->TryMove(edge, -1, true)) return;
/* Otherwise just settle for a surface. */
+ if (!move_up && this->TryMove(edge, -1, false)) return;
if (this->TryMove(edge, 0, false)) return;
if ( move_up && this->TryMove(edge, 1, false)) return;
- if (!move_up && this->TryMove(edge, -1, false)) return;
}
/**
However, I'm not sure if this is the correct way to fix this, as it seems to me
that the selection box may want to be over the piece that hasn;t been added
yet, rather than the 'root' piece
Original comment by CharlesP...@googlemail.com
on 3 Dec 2013 at 11:49
Original comment by CharlesP...@googlemail.com
on 5 Dec 2013 at 12:30
Original issue reported on code.google.com by
CharlesP...@googlemail.com
on 25 Sep 2013 at 11:42Attachments: