Commit Graph

14 Commits

Author SHA1 Message Date
8669c66177 Cleanup: run autopep8 on io_mesh_uv_layout 2022-07-29 15:33:17 +10:00
016430de4b Cleanup: remove <pep8 compliant> comment
This is no longer necessary, see: T98554.
2022-06-03 11:50:32 +10:00
b8d86ccc0a File headers: use SPDX license identifiers
See T95597
2022-02-11 16:05:07 +11:00
86c4ca71ef Fix T76736: incorrect filename in SVG, fails to load elsewhere 2020-06-02 19:28:22 +10:00
aec5a36c12 Cleanup: tabs -> spaces 2020-03-05 12:32:28 +11:00
7017702897 Export UV Layout: Rewrite Export UV Layout addon
Differential Revision: https://developer.blender.org/D3715

Reviewer: brecht
2018-09-24 12:21:05 +02:00
25d49a3436 Multi-Objects: UV_OT_export_layout (80%)
"""
Apart from the 'export as PNG' all seems to be working ok.

'Export to PNG' also seems to work but doesn't look acceptable because the mesh
wireframe modifier is used  to draw UV wireframes (I was going to see if a curve
object would be usable to draw wireframes). Something in setting the renderer up
could also be wrong or missing.
"""

D3507 by @Al

Note from reviewer: I can't get this addon to show in the menus. But the syntax
seems correct, and it's pep8 friendly, so no harm in committing it so I can
ask other devs to see why the addon is never registering here.

Also, some changes I made include making it pep8 friendly and replace:
['foo', 'bar'] with {'foo', 'bar'}.
2018-09-06 10:19:19 -03:00
30b619e765 Revert "Fix T46365: Export UV Layout to PNG not working (missing context messages part)."
This reverts commit e1d8c70bbb.

Prefer not to have speculative fixes.

The intention here is not to use the context at all,
even if doing so fixes the crash -
it may then fail silently by mixing data from different contexts,
causing further complications which are much harder to debug.
2015-10-05 09:12:52 +11:00
e1d8c70bbb Fix T46365: Export UV Layout to PNG not working (missing context messages part).
Cannot reproduce the crash, let's see whether those missing context stuff fix it as well...
2015-10-04 11:37:12 +02:00
d98814b21c fix [#30971] viewBox attribute in exported svg wrong 2012-04-16 07:33:47 +00:00
e3f5cd8fd4 Updated io_mesh_uv_layout addon to work with bmesh.
Note: would have loved to add an option to export tesselated layout (instead of ngon one), but currently I often get mesh without tesselation, and seems there is no way to call ensure_tesselated from python...
2012-02-28 15:35:49 +00:00
77774b1f12 formatting edits only 2011-12-31 10:27:24 +00:00
bbeb2132fc pep8 cleanup 2011-03-14 23:52:13 +00:00
842a96b34c move UV layout from trunk to addons. 2011-03-09 02:13:09 +00:00