Comment 6 for bug 504032

Revision history for this message
su_v (suv-lp) wrote :

> Look at the sample here - no perspective tools used.
I did ;)

  <defs
     id="defs4">
    <inkscape:perspective
       sodipodi:type="inkscape:persp3d"
       inkscape:vp_x="0 : 0.5 : 1"
       inkscape:vp_y="0 : 1000 : 0"
       inkscape:vp_z="1 : 0.5 : 1"
       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
       id="perspective3635" />
    <inkscape:perspective
       sodipodi:type="inkscape:persp3d"
       inkscape:vp_x="0 : 0.5 : 1"
       inkscape:vp_y="0 : 1000 : 0"
       inkscape:vp_z="1 : 0.5 : 1"
       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
       id="perspective3605" />
    <inkscape:perspective
       id="perspective10"
       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
       inkscape:vp_z="1 : 0.5 : 1"
       inkscape:vp_y="0 : 1000 : 0"
       inkscape:vp_x="0 : 0.5 : 1"
       sodipodi:type="inkscape:persp3d" />
  </defs>

> Is it being stuck into the file by Inkscape default?

it was up to revision 8910

> None of the work I get the crash on is related to perspective tools.

Because it is not connected directly to the *use* of the 3dbox tool. AFAIU previous to the changes in r8911 and r8910 every document opened in Inkscape had at least one 'perspective' definition in the <defs> section added. Now it is only stored when there is a 3dbox element added in that document. But the refactoring changes currently cause Inkscape to crash on opening an older document (created with inkscape < r8910) under certain conditions.

I can revert the duplicate status if you prefer, but I still think it is the same bug.

see also:
<http://thread.gmane.org/gmane.comp.graphics.inkscape.devel/32764/focus=32774>

revision 8910: Refactoring of 3D box tool, mainly to avoid unnecessary creation of perspectives.
revision 8911: Major simplification of 3D box code