Path: Several fixes suggested by wmayer

This commit is contained in:
Yorik van Havre
2015-07-14 12:23:40 -03:00
parent 42afedc4ba
commit 8b09e708e2
6 changed files with 12 additions and 11 deletions

View File

@@ -231,7 +231,7 @@ void ViewProviderPath::updateData(const App::Property* prop)
bool absolute = true;
bool first = true;
for (int i = 0; i < tp.getSize(); i++) {
for (unsigned int i = 0; i < tp.getSize(); i++) {
Path::Command cmd = tp.getCommand(i);
std::string name = cmd.Name;
Base::Vector3d next = cmd.getPlacement().getPosition();