.. | .. |
---|
2065 | 2065 | //System.err.println("Oeil on"); |
---|
2066 | 2066 | OEIL = true; |
---|
2067 | 2067 | if ((TRACK || SHADOWTRACK) && trackedobject != null && DrawMode() == SHADOW) // && !lightMode) |
---|
2068 | | - object.editWindow.ScreenFit(trackedobject, SHADOWTRACK && !TRACK); |
---|
| 2068 | + object.GetWindow().ScreenFit(trackedobject, SHADOWTRACK && !TRACK); |
---|
2069 | 2069 | //pingthread.StepToTarget(true); |
---|
2070 | 2070 | } |
---|
2071 | 2071 | |
---|
.. | .. |
---|
11527 | 11527 | if ((TRACK || SHADOWTRACK) || zoomonce) |
---|
11528 | 11528 | { |
---|
11529 | 11529 | if ((TRACK || SHADOWTRACK) && trackedobject != null && DrawMode() == SHADOW) // && !lightMode) |
---|
11530 | | - object.editWindow.ScreenFit(trackedobject, SHADOWTRACK && !TRACK); |
---|
| 11530 | + object.GetWindow().ScreenFit(trackedobject, SHADOWTRACK && !TRACK); |
---|
11531 | 11531 | pingthread.StepToTarget(true); // true); |
---|
11532 | 11532 | // zoomonce = false; |
---|
11533 | 11533 | } |
---|
.. | .. |
---|
13943 | 13943 | |
---|
13944 | 13944 | // fev 2014??? |
---|
13945 | 13945 | if ((TRACK || SHADOWTRACK) && trackedobject != null) // && DrawMode() == SHADOW) // && !lightMode) |
---|
13946 | | - object.editWindow.ScreenFit(trackedobject, SHADOWTRACK && !TRACK); |
---|
| 13946 | + object.GetWindow().ScreenFit(trackedobject, SHADOWTRACK && !TRACK); |
---|
13947 | 13947 | pingthread.StepToTarget(true); // true); |
---|
13948 | 13948 | } |
---|
13949 | 13949 | // if (!LIVE) |
---|
.. | .. |
---|
15172 | 15172 | ClearSelection(); |
---|
15173 | 15173 | break; |
---|
15174 | 15174 | case '+': |
---|
| 15175 | + |
---|
15175 | 15176 | /* |
---|
15176 | 15177 | //fontsize += 1; |
---|
15177 | 15178 | bbzoom *= 2; |
---|
.. | .. |
---|
15189 | 15190 | case '=': |
---|
15190 | 15191 | IncDepth(); |
---|
15191 | 15192 | //fontsize += 1; |
---|
15192 | | - object.editWindow.refreshContents(true); |
---|
| 15193 | + object.GetWindow().refreshContents(true); |
---|
15193 | 15194 | maskbit = 6; |
---|
15194 | 15195 | break; |
---|
15195 | 15196 | case '-': //if (PixelThreshold>1) PixelThreshold /= 2; |
---|
15196 | 15197 | DecDepth(); |
---|
15197 | 15198 | maskbit = 5; |
---|
15198 | 15199 | //if(fontsize > 1) fontsize -= 1; |
---|
15199 | | - if (object.editWindow == null) |
---|
15200 | | - new Exception().printStackTrace(); |
---|
15201 | | - else |
---|
15202 | | - object.editWindow.refreshContents(true); |
---|
| 15200 | +// if (object.editWindow == null) |
---|
| 15201 | +// new Exception().printStackTrace(); |
---|
| 15202 | +// else |
---|
| 15203 | + object.GetWindow().refreshContents(true); |
---|
15203 | 15204 | break; |
---|
15204 | 15205 | case '{': |
---|
15205 | 15206 | manipCamera.shaper_fovy /= 1.1; |
---|
.. | .. |
---|
15423 | 15424 | } |
---|
15424 | 15425 | */ |
---|
15425 | 15426 | |
---|
15426 | | - object.editWindow.EditSelection(false); |
---|
| 15427 | + object.GetWindow().EditSelection(false); |
---|
15427 | 15428 | } |
---|
15428 | 15429 | |
---|
15429 | 15430 | void SelectParent() |
---|
.. | .. |
---|
15440 | 15441 | { |
---|
15441 | 15442 | //selectees.remove(i); |
---|
15442 | 15443 | System.out.println("select parent of " + elem); |
---|
15443 | | - group.editWindow.Select(elem.parent.GetTreePath(), first, true); |
---|
| 15444 | + group.GetWindow().Select(elem.parent.GetTreePath(), first, true); |
---|
15444 | 15445 | } else |
---|
15445 | 15446 | { |
---|
15446 | | - group.editWindow.Select(elem.GetTreePath(), first, true); |
---|
| 15447 | + group.GetWindow().Select(elem.GetTreePath(), first, true); |
---|
15447 | 15448 | } |
---|
15448 | 15449 | |
---|
15449 | 15450 | first = false; |
---|
.. | .. |
---|
15485 | 15486 | for (int j = 0; j < group.children.size(); j++) |
---|
15486 | 15487 | { |
---|
15487 | 15488 | elem = (Object3D) group.children.elementAt(j); |
---|
15488 | | - object.editWindow.Select(elem.GetTreePath(), first, true); |
---|
| 15489 | + object.GetWindow().Select(elem.GetTreePath(), first, true); |
---|
15489 | 15490 | first = false; |
---|
15490 | 15491 | } |
---|
15491 | 15492 | } else |
---|
15492 | 15493 | { |
---|
15493 | | - object.editWindow.Select(elem.GetTreePath(), first, true); |
---|
| 15494 | + object.GetWindow().Select(elem.GetTreePath(), first, true); |
---|
15494 | 15495 | } |
---|
15495 | 15496 | |
---|
15496 | 15497 | first = false; |
---|
.. | .. |
---|
15501 | 15502 | { |
---|
15502 | 15503 | //Composite group = (Composite) object; |
---|
15503 | 15504 | Object3D group = object; |
---|
15504 | | - group.editWindow.loadClipboard(true); // ClearSelection(false); |
---|
| 15505 | + group.GetWindow().loadClipboard(true); // ClearSelection(false); |
---|
15505 | 15506 | } |
---|
15506 | 15507 | |
---|
15507 | 15508 | void ResetTransform(int mask) |
---|
15508 | 15509 | { |
---|
15509 | 15510 | //Composite group = (Composite) object; |
---|
15510 | 15511 | Object3D group = object; |
---|
15511 | | - group.editWindow.ResetTransform(mask); |
---|
| 15512 | + group.GetWindow().ResetTransform(mask); |
---|
15512 | 15513 | } |
---|
15513 | 15514 | |
---|
15514 | 15515 | void FlipTransform() |
---|
15515 | 15516 | { |
---|
15516 | 15517 | //Composite group = (Composite) object; |
---|
15517 | 15518 | Object3D group = object; |
---|
15518 | | - group.editWindow.FlipTransform(); |
---|
| 15519 | + group.GetWindow().FlipTransform(); |
---|
15519 | 15520 | // group.editWindow.ReduceMesh(true); |
---|
15520 | 15521 | } |
---|
15521 | 15522 | |
---|
.. | .. |
---|
15523 | 15524 | { |
---|
15524 | 15525 | //Composite group = (Composite) object; |
---|
15525 | 15526 | Object3D group = object; |
---|
15526 | | - group.editWindow.PrintMemory(); |
---|
| 15527 | + group.GetWindow().PrintMemory(); |
---|
15527 | 15528 | // group.editWindow.ReduceMesh(true); |
---|
15528 | 15529 | } |
---|
15529 | 15530 | |
---|
.. | .. |
---|
15531 | 15532 | { |
---|
15532 | 15533 | //Composite group = (Composite) object; |
---|
15533 | 15534 | Object3D group = object; |
---|
15534 | | - group.editWindow.ResetCentroid(); |
---|
| 15535 | + group.GetWindow().ResetCentroid(); |
---|
15535 | 15536 | } |
---|
15536 | 15537 | |
---|
15537 | 15538 | void IncDepth() |
---|
.. | .. |
---|
16723 | 16724 | } |
---|
16724 | 16725 | |
---|
16725 | 16726 | if (!movingcamera && !PAINTMODE) |
---|
16726 | | - object.editWindow.ScreenFitPoint(); // fev 2014 |
---|
| 16727 | + object.GetWindow().ScreenFitPoint(); // fev 2014 |
---|
16727 | 16728 | |
---|
16728 | 16729 | if (PAINTMODE && Grafreed.clipboard.size() == 1) // object.editWindow.copy.selection.Size() > 0) |
---|
16729 | 16730 | { |
---|
.. | .. |
---|
16735 | 16736 | |
---|
16736 | 16737 | group.add(paintobj); // link |
---|
16737 | 16738 | |
---|
16738 | | - object.editWindow.SnapObject(group); |
---|
| 16739 | + object.GetWindow().SnapObject(group); |
---|
16739 | 16740 | |
---|
16740 | | - Object3D folder = object.editWindow.copy; |
---|
| 16741 | + Object3D folder = object.GetWindow().copy; |
---|
16741 | 16742 | |
---|
16742 | | - if (object.editWindow.copy.selection.Size() > 0) |
---|
16743 | | - folder = object.editWindow.copy.selection.elementAt(0); |
---|
| 16743 | + if (object.GetWindow().copy.selection.Size() > 0) |
---|
| 16744 | + folder = object.GetWindow().copy.selection.elementAt(0); |
---|
16744 | 16745 | |
---|
16745 | 16746 | folder.add(group); |
---|
16746 | 16747 | |
---|
16747 | | - object.editWindow.ResetModel(); |
---|
16748 | | - object.editWindow.refreshContents(); |
---|
| 16748 | + object.GetWindow().ResetModel(); |
---|
| 16749 | + object.GetWindow().refreshContents(); |
---|
16749 | 16750 | } |
---|
16750 | 16751 | else |
---|
16751 | 16752 | paintcount = 0; |
---|