|
@ -97,7 +97,7 @@ void SurfaceManagerGui::mouseDragged(ofMouseEventArgs & args){ |
|
|
if(guiMode == GuiMode::TEXTURE_MAPPING){ |
|
|
if(guiMode == GuiMode::TEXTURE_MAPPING){ |
|
|
textureEditor.mouseDragged(args); |
|
|
textureEditor.mouseDragged(args); |
|
|
}else if(guiMode == GuiMode::PROJECTION_MAPPING){ |
|
|
}else if(guiMode == GuiMode::PROJECTION_MAPPING){ |
|
|
projectionEditor.mouseDragged(args); |
|
|
//projectionEditor.mouseDragged(args);
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if(bDrag){ |
|
|
if(bDrag){ |
|
@ -107,7 +107,7 @@ void SurfaceManagerGui::mouseDragged(ofMouseEventArgs & args){ |
|
|
if(guiMode == GuiMode::PROJECTION_MAPPING){ |
|
|
if(guiMode == GuiMode::PROJECTION_MAPPING){ |
|
|
|
|
|
|
|
|
// Moves the selected surface on drag
|
|
|
// Moves the selected surface on drag
|
|
|
projectionEditor.moveSelectedSurface(distance); |
|
|
//projectionEditor.moveSelectedSurface(distance);
|
|
|
}else if(guiMode == GuiMode::TEXTURE_MAPPING){ |
|
|
}else if(guiMode == GuiMode::TEXTURE_MAPPING){ |
|
|
|
|
|
|
|
|
// Moves the crop area of the texture
|
|
|
// Moves the crop area of the texture
|
|
|