Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
mauserzjeh committed Dec 9, 2024
2 parents fca498c + 946bf30 commit 79390a3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"python.analysis.extraPaths": [
"${workspaceFolder}\\python\\cod_asset_importer",
"D:\\CODING\\PERSONAL\\blender_autocomplete\\4.0",
"D:\\PROGRAMS\\STEAM\\steamapps\\common\\Blender\\4.0\\scripts\\modules"
"D:\\CODING\\PERSONAL\\blender_autocomplete\\4.2",
"D:\\PROGRAMS\\STEAM\\steamapps\\common\\Blender\\4.2\\scripts\\modules"
],
"rust-analyzer.linkedProjects": [
".\\rust\\cod_asset_importer\\Cargo.toml",
Expand Down
4 changes: 2 additions & 2 deletions python/cod_asset_importer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "Call of Duty Asset Importer",
"description": "Import Call of Duty assets",
"author": "Soma Rádóczi",
"version": (3, 3, 0),
"blender": (4, 0, 0),
"version": (3, 4, 0),
"blender": (4, 2, 0),
"location": "File > Import -> CoD Asset Importer",
"category": "Import-Export",
"warning": "This addon is still in development",
Expand Down
2 changes: 0 additions & 2 deletions python/cod_asset_importer/importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ def xmodel(self, loaded_model: LoadedModel) -> None:
mesh.update(calc_edges=True)
mesh.validate()

mesh.use_auto_smooth = True
mesh.normals_split_custom_set_from_vertices(surface.normals())

uv_layer = mesh.uv_layers.new()
Expand Down Expand Up @@ -208,7 +207,6 @@ def ibsp(self, loaded_ibsp: LoadedIbsp) -> None:
mesh.update(calc_edges=True)
mesh.validate()

mesh.use_auto_smooth = True
mesh.normals_split_custom_set_from_vertices(surface.normals())

uv_layer = mesh.uv_layers.new()
Expand Down

0 comments on commit 79390a3

Please sign in to comment.