Skip to content

Commit

Permalink
autopep8 action fixes (#264)
Browse files Browse the repository at this point in the history
Co-authored-by: Tarcontar <Tarcontar@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and Tarcontar authored Jan 27, 2024
1 parent 98beb90 commit 8d6d5c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion io_mesh_w3d/common/utils/material_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def retrieve_shader_material(context, material, principled, w3x=False):
header=ShaderMaterialHeader(
type_name=name),
properties=[])

color_emissive_default = Vector((0.0, 0.0, 0.0, 1.0))
if bpy.app.version >= (4, 0, 0):
color_emissive_default = Vector((1.0, 1.0, 1.0, 1.0))
Expand Down
2 changes: 1 addition & 1 deletion io_mesh_w3d/common/utils/mesh_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def create_mesh(context, mesh_struct, coll):
# vertex material stuff
b_mesh = bmesh.new()
b_mesh.from_mesh(mesh)

if mesh_struct.vert_materials:
create_vertex_material(
context, principleds, mesh_struct, mesh, b_mesh, actual_mesh_name, triangles)
Expand Down

0 comments on commit 8d6d5c8

Please sign in to comment.