Skip to content

Commit

Permalink
plugin - revert modelflag behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
HENDRIX-ZT2 committed Nov 13, 2023
1 parent a99e5da commit 1ff0ffb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions plugin/utils/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@ def create_lods():
# remove additional shell material from LODs after LOD1
if is_shell(ob) and lod_index > 1:
# toggle the flag on the bitfield to maintain the other bits, but fins seems to be always 565
# b_me["flag"] = 565
flag = ModelFlag.from_value(b_me["flag"])
flag.repeat_tris = True
flag.fur_shells = False
b_me["flag"] = int(flag)
b_me["flag"] = 565
# flag = ModelFlag.from_value(b_me["flag"])
# flag.repeat_tris = True
# flag.fur_shells = False
# b_me["flag"] = int(flag)
# remove shell material
b_me.materials.pop(index=1)
if decimated:
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
751e2abd7 - Mon Nov 13 19:09:12 2023 +0100
a99e5dacd - Mon Nov 13 19:57:51 2023 +0100

0 comments on commit 1ff0ffb

Please sign in to comment.