Skip to content

Commit

Permalink
Merge branch 'collaborate_mode_qt6'
Browse files Browse the repository at this point in the history
  • Loading branch information
zackzhy committed Feb 25, 2025
2 parents a53c6ef + 355497a commit 89d51de
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions v3d_main/3drenderer/renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -698,8 +698,8 @@ void Renderer::drawEditInfo()
}

sprintf(str, "%s", editdisplay.c_str());

drawString(A0.x + td, A0.y, A0.z, str, 0, 18); // same renderText problem above, 20210825

// drawString(A0.x + td, A0.y + td, A0.z, "bigneuron.org", 0, fontsize);
//glColor3f(1, 0, 0); drawString(A1.x + td, A0.y, A0.z, "X");
//glColor3f(0, 1, 0); drawString(A0.x, A1.y + td, A0.z, "Y");
Expand All @@ -711,7 +711,6 @@ void Renderer::drawEditInfo()
glPopMatrix();
glMatrixMode(GL_MODELVIEW);


}


Expand Down
5 changes: 3 additions & 2 deletions v3d_main/3drenderer/v3dr_glwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,7 @@ void V3dR_GLWidget::stillPaint()
#define IS_CTRL_MODIFIER ((KM==Qt::ControlModifier) || (KM==CTRL2_MODIFIER))
#define WITH_CTRL_MODIFIER ((KM & Qt::ControlModifier) || (KM & CTRL2_MODIFIER))
#define IS_ALT_MODIFIER ((KM==Qt::AltModifier) || (KM==ALT2_MODIFIER))
#define IS_ALT_SHIFT_MODIFIER ((KM==(Qt::AltModifier | Qt::ShiftModifier)))
#define WITH_ALT_MODIFIER ((KM & Qt::AltModifier) || (KM & ALT2_MODIFIER))
#define IS_SHIFT_MODIFIER ((KM==Qt::ShiftModifier))
#define WITH_SHIFT_MODIFIER ((KM & Qt::ShiftModifier))
Expand Down Expand Up @@ -1330,9 +1331,9 @@ void V3dR_GLWidget::handleKeyPressEvent(QKeyEvent * e) //090428 RZC: make publi
)
{
toggleTex2D3D();
}else if (IS_ALT_MODIFIER)
}else if (IS_ALT_MODIFIER || IS_ALT_SHIFT_MODIFIER)
{
emit changeEditinput("Alt+T");
emit changeEditinput("Alt+T: Retyping");
if(!isoperating)
isoperating=true;
callStrokeRetypeMultiNeurons();//For multiple segments retyping shortcut, by ZZ,02212018
Expand Down
2 changes: 1 addition & 1 deletion v3d_main/terafly/src/presentation/PMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2470,7 +2470,7 @@ void PMain::importDone(RuntimeException *ex, qint64 elapsed_time)
int curWidth = uniqueInstance->width();
uniqueInstance->resize(curWidth, screenHeight - 100);

new_win->resize(screenWidth - curWidth - 100, screenHeight - 100);
new_win->resize(screenWidth - curWidth - 100, screenHeight - 80);
}

//resetting some widgets
Expand Down

0 comments on commit 89d51de

Please sign in to comment.