|
@ -233,11 +233,6 @@ void ProjectionEditor::moveSelectedSurface(ofVec2f by){ |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
surfaceManager->getSelectedSurface()->moveBy(by); |
|
|
surfaceManager->getSelectedSurface()->moveBy(by); |
|
|
/*vector<ofVec3f>& vertices =
|
|
|
|
|
|
surfaceManager->getSelectedSurface()->getVertices(); |
|
|
|
|
|
for (int i=0; i<vertices.size(); i++) { |
|
|
|
|
|
vertices[i] += by; |
|
|
|
|
|
}*/ |
|
|
|
|
|
updateJoints(); |
|
|
updateJoints(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -247,8 +242,6 @@ void ProjectionEditor::stopDragJoints(){ |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void ProjectionEditor::setSnapDistance(float newSnapDistance){ |
|
|
void ProjectionEditor::setSnapDistance(float newSnapDistance){ |
|
|
fSnapDistance = newSnapDistance; |
|
|
fSnapDistance = newSnapDistance; |
|
|
} |
|
|
} |
|
|