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

(-)EnhancedCustomShape3d.cxx (-6 / +15 lines)
Lines 434-445 Link Here
434
                        if(aPolyPoly.isClosed())
434
                        if(aPolyPoly.isClosed())
435
                        {
435
                        {
436
                            // correct item properties from line to fill style
436
                            // correct item properties from line to fill style
437
				            aLocalSet.Put(XLineWidthItem(0));
437
                            if(eShadeMode != drawing::ShadeMode_DRAFT)
438
				            aLocalSet.Put(XLineStyleItem(XLINE_NONE));
438
                            {
439
				            aLocalSet.Put(XFillColorItem(XubString(), ((const XLineColorItem&)(aLocalSet.Get(XATTR_LINECOLOR))).GetColorValue()));
439
                                aLocalSet.Put(XLineWidthItem(0));
440
				            aLocalSet.Put(XFillStyleItem(XFILL_SOLID));
440
                                aLocalSet.Put(XLineStyleItem(XLINE_NONE));
441
				            aLocalSet.Put(XFillTransparenceItem(((const XLineTransparenceItem&)(aLocalSet.Get(XATTR_LINETRANSPARENCE))).GetValue()));
441
                                aLocalSet.Put(XFillColorItem(XubString(), ((const XLineColorItem&)(aLocalSet.Get(XATTR_LINECOLOR))).GetColorValue()));
442
                            aLocalFillStyle = XFILL_SOLID;
442
                                aLocalSet.Put(XFillStyleItem(XFILL_SOLID));
443
                                aLocalSet.Put(XFillTransparenceItem(((const XLineTransparenceItem&)(aLocalSet.Get(XATTR_LINETRANSPARENCE))).GetValue()));
444
                                aLocalFillStyle = XFILL_SOLID;
445
                            }
446
                            else
447
                            {
448
                                aLocalSet.Put( XLineStyleItem( XLINE_SOLID ) );
449
                                aLocalSet.Put( XLineWidthItem(40) );//For 3D ShadeMode_DRAFT(wire frame), it line width is fixed
450
                                aLocalFillStyle = XFILL_NONE;
451
                            }
443
                        }
452
                        }
444
                        else
453
                        else
445
                        {
454
                        {

Return to issue 120569