https://bugs.documentfoundation.org/show_bug.cgi?id=157532

Julien Nabet <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from Julien Nabet <[email protected]> ---
On pc Debian x86-64 with master sources updated today, I could reproduce this.

I noticed this part:
Thread 1 "soffice.bin" hit Breakpoint 1, EnhancedCustomShape3d::Create3DObject
(pShape2d=0x557c2f557360, rSdrObjCustomShape=...) at
svx/source/customshapes/EnhancedCustomShape3d.cxx:333
333             drawing::ProjectionMode eProjectionMode(
drawing::ProjectionMode_PARALLEL );
(gdb) n
334             const Any* pAny = rGeometryItem.GetPropertyValueByName(
"Extrusion", "ProjectionMode" );
(gdb) n
335             if ( pAny )
(gdb) n
336                 *pAny >>= eProjectionMode;
(gdb) p *pAny
$1 = uno::Any("byte": 1 '\001')

Also, I noticed there's ProjectionMode defined here:
https://opengrok.libreoffice.org/xref/core/offapi/com/sun/star/drawing/ProjectionMode.idl?r=5687eba4
27 published enum ProjectionMode
28 {
29     /** the 3D objects are drawn in the parallel projection.
30      */
31     PARALLEL,
32     /** the 3D objects are drawn in the perspective projection.
33      */
34     PERSPECTIVE
35 
36 };

and "ProjectionType"
enum class ProjectionType { Parallel, Perspective };
(see
https://opengrok.libreoffice.org/xref/core/include/svx/viewpt3d.hxx?r=ff546a5d&mo=1414&fi=38#38)

It seems there's some redundancy here and wonder if we should remove
ProjectionType to make this clearer.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to