Page MenuHome

Fix T87479: GPencil SVG export outside of camera
ClosedPublic

Authored by Falk David (filedescriptor) on Apr 14 2021, 10:03 AM.

Details

Summary

When trying to export a GPencil object to SVG from outside the camera
view, the expoted file would contain invalid data. This was because the
calculation of the bounding box did not have any objects to
iterate over.

The fix makes sure we create the object list before trying to calculate
the bounding box.

Diff Detail

Repository
rB Blender

Event Timeline

Falk David (filedescriptor) requested review of this revision.Apr 14 2021, 10:03 AM
Falk David (filedescriptor) created this revision.

LGTM..this bug was introduced in the last refactor.

This revision is now accepted and ready to land.Apr 14 2021, 10:06 AM