Skip to content

Commit

Permalink
Add a little fix in VUE2D_BezierNurbsPath demo
Browse files Browse the repository at this point in the history
  • Loading branch information
warnotte committed Nov 21, 2023
1 parent 2153ed1 commit fb1e069
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -343,10 +343,13 @@ public void mouseClicked(MouseEvent e) {
public void mouseDragged(java.awt.event.MouseEvent e) {
super.mouseDragged(e);

int modif = e.getModifiers();
//int modif = e.getModifiers();
// MBUTTON_SELECTION_MASK = -1;
// if (demoNurbsTest)
if (e.getButton()==MouseEvent.BUTTON3) {

System.err.println(">> "+MBUTTON_POPUP_MASK_ENABLED);
if (MBUTTON_POPUP_MASK_ENABLED) {
//if (e.getButton()==MouseEvent.BUTTON3) {
List<NurbsPoint> sel = (List<NurbsPoint>) getContxt().getSelection(NurbsPoint.class);

List<NurbsCurve> listcurve = (List<NurbsCurve>) getContxt().getSelection(NurbsCurve.class);
Expand Down

0 comments on commit fb1e069

Please sign in to comment.