[go: up one dir, main page]

Path effects 'Rotate Copies' and 'Corners' crash

Steps to reproduce:

Select the shape.

Go to Path Effects

Select Rotate Copies

Decrease "Number of copies" to cause internal error

What happened?

crash

Automatic backup has garbage in satellites_param

Workaround:

Disable Corners effect before editing Rotate Copies.

Inkscape Version and Operating System:

Inkscape 1.0beta1 (c080c5e, 2019-10-31) Windows 10 x64

Before:

<?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="1024" height="1024" viewBox="0 0 270.93333 270.93334" version="1.1" id="svg8" inkscape:version="1.0beta1 (c080c5e, 2019-10-31)" sodipodi:docname="copies.svg"> <defs id="defs2"> <inkscape:path-effect hide_knots="false" only_selected="false" apply_with_radius="true" apply_no_radius="true" use_knot_distance="false" flexible="false" chamfer_steps="1" radius="4" mode="F" method="auto" unit="px" satellites_param="F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 | F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 | F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 | F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 | F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 | F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1" is_visible="true" id="path-effect836" effect="fillet_chamfer" /> <inkscape:path-effect effect="copy_rotate" starting_point="0,0" origin="26.98,39.69" id="path-effect839" is_visible="true" method="normal" num_copies="6" starting_angle="0" rotation_angle="60" gap="0.05" copies_to_360="true" mirror_copies="false" split_items="false" /> <inkscape:path-effect split_items="false" mirror_copies="false" copies_to_360="true" gap="0.05" rotation_angle="60" starting_angle="0" num_copies="6" method="normal" is_visible="false" id="path-effect834" origin="26.98,39.69" starting_point="0,0" effect="copy_rotate" /> <inkscape:path-effect effect="copy_rotate" starting_point="0,0" origin="0,0" id="path-effect837" is_visible="true" method="normal" num_copies="6" starting_angle="0" rotation_angle="60" gap="0.05" copies_to_360="true" mirror_copies="false" split_items="false" /> </defs> <sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="0.98994949" inkscape:cx="520.42808" inkscape:cy="534.65513" inkscape:document-units="px" inkscape:current-layer="layer1" inkscape:document-rotation="0" showgrid="false" units="px" /> <metadata id="metadata5"> <rdf:RDF> <cc:Work rdf:about=""> <dc:format>image/svg+xml</dc:format> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> <dc:title /> </cc:Work> </rdf:RDF> </metadata> <g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1"> <path inkscape:path-effect="#path-effect839;#path-effect836" transform="matrix(4.2808739,0,0,4.2723788,19.96869,-34.104047)" sodipodi:type="rect" d="m 30.97576,26.975758 h 17.423482 a 4,4 45 0 1 4,4 V 48.39924 a 4,4 135 0 1 -4,4 H 30.97576 a 4,4 45 0 1 -4,-4 V 30.975758 a 4,4 135 0 1 4,-4 z M 17.967023,29.87245 26.678764,14.783271 a 4,4 165 0 1 5.464102,-1.464102 l 15.089179,8.711742 a 4,4 75 0 1 1.464101,5.464101 l -8.711741,15.089179 a 4,4 165 0 1 -5.464102,1.464102 L 19.431124,35.336551 A 4,4 75 0 1 17.967023,29.87245 Z M 13.971263,42.586692 5.2595219,27.497513 A 4,4 105 0 1 6.7236235,22.033412 L 21.812802,13.32167 a 4,4 15 0 1 5.464102,1.464102 l 8.711741,15.089179 a 4,4 105 0 1 -1.464101,5.464101 l -15.089179,8.711742 a 4,4 15 0 1 -5.464102,-1.464102 z m 9.012977,9.81755 -17.4234824,0 a 4,4 45 0 1 -4,-4 l 0,-17.423482 a 4,4 135 0 1 4,-4 l 17.4234824,0 a 4,4 45 0 1 4,4 l 0,17.423482 a 4,4 135 0 1 -4,4 z M 35.992977,49.50755 27.281236,64.596729 a 4,4 165 0 1 -5.464102,1.464102 L 6.7279553,57.349089 A 4,4 75 0 1 5.2638537,51.884988 L 13.975595,36.795809 a 4,4 165 0 1 5.464102,-1.464102 l 15.089179,8.711742 a 4,4 75 0 1 1.464101,5.464101 z m 3.99576,-12.714242 8.711741,15.089179 a 4,4 105 0 1 -1.464102,5.464101 L 32.147198,66.05833 A 4,4 15 0 1 26.683096,64.594228 L 17.971355,49.505049 a 4,4 105 0 1 1.464101,-5.464101 l 15.089179,-8.711742 a 4,4 15 0 1 5.464102,1.464102 z" y="26.975758" x="26.97576" height="25.423483" width="25.423483" id="rect832" style="fill:#ffffff;stroke:#000000;stroke-width:1.48481599;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> </g> </svg>

After:

<?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="1024" height="1024" viewBox="0 0 270.93333 270.93334" version="1.1" id="svg8" inkscape:version="1.0beta1 (c080c5e, 2019-10-31)" sodipodi:docname="copies.svg"> <defs id="defs2"> <inkscape:path-effect hide_knots="false" only_selected="false" apply_with_radius="true" apply_no_radius="true" use_knot_distance="false" flexible="false" chamfer_steps="1" radius="4" mode="F" method="auto" unit="px" satellites_param="F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 | | | | " is_visible="true" id="path-effect836" effect="fillet_chamfer" /> <inkscape:path-effect effect="copy_rotate" starting_point="0,0" origin="26.98,39.69" id="path-effect839" is_visible="true" method="normal" num_copies="5" starting_angle="0" rotation_angle="60" gap="0.05" copies_to_360="true" mirror_copies="false" split_items="false" /> <inkscape:path-effect split_items="false" mirror_copies="false" copies_to_360="true" gap="0.05" rotation_angle="60" starting_angle="0" num_copies="6" method="normal" is_visible="false" id="path-effect834" origin="26.98,39.69" starting_point="0,0" effect="copy_rotate" /> <inkscape:path-effect effect="copy_rotate" starting_point="0,0" origin="0,0" id="path-effect837" is_visible="true" method="normal" num_copies="6" starting_angle="0" rotation_angle="60" gap="0.05" copies_to_360="true" mirror_copies="false" split_items="false" /> </defs> <sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="0.98994949" inkscape:cx="520.42808" inkscape:cy="534.65513" inkscape:document-units="px" inkscape:current-layer="layer1" inkscape:document-rotation="0" showgrid="false" units="px" /> <metadata id="metadata5"> <rdf:RDF> <cc:Work rdf:about=""> <dc:format>image/svg+xml</dc:format> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> <dc:title /> </cc:Work> </rdf:RDF> </metadata> <g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1"> <path inkscape:path-effect="#path-effect839;#path-effect836" transform="matrix(4.2808739,0,0,4.2723788,19.96869,-34.104047)" sodipodi:type="rect" d="m 30.97576,26.975758 h 17.423482 a 4,4 45 0 1 4,4 V 48.39924 a 4,4 135 0 1 -4,4 H 30.97576 a 4,4 45 0 1 -4,-4 V 30.975758 a 4,4 135 0 1 4,-4 z M 17.967023,29.87245 26.678764,14.783271 a 4,4 165 0 1 5.464102,-1.464102 l 15.089179,8.711742 a 4,4 75 0 1 1.464101,5.464101 l -8.711741,15.089179 a 4,4 165 0 1 -5.464102,1.464102 L 19.431124,35.336551 A 4,4 75 0 1 17.967023,29.87245 Z M 13.971263,42.586692 5.2595219,27.497513 A 4,4 105 0 1 6.7236235,22.033412 L 21.812802,13.32167 a 4,4 15 0 1 5.464102,1.464102 l 8.711741,15.089179 a 4,4 105 0 1 -1.464101,5.464101 l -15.089179,8.711742 a 4,4 15 0 1 -5.464102,-1.464102 z m 9.012977,9.81755 -17.4234824,0 a 4,4 45 0 1 -4,-4 l 0,-17.423482 a 4,4 135 0 1 4,-4 l 17.4234824,0 a 4,4 45 0 1 4,4 l 0,17.423482 a 4,4 135 0 1 -4,4 z M 35.992977,49.50755 27.281236,64.596729 a 4,4 165 0 1 -5.464102,1.464102 L 6.7279553,57.349089 A 4,4 75 0 1 5.2638537,51.884988 L 13.975595,36.795809 a 4,4 165 0 1 5.464102,-1.464102 l 15.089179,8.711742 a 4,4 75 0 1 1.464101,5.464101 z m 3.99576,-12.714242 8.711741,15.089179 a 4,4 105 0 1 -1.464102,5.464101 L 32.147198,66.05833 A 4,4 15 0 1 26.683096,64.594228 L 17.971355,49.505049 a 4,4 105 0 1 1.464101,-5.464101 l 15.089179,-8.711742 a 4,4 15 0 1 5.464102,1.464102 z" y="26.975758" x="26.97576" height="25.423483" width="25.423483" id="rect832" style="fill:#ffffff;stroke:#000000;stroke-width:1.48481599;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> </g> </svg>

Edited by Anon