Bug 130988 - 3D rotation object with custom axis is wrongly created
Summary: 3D rotation object with custom axis is wrongly created
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Regina Henschel
URL:
Whiteboard: target:7.0.0
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-27 15:45 UTC by Regina Henschel
Modified: 2020-03-04 13:24 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Document for testing (10.07 KB, application/vnd.oasis.opendocument.graphics)
2020-02-27 15:45 UTC, Regina Henschel
Details
Screenshot of the result in OO1.1.5 (8.14 KB, image/png)
2020-02-27 15:46 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2020-02-27 15:45:20 UTC
Created attachment 158235 [details]
Document for testing

Open attached document.
Enable 'Snap to Object Points', that is in View > Snap Guides.
The document has two lines. Mark them together.
Use the tool 'In 3D Rotation Object' from the toolbar 'Transformations'.
You will get a to be transformed rotation axis with two handles.
Drag the handles of this axis to the ends of the blue line.
Click outside to finish creating the 3D object.

Creating a 3D object sets the lines between the segments to "none". To get a better view of the objects click on the scene and then set the line style to "solid".

Expected: You get a pink truncated cone with an axis in its center.

Actual: A total wrong object.

This tool worked in OpenOffice 1.1.5, but was already broken in OpenOffice 2.2. It likely happens with the transition from "goodies" to "basegfx".
Comment 1 Regina Henschel 2020-02-27 15:46:05 UTC
Created attachment 158236 [details]
Screenshot of the result in OO1.1.5
Comment 2 Regina Henschel 2020-02-28 17:16:52 UTC
I'm working on it.
https://gerrit.libreoffice.org/c/core/+/89730
Comment 3 Commit Notification 2020-02-29 12:10:58 UTC
Regina Henschel committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/946eb391028284ca1b0b9927891a8e21c1c478f9

tdf#130988 add y-axis up<->down in create 3D obj

It will be available in 7.0.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.