Esempio n. 1
0
 void TriggerRepaint2D(bool bForce)
 {
     if (_bPreview2D || bForce)
     {
         Scene2DView.Update2DViews();
     }
 }
Esempio n. 2
0
        void UpdateSelectionRect()
        {
            Vector3F pos = this.Position;

            _selection.SetExtent(
                pos.X - _fMinX * ScaleX,
                pos.Y - _fMinY * ScaleY,
                pos.X + _fMaxX * ScaleX,
                pos.Y + _fMaxY * ScaleY
                );
            _selection.DisplayZ = pos.Z;

            if (_hotspotMinX != null)
            {
                _hotspotMinX.DisplayScaling = ScaleX;
                _hotspotMaxX.DisplayScaling = ScaleX;
                _hotspotMinY.DisplayScaling = ScaleY;
                _hotspotMaxY.DisplayScaling = ScaleY;
            }
            Scene2DView.Update2DViews();
        }
 public override void Undo()
 {
     base.Undo();
     Scene2DView.Update2DViews();
 }
 public override void Do()
 {
     base.Do();
     Scene2DView.Update2DViews();
 }