mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-16 13:08:59 +00:00
The panel's Export 3D Object button chose the objects to export in panel code and passed their ids to assets.add3D, which on the same selection refused every object when one had no 3D effect. Passing ids also skipped the refusal while a part of a dynamic symbol instance's art is selected, and a group whose 3D effect is on its fill or stroke enabled the button and then failed. assets.add3D without ids now leaves out the selected objects without a 3D effect it exports, a group or layer whose 3D effect is on a fill or stroke, and an object inside another selected 3D object; a path of a compound path counts as the compound path. Objects given in ids are still refused. exports_three_d in vectorcraft-effects tells whether an object has such an effect without building its meshes. The button runs the command on the selection and is available only while a selected object passes that check.