Page MenuHome

Multi object editing - UV_OT_export_layout (80%)

Authored by Alan Troth (Al) on Jun 27 2018, 1:53 AM.



Multi object editing - UV_OT_export_layout (80%).

I saw UV_OT_export_layout mentioned in an email with a subject of 'Blender 2.8 Python Meeting Notes', I'm not up to date with what that really means so I'm stopping any more work on this and adding a diff of what's been done so far.

Apart from the 'export as PNG' all seems to be working ok (as seen with my inexperienced eyes).

'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.

Diff Detail

rB Blender

Event Timeline

The issue about the exporters is not related to UV but to materials. If we are to export from Cycles or EEVEE to obj for instance, it is not straightforward to determine which texture to use anymore. Maybe all we need is an util function that exposed the active texture node for a material (which is what we see when in "texture more" or texture painting.

I committed this patch as it is: rBA25d49a3436164c3cf95c47ab77ffa3e0bc80ce67 (with small changes) since as far as multi-objects goes this handles it. The remaining issue is not multi-objects related.