Skip to content

Commit

Permalink
Export static parts as static
Browse files Browse the repository at this point in the history
  • Loading branch information
vbousquet committed Aug 20, 2023
1 parent 4c0a0a8 commit 03c5033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/vpx_lightmapper/vlm_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def append_structure(src_path, mode, hashed):
writer.write_tagged_bool(b'CLDR', obj == pfobj)
writer.write_tagged_bool(b'ISTO', obj != pfobj)
writer.write_tagged_bool(b'U3DM', True)
writer.write_tagged_bool(b'STRE', False)
writer.write_tagged_bool(b'STRE', is_static)
writer.write_tagged_u32(b'DILI', 255) # 255 is 1.0 for disable lighting
writer.write_tagged_float(b'DILB', 1.0) # also disable lighting from below
writer.write_tagged_bool(b'REEN', False)
Expand Down

0 comments on commit 03c5033

Please sign in to comment.