Kaydet (Commit) 7c5ce581 authored tarafından Kurt Zenker's avatar Kurt Zenker

INTEGRATION: CWS aw048 (1.14.186); FILE MERGED

2007/03/27 10:42:29 aw 1.14.186.1: #i71618# enchanced PolygonOffset support: New default value and set/getPolygonOffset() methods for 3d at E3DScene
üst 365a45d8
......@@ -4,9 +4,9 @@
*
* $RCSfile: polysc3d.cxx,v $
*
* $Revision: 1.14 $
* $Revision: 1.15 $
*
* last change: $Author: ihi $ $Date: 2006-11-14 13:21:42 $
* last change: $Author: kz $ $Date: 2007-05-09 13:30:54 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
......@@ -199,6 +199,10 @@ BOOL E3dPolyScene::LocalPaint3D(XOutputDevice& rOut,
DBG_ASSERT(pBase3D, "Habe keinen Base3D Kontext bekommen!!");
pBase3D->SetDisplayQuality(GetDisplayQuality());
// #i71618#
// copy local PolygonOffset to base3d
pBase3D->setPolygonOffset(getPolygonOffset());
if(nShadeMode == 0)
pBase3D->SetShadeModel(Base3DFlat);
else if(nShadeMode == 1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment