View | Details | Raw Unified | Return to issue 128489
Collapse All | Expand All

(-)a/svx/source/customshapes/EnhancedCustomShape3d.cxx (-2 / +2 lines)
Lines 304-310 Link Here
304
304
305
        double fExtrusionBackward, fExtrusionForward;
305
        double fExtrusionBackward, fExtrusionForward;
306
        GetExtrusionDepth( rGeometryItem, pMap, fExtrusionBackward, fExtrusionForward );
306
        GetExtrusionDepth( rGeometryItem, pMap, fExtrusionBackward, fExtrusionForward );
307
        double fDepth = fExtrusionBackward - fExtrusionForward;
307
        double fDepth = fExtrusionBackward + fExtrusionForward;
308
        if ( fDepth < 1.0 )
308
        if ( fDepth < 1.0 )
309
            fDepth = 1.0;
309
            fDepth = 1.0;
310
310
Lines 768-774 Link Here
768
768
769
    for ( i = 0; i < 4; i++ )
769
    for ( i = 0; i < 4; i++ )
770
    {
770
    {
771
        aBoundVolume.append(basegfx::B3DPoint(aPolygon[ static_cast<sal_uInt16>(i) ].X() - aCenter.X(), aPolygon[ static_cast<sal_uInt16>(i) ].Y() - aCenter.Y(), fExtrusionForward));
771
        aBoundVolume.append(basegfx::B3DPoint(aPolygon[ static_cast<sal_uInt16>(i) ].X() - aCenter.X(), aPolygon[ static_cast<sal_uInt16>(i) ].Y() - aCenter.Y(), -fExtrusionForward));
772
    }
772
    }
773
773
774
    for ( i = 0; i < 4; i++ )
774
    for ( i = 0; i < 4; i++ )

Return to issue 128489