Skip to content

Commit

Permalink
Update vlm_export_obj.py
Browse files Browse the repository at this point in the history
fix incorrect params passed to nest when exporting select lightmaps
  • Loading branch information
mpcarr authored Dec 13, 2023
1 parent c6fe597 commit 06ac277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/vpx_lightmapper/vlm_export_obj.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def export_obj(op, context):
op.report({'ERROR'}, 'Texture size must be greater than render height')
return {'CANCELLED'}

n_nestmap, splitted_objects = vlm_nest.nest(context, to_nest, 'UVMap', 'UVMap Nested', render_size, max_tex_size, max_tex_size, export_name, 0)
n_nestmap, splitted_objects = vlm_nest.nest(context, to_nest, 'UVMap', 'UVMap Nested', max_tex_size, max_tex_size, export_name, 0)
to_nest.extend(splitted_objects)

# Export Wavefront objects
Expand Down

0 comments on commit 06ac277

Please sign in to comment.