.. | .. |
---|
3699 | 3699 | } |
---|
3700 | 3700 | |
---|
3701 | 3701 | ResetModel(); |
---|
3702 | | - refreshContents(); |
---|
| 3702 | + refreshContents(true); |
---|
3703 | 3703 | } else |
---|
3704 | 3704 | if (source == sortbynameItem) |
---|
3705 | 3705 | { |
---|
.. | .. |
---|
3711 | 3711 | } |
---|
3712 | 3712 | |
---|
3713 | 3713 | ResetModel(); |
---|
3714 | | - refreshContents(); |
---|
| 3714 | + refreshContents(true); |
---|
3715 | 3715 | } else |
---|
3716 | 3716 | if (source == attachPigmentItem) |
---|
3717 | 3717 | { |
---|
.. | .. |
---|
4322 | 4322 | ResetTransform(-1); |
---|
4323 | 4323 | } |
---|
4324 | 4324 | |
---|
4325 | | - void ScaleSelection(int scale) |
---|
| 4325 | + void ScaleSelection(float scale) |
---|
4326 | 4326 | { |
---|
4327 | 4327 | Object3D obj; |
---|
4328 | 4328 | for (Enumeration e = group.selection.elements(); e.hasMoreElements();) |
---|
.. | .. |
---|
4330 | 4330 | obj = (Object3D)e.nextElement(); |
---|
4331 | 4331 | |
---|
4332 | 4332 | if (obj.toParent == null) |
---|
4333 | | - continue; |
---|
| 4333 | + { |
---|
| 4334 | + obj.toParent = LA.newMatrix(); |
---|
| 4335 | + obj.fromParent = LA.newMatrix(); |
---|
| 4336 | + } |
---|
4334 | 4337 | |
---|
4335 | 4338 | obj.Scale(scale); |
---|
4336 | 4339 | |
---|
.. | .. |
---|
5429 | 5432 | |
---|
5430 | 5433 | SetPinStates(tps != null && tps.length > 0); |
---|
5431 | 5434 | |
---|
| 5435 | + this.muteSlider = true; |
---|
| 5436 | + scaleSlider.setInteger(1); |
---|
| 5437 | + scaleInvSlider.setInteger(1); |
---|
| 5438 | + this.muteSlider = false; |
---|
| 5439 | + |
---|
5432 | 5440 | refreshContents(); |
---|
5433 | 5441 | //return true; |
---|
5434 | 5442 | } |
---|
.. | .. |
---|
5471 | 5479 | { |
---|
5472 | 5480 | objEditor.ClearInfo(); // .GetMaterial()); |
---|
5473 | 5481 | |
---|
| 5482 | + if (group.selection.Size() < 100) |
---|
5474 | 5483 | for (int i=0; i < group.selection.Size(); i++) |
---|
5475 | 5484 | { |
---|
5476 | 5485 | Object3D child = (Object3D) group.selection.get(i); |
---|