Changeset 705 for trunk/RBRapier/demo/Wavefront
- Timestamp:
- 09/16/03 16:17:45 (5 years ago)
- Files:
-
- trunk/RBRapier/demo/Wavefront/scene.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/RBRapier/demo/Wavefront/scene.py
r702 r705 63 63 </frame> 64 64 65 <!-- 65 66 <frame title='Demo PyCrust' show='1' pos='850,0' size='400,800'> 66 67 <layout fit='0'> … … 68 69 </layout> 69 70 </frame> 71 --> 70 72 </skin:skin> 71 73 """ … … 186 188 # Recalculate the viewport 187 189 self.Viewport.SetRectangle(canvas.GetClientRect().asTuple()) 188 self.Projection.Perspective. AspectRatio = self.Viewport.AspectRatio190 self.Projection.Perspective.SetAspectRatio(self.Viewport.GetAspectRatio()) 189 191 # Draw the stuffage! =) 190 192 self.Sequence.GLExecute(None)
