Browse Source

Apply suggestions from code review

Co-authored-by: Adam Johnson <AdamJohnso@gmail.com>
pull/239/head
Patrick Dulebohn 4 years ago committed by GitHub
parent
commit
4d356ef2c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      korman/exporter/material.py

2
korman/exporter/material.py

@ -666,7 +666,7 @@ class MaterialConverter:
pl_env.hither = bl_env.clip_start pl_env.hither = bl_env.clip_start
pl_env.yon = bl_env.clip_end pl_env.yon = bl_env.clip_end
pl_env.refreshRate = 0.01 if bl_env.source == "ANIMATED" else 0.0 pl_env.refreshRate = 0.01 if bl_env.source == "ANIMATED" else 0.0
pl_env.incCharacters = True if texture.plasma_layer.envmap_addavatar else False pl_env.incCharacters = texture.plasma_layer.envmap_addavatar
# Perhaps the DEM/DCM fog should be separately configurable at some point? # Perhaps the DEM/DCM fog should be separately configurable at some point?
pl_fog = bpy.context.scene.world.plasma_fni pl_fog = bpy.context.scene.world.plasma_fni

Loading…
Cancel
Save