mirror of
https://github.com/kr15h/ofxPiMapper.git
synced 2026-06-16 12:31:49 +02:00
Merge branch 'bugfix-iss15' into develop
This commit is contained in:
@@ -167,7 +167,7 @@ void TextureEditor::moveTexCoords(ofVec2f by) {
|
||||
surface->getSource()->getTexture()->getHeight());
|
||||
for (int i = 0; i < texCoords.size(); i++) {
|
||||
joints[i]->position += by;
|
||||
texCoords[i] = joints[i]->position / textureSize;
|
||||
surface->setTexCoord(i, joints[i]->position / textureSize);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user