3D Box tool does not create correct boxes

Bug #401346 reported by 375gnu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Unassigned

Bug Description

3D Box tool does not create correct boxes, but something like pyramid starting form left bottom corner. Currently i have build 21857, but it was the same with older builds. It works correct with 0.46

Tags: 3dbox
Revision history for this message
375gnu (375gnu) wrote :
Revision history for this message
Alvin Penner (apenner) wrote :

this may be related to the values of the angles X,Y,Z. When I first draw the box, I have angle X = 30, Y = 30, Z = 30. Try modifying these angles. You may need to use the toggle buttons beside them to enable the angles so you can modify them.

Revision history for this message
Alvin Penner (apenner) wrote :

attached is my default box obtained from Windows XP and 0.47 pre0.

Revision history for this message
375gnu (375gnu) wrote :

Yeah, I'm a kind of stupid asshole. Close it as 'not a bug'.

Revision history for this message
Alvin Penner (apenner) wrote :

okay, thanks for the feedback

Changed in inkscape:
status: New → Invalid
Revision history for this message
375gnu (375gnu) wrote :

It is a bug, really.

When Inkscape can't load translated version of default template (default.XX.svg) during creation of new image it has very strange behavior when works with 3D Boxes: X-Axis VP is bottom left corner, box disappears when X-Axis VP is tourned into infinite or when trying to move X-Axis VP. May be other shapes are affected too.

A possible solution is to load system wide default.svg if translated one can't be loaded. And use no template only if system wide one can't be loaded. Patch is provided in attachment.

Also I've fixed possible tiny memory leaks in that function, and removed usage of std::list because usual array is enough (KISS!).

Changed in inkscape:
status: Invalid → New
Revision history for this message
375gnu (375gnu) wrote :

It's the patch mentioned above.

tags: added: 3dbox
Revision history for this message
jazzynico (jazzynico) wrote :
Changed in inkscape:
importance: Undecided → Medium
status: New → Fix Released
milestone: none → 0.47
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.