Skip to content

Commit

Permalink
fix lightmap prop
Browse files Browse the repository at this point in the history
  • Loading branch information
anasrar committed Jun 16, 2020
1 parent c335578 commit 6447b12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyScript/StaticMesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
importOptions.static_mesh_import_data.set_editor_property("remove_degenerates", jsonSetting["remove_degenerates"])
importOptions.static_mesh_import_data.set_editor_property("build_adjacency_buffer", jsonSetting["build_adjacency_buffer"])
importOptions.static_mesh_import_data.set_editor_property("build_reversed_index_buffer", jsonSetting["build_reversed_index_buffer"])
importOptions.static_mesh_import_data.set_editor_property("generate_lightmap_u_vs", (jsonSetting["generate_lightmaps_uvs"], True)[file["custom_uv"]])
importOptions.static_mesh_import_data.set_editor_property("generate_lightmap_u_vs", (jsonSetting["generate_lightmaps_uvs"], False)[file["custom_uv"]])
importOptions.static_mesh_import_data.set_editor_property("one_convex_hull_per_ucx", jsonSetting["one_convex_hull_perucx"])
importOptions.static_mesh_import_data.set_editor_property("combine_meshes", jsonSetting["combine_meshes"])
importOptions.static_mesh_import_data.set_editor_property("transform_vertex_to_absolute", jsonSetting["transform_vertex_to_absolute"])
Expand Down

0 comments on commit 6447b12

Please sign in to comment.