mirror of https://github.com/odrling/Aegisub
Fixed the orientation of Y and Z axes in XY rotation tool. (mostly a cosmetic fix)
Originally committed to SVN as r1350.
This commit is contained in:
parent
0d40d2533f
commit
efa8401415
|
@ -617,7 +617,6 @@ void VideoDisplay::OnSaveSnapshotRaw(wxCommandEvent &event) {
|
||||||
/////////////////////
|
/////////////////////
|
||||||
// Copy coordinates
|
// Copy coordinates
|
||||||
void VideoDisplay::OnCopyCoords(wxCommandEvent &event) {
|
void VideoDisplay::OnCopyCoords(wxCommandEvent &event) {
|
||||||
wxLogMessage(_T("TODO: FIXME"));
|
|
||||||
if (wxTheClipboard->Open()) {
|
if (wxTheClipboard->Open()) {
|
||||||
int sw,sh;
|
int sw,sh;
|
||||||
VideoContext::Get()->GetScriptSize(sw,sh);
|
VideoContext::Get()->GetScriptSize(sw,sh);
|
||||||
|
|
|
@ -140,9 +140,9 @@ void VisualToolRotateXY::Draw() {
|
||||||
glVertex3f(0.0f,0.0f,0.0f);
|
glVertex3f(0.0f,0.0f,0.0f);
|
||||||
glVertex3f(50.0f,0.0f,0.0f);
|
glVertex3f(50.0f,0.0f,0.0f);
|
||||||
glVertex3f(0.0f,0.0f,0.0f);
|
glVertex3f(0.0f,0.0f,0.0f);
|
||||||
glVertex3f(0.0f,-50.0f,0.0f);
|
glVertex3f(0.0f,50.0f,0.0f);
|
||||||
glVertex3f(0.0f,0.0f,0.0f);
|
glVertex3f(0.0f,0.0f,0.0f);
|
||||||
glVertex3f(0.0f,0.0f,-50.0f);
|
glVertex3f(0.0f,0.0f,50.0f);
|
||||||
glEnd();
|
glEnd();
|
||||||
|
|
||||||
// Draw arrow tops
|
// Draw arrow tops
|
||||||
|
@ -155,20 +155,20 @@ void VisualToolRotateXY::Draw() {
|
||||||
glVertex3f(50.0f,-3.0f,-3.0f);
|
glVertex3f(50.0f,-3.0f,-3.0f);
|
||||||
glEnd();
|
glEnd();
|
||||||
glBegin(GL_TRIANGLE_FAN);
|
glBegin(GL_TRIANGLE_FAN);
|
||||||
glVertex3f(0.0f,-60.0f,0.0f);
|
glVertex3f(0.0f,60.0f,0.0f);
|
||||||
glVertex3f(-3.0f,-50.0f,-3.0f);
|
glVertex3f(-3.0f,50.0f,-3.0f);
|
||||||
glVertex3f(3.0f,-50.0f,-3.0f);
|
glVertex3f(3.0f,50.0f,-3.0f);
|
||||||
glVertex3f(3.0f,-50.0f,3.0f);
|
glVertex3f(3.0f,50.0f,3.0f);
|
||||||
glVertex3f(-3.0f,-50.0f,3.0f);
|
glVertex3f(-3.0f,50.0f,3.0f);
|
||||||
glVertex3f(-3.0f,-50.0f,-3.0f);
|
glVertex3f(-3.0f,50.0f,-3.0f);
|
||||||
glEnd();
|
glEnd();
|
||||||
glBegin(GL_TRIANGLE_FAN);
|
glBegin(GL_TRIANGLE_FAN);
|
||||||
glVertex3f(0.0f,0.0f,-60.0f);
|
glVertex3f(0.0f,0.0f,60.0f);
|
||||||
glVertex3f(-3.0f,-3.0f,-50.0f);
|
glVertex3f(-3.0f,-3.0f,50.0f);
|
||||||
glVertex3f(3.0f,-3.0f,-50.0f);
|
glVertex3f(3.0f,-3.0f,50.0f);
|
||||||
glVertex3f(3.0f,3.0f,-50.0f);
|
glVertex3f(3.0f,3.0f,50.0f);
|
||||||
glVertex3f(-3.0f,3.0f,-50.0f);
|
glVertex3f(-3.0f,3.0f,50.0f);
|
||||||
glVertex3f(-3.0f,-3.0f,-50.0f);
|
glVertex3f(-3.0f,-3.0f,50.0f);
|
||||||
glEnd();
|
glEnd();
|
||||||
|
|
||||||
// Restore gl's state
|
// Restore gl's state
|
||||||
|
|
Loading…
Reference in New Issue