Changeset 636

Show
Ignore:
Timestamp:
10/19/06 18:59:10 (2 years ago)
Author:
leo
Message:

Add new pieces above the origin plane.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/common/project.cpp

    r634 r636  
    49194919            } 
    49204920            else 
    4921                 pPiece->Initialize(0, 0, 0, m_nCurStep, m_nCurFrame, m_nCurColor); 
     4921                pPiece->Initialize(0, 0, -m_pCurPiece->m_fDimensions[5], m_nCurStep, m_nCurFrame, m_nCurColor); 
    49224922 
    49234923            SelectAndFocusNone(false); 
     
    65316531    if (LinePlaneIntersection(Intersection, ClickPoints[0], ClickPoints[1], Vector4(0, 0, 1, 0))) 
    65326532    { 
     6533        Intersection[2] += -m_pCurPiece->m_fDimensions[5]; 
    65336534        SnapVector(Intersection); 
    65346535        Position = Intersection;