Show
Ignore:
Timestamp:
09/16/03 16:17:45 (5 years ago)
Author:
sholloway
Message:

*** empty log message ***

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/RBRapier/demo/Wavefront/scene.py

    r702 r705  
    6363    </frame> 
    6464 
     65    <!-- 
    6566    <frame title='Demo PyCrust' show='1' pos='850,0' size='400,800'> 
    6667        <layout fit='0'> 
     
    6869        </layout>  
    6970    </frame> 
     71    --> 
    7072</skin:skin> 
    7173""" 
     
    186188        # Recalculate the viewport 
    187189        self.Viewport.SetRectangle(canvas.GetClientRect().asTuple()) 
    188         self.Projection.Perspective.AspectRatio = self.Viewport.AspectRatio 
     190        self.Projection.Perspective.SetAspectRatio(self.Viewport.GetAspectRatio()) 
    189191        # Draw the stuffage!  =) 
    190192        self.Sequence.GLExecute(None)